Z.ai’s GLM-5.4 Loops Its Layers to Think Deeper

Human Verified

Share to: , and

Abstract glowing loops folding back on themselves in a figure-eight pattern against a deep blue and violet background.

Zhipu’s Z.ai has launched GLM-5.4, its first flagship model built on a Loop Transformer, which runs a block of layers twice in sequence to reason more deeply without adding parameters, and made it available to Coding Plan subscribers on Monday.

The loop

The loop is the headline. Instead of training a new model from scratch, Z.ai took its 750-billion-parameter GLM-5 base and, through continued training, made 28 of its layers run twice, so the network gains depth while its parameter count stays the same.

Three engineering changes keep the extra pass affordable. Per-token gates control how much each pass writes back, the second pass reuses the first pass’s key-value cache with only a small sliding window of its own, and it reuses the first pass’s sparse-attention choices.

Z.ai says the design matches the intelligence of models with two to three trillion parameters, and that the biggest gains show up in maths, scientific reasoning and long-context tasks. The company tested the loop at one, four, 30 and 750 billion parameters before committing its flagship to it.

Vision and speed

The model also gains eyes. Unlike the text-only GLM-5.3 flagship, GLM-5.4 accepts images alongside code, and subscribers can pick a million-token variant that holds a whole repository in one session, with more generous usage quotas than before for Coding Plan users.

Z.ai is pitching the model as the start of Generalized Coding, where code becomes the foundation for wider tasks. Its demos show the model writing code to produce a music video, build a six-axis robotic arm in CAD, create a game, and design an interactive 3D scene.

Speed is part of the pitch too. Z.ai says GLM-5.4 reaches up to 200 tokens per second off peak and holds 70 to 80 tokens per second at peak load, achieved by fusing kernels and cutting the memory overhead that looping would otherwise add.

Access and gaps

Access runs through the subscription for now. The model is live in the GLM Coding Plan, in Z.ai’s own ZCode app and in Z.ai Chat; the standard API is listed as coming soon, with no date given, and the weights follow safety hardening.

What is missing matters as much as what shipped. Z.ai has published no headline benchmark scores for the flagship itself, no parameter count beyond the 750-billion base, no API pricing, and no date for the open weights, which will follow safety hardening.

Why It Matters

The loop is the idea other labs will watch. If depth can substitute for size, smaller models can punch above their weight, and the trade-off between parameters and compute shifts; Z.ai’s own tests suggest part of the reasoning moves from written-out thinking into the extra layer pass.

The gaps are the test. A flagship with no published benchmarks asks developers to trust the vendor’s word, and the subscription-only rollout means independent testing must wait for the API and weights; until then, the two-to-three-trillion comparison is Z.ai’s claim, not a measured result.

Background

GLM-5.4 follows GLM-5.3, which drew attention for passing cyberattack tests and raising open-weight fears, and it arrives as Chinese labs race to close the gap with Western flagships on coding, where a model’s usefulness is judged by what it ships, not its size.

Source: Z.ai technical blog

Share to: , and

Faheem R. Khattak

Senior automation engineer and AI marketing journo covering LLMs, algorithms, analytics, core updates, Bing search, and technical SEO.

0 Comments

Leave a Reply

Optional Take Tag:

🛡️ Spam protection: Honeypot + Time-Trap Active

This site uses Akismet to reduce spam. Learn how your comment data is processed.