GLM-5.4 reuses 28 layers without adding model parameters
Z.ai says the 750B GLM-5.4 runs 28 layers twice and claims parity with 2T–3T models. The company reports 10–14% shorter outputs and 70–200 tokens per second depending on system load.

Why it matters
- Z.ai introduced the 750B-parameter GLM-5.4 on November 23, 2026.
- GLM-5.4 runs 28 layers twice with shared weights without increasing its parameter count.
- Z.ai reports intelligence comparable to 2T–3T-parameter models and 10–14% shorter average outputs.
- Reported throughput reaches up to 200 tokens per second off-peak and 70–80 at peak load.
- The API is coming soon, and Z.ai plans to open-source weights after safety hardening.
Z.ai says its 750-billion-parameter GLM-5.4 reaches intelligence comparable to models with 2 trillion to 3 trillion parameters.
Z.ai introduced the model on November 23, 2026. GLM-5.4 reuses 28 layers twice with shared weights, so its parameter count does not rise.
The engineering bet is straightforward: gain more computation for reasoning without making the underlying model larger. For Z.ai, that could reduce the cost of running demanding, long-horizon tasks.
Z.ai targets large-scale software engineering, cybersecurity, 3D modeling and physical control. The company says those jobs require multi-step causal reasoning while preserving logical consistency across a long task.
Z.ai has built the release around a compute-versus-capacity trade-off. Its claimed comparison with 2T–3T-parameter models comes from using the same weights twice, not from adding a parameter inventory of that size.
What changes inside GLM-5.4?
According to Z.ai, a conventional Transformer runs each layer once during a forward pass. GLM-5.4 takes 28 layers from the GLM-5 base model and runs them for two iterations with shared weights.
The second pass updates the model’s internal representations from the preceding pass, adding computational depth without adding parameters, Z.ai said.
GLM-5.4 is the company’s first flagship based on the Loop Transformer, a design aimed at reasoning-intensive work, according to Z.ai.
Because the weights are shared, the second iteration does not require a separate parameter set. The setup creates two uses of the same trained weights, according to Z.ai.
Why did Z.ai adapt an existing base?
Z.ai did not train the looped model from scratch. The company converted a pre-trained base through continued training.
Z.ai said looped models trained from scratch trail unshared models when both receive the same pre-training compute budget.
By continuing from an existing base, Z.ai says it can add depth while preserving capabilities the base already learned. The company presents this as a way to raise the capability ceiling with relatively little extra compute.
That makes continued training both a capability test and a compute test. Z.ai is betting that the existing base gives the second pass something useful to refine.
How does the second pass control cost?
Z.ai lists three modifications aimed at stability and deployment cost.
- Per-token gates: Independent gates control how much of each candidate update enters the internal state on every iteration. Z.ai says this avoids direct overwrites that can destabilize activation scales. The first pass writes conservatively to establish global context; the second opens the gates for fuller refinement. The gates also vary step size with token difficulty.
- Hybrid KV cache: The cache stores attention information during generation, letting the second loop reuse sparse KV entries selected in the first. New entries stay in a separate local sliding window, so an extra loop needs one such window rather than another full-context cache. At 1 million tokens, Z.ai says this limits the deployment-cost increase over GLM-5.3.
- Sparse-index reuse: The second loop reuses the first loop’s sparse-attention indices, which determine which context positions receive attention. That eliminates additional indexing work. Z.ai reports nearly identical results to recomputing those indices on every pass.
Together, these mechanisms attack separate costs. Gates regulate state updates, the hybrid cache limits retained context storage, and index reuse removes repeated search work, according to Z.ai.
What did the controlled tests show?
Z.ai says it validated looping progressively on 1B, 4B and 30B base models before committing to the flagship.
In a controlled 30B comparison, the looped and unlooped versions had the same parameter count, while the looped version received approximately 10% more total training compute.
After 200K long-context supervised fine-tuning with thinking mode enabled, Z.ai reported its largest gains in mathematics, scientific reasoning and long-context tasks.
Across most benchmarks in that comparison, average outputs were 10–14% shorter, according to Z.ai.
The company attributes the reduction mainly to shorter chains of thought, with some reasoning moving from explicit output tokens into the loop’s internal depth.
That comparison holds parameter count fixed while changing the loop and training compute, giving Z.ai’s claim a controlled setting. The result supports the company’s argument that another pass can add useful reasoning without requiring a proportional increase in parameters.
How fast does GLM-5.4 run?
Z.ai reports throughput of up to 200 tokens per second during off-peak hours and 70–80 tokens per second at peak load.
The company says cache and index reuse contribute to that speed.
Fused core kernels reduce intermediate memory reads and writes that would otherwise add overhead across loops, Z.ai said.
At 1 million tokens, the hybrid cache lets the second pass reuse sparse entries instead of requiring another full-context cache, according to Z.ai.
Against Z.ai’s own figures, the peak rate is less than half the off-peak ceiling. Load behavior therefore remains an important variable in the company’s efficiency claims.
What can “Generalized Coding” build?
Z.ai also introduced “Generalized Coding,” its term for using code to solve problems beyond conventional software development.
The company says GLM-5.4 can generate and edit video, build complete games, and perform 3D modeling and mechanical design by writing code.
Z.ai’s demonstrations include:
- A self-narrated music video titled “Hello World.”
- A six-axis robotic arm modeled in the FreeCAD design tool.
- An interactive 3D bird-watching experience built from mathematical geometry and custom graphics shaders.
- A game covering character movement, physics, maps, combat systems and art assets.
The demonstrations give the term a concrete range. They cover generated media, a complete game, an engineering model and a rendered interactive scene, according to Z.ai.
Who can use GLM-5.4 now?
GLM-5.4 is available through Z.ai Chat, the GLM Coding Plan and ZCode, according to Z.ai.
The API is listed as coming soon, while the company plans to open-source the weights after completing safety hardening.
Z.ai therefore starts with hosted access through its own products. A live API and downloadable weights are not part of the current lineup, according to the company.
Developers can use the model through Z.ai’s chat and coding tools now, but direct API integration and downloadable weights still depend on later releases. The safety condition puts Z.ai’s hardening work directly between the launch and broader distribution.
Can Z.ai scale the loop safely?
Z.ai identifies excessively long reasoning loops as GLM-5.4’s principal limitation.
The company says reflection and self-correction consistently improve accuracy beyond what the parameter count would suggest.
Those gains come with a caveat: shorter answers do not necessarily mean every run avoids prolonged internal processing, according to Z.ai.
Z.ai is exploring adaptive compute that would assign more iterations to harder tokens. Adaptive compute would make the loop count depend on the token, rather than applying the same depth everywhere, according to the company.
It is also studying how returns change as loop counts and model sizes grow, the company said.
Z.ai is preparing a significantly larger model to carry these lessons forward and be “ready soon,” according to the company.
The next test is whether Z.ai can retain its reported reasoning and efficiency gains while controlling excessive loops at greater scale. Z.ai has built its case around computation alongside model size. Its next task is to show that the loop does not become the bottleneck.
Source: unite.ai
More from Elena Vasquez
Show full bio
Market editor covering technology and product news in artificial intelligence and machine learning at AI In Context.
870 articles
Related articles
- Reflection launches Beam, a 501B-parameter open-weight model it says beats Chinese rivals on cost
- SambaNova Hosts Z.ai's GLM-5.3 at Over 200 Tokens Per Second
- Anthropic: Zhipu's open-weight GLM-5.3 nears Claude at exploit building
- Z.ai's GLM-Legal Hits 19.17% on Harvey LAB at $0.15 a Test
- GPT-6.1 Terra halves API prices and closes the gap on OpenAI's biggest models