Z.ai releases GLM-5.4 with 750 billion parameters and a Loop Transformer
Z.ai introduced GLM-5.4 on November 23, 2026, a 750-billion-parameter model that runs 28 shared layers twice to gain reasoning depth without adding parameters.
Photo: note.comKey points
Z.ai released GLM-5.4, a 750-billion-parameter model that reuses 28 layers twice to deepen reasoning without enlarging its parameter count.
Z.ai introduced GLM-5.4 on November 23, 2026, a model with approximately 750 billion parameters that reuses 28 neural network layers twice instead of adding new ones. The Beijing-based company says the design gives reasoning ability comparable to models with 2 trillion to 3 trillion parameters, which typically reach that size by stacking far more weights.
The release targets a trade-off that has split large-model development. Pre-training scaling bloats parameter counts to the trillions, raising GPU memory use and inference costs for anyone who wants to self-host. Test-time scaling instead stretches chains of thought at inference, which worsens latency and pushes API bills up. Z.ai positions layer reuse as a third route.
How the two passes work
A conventional Transformer sends information through each layer once per forward pass. GLM-5.4 takes the 28 layers of the existing GLM-5 base model and runs them for two iterations with shared weights. The first pass builds an intermediate representation of the input; the second refines it using the same parameters, so computational depth roughly doubles while the stored weight count stays fixed.
Z.ai converted a pre-trained base through continued training rather than training a looped model from scratch. The company says looped models trained from scratch trail models with unshared layers at the same pre-training compute budget, so adapting an existing base raises the capability ceiling for relatively little extra compute. Two failure modes have kept looped architectures out of large models. Repeating layers doubles the KV cache, the memory that holds attention information during generation, and reapplying the same weights makes activation norms diverge, destabilising training and inference. GLM-5.4 addresses both with architectural changes rather than brute force.
Training from an existing base
A hybrid KV cache lets the second pass reuse the sparse KV entries and attention indices selected in the first, keeping only the most recent sliding window as new memory. Independent per-token gates control how much of each candidate update enters the model's internal state, preventing direct overwrites that destabilise activation scales. Z.ai reports the first pass writes conservatively to establish global context while the second opens the gates for fuller refinement.
Z.ai validated looping progressively on smaller base models before committing its flagship. The 30-billion-parameter test produced measurable gains. Accuracy on the AIME 2025 mathematics benchmark rose from 19.17% before looping to 30.42% after, and accuracy on GPQA Diamond, a set of complex scientific questions, rose from 47.58% to 56.26%. Average output length fell by 10–14% across most benchmarks, mainly through shorter chains of thought as some reasoning moved into the loop's internal depth.
What the tests showed
GLM-5.4 supports a context window of 1 million tokens and can generate responses up to 128,000 tokens long, accepting text, images, video and files. 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 model is available through Z.ai Chat, the ZCode development environment and the GLM Coding Plan.
Subscription pricing starts at $18 a month for Lite, $80 for Pro and $168 for Max, with subscribers receiving roughly 50% more usage within a weekly quota than GLM-5.3 allowed. The API is listed as coming soon. Z.ai's own published listing sets these subscription tiers; the company has not published per-token API rates for GLM-5.4 alongside them.
Price against US rivals
Z.ai has not published a comprehensive benchmark comparison of GLM-5.4 against Claude or GPT, and independent comparisons with current OpenAI and Anthropic models do not yet exist. The company acknowledges that the model sometimes gets trapped in excessively long reasoning loops, which qualifies the efficiency gains: shorter answers do not mean every run avoids prolonged internal processing.
Z.ai says it is exploring adaptive compute that would assign more iterations to harder tokens and is preparing a significantly larger model carrying these lessons. The company plans to release the weights for GLM-5.4 after additional security checks, and API access is scheduled to begin after security evaluations are completed.
Frequently asked questions
What is the Loop Transformer in GLM-5.4?
It is an architecture that passes data through the same 28 neural network layers twice with shared weights. The first pass builds a global representation of the input and the second refines its logic, adding computational depth without adding parameters.
How much does GLM-5.4 cost?
Z.ai's GLM Coding Plan starts at $18 a month for Lite, $80 for Pro and $168 for Max. Subscribers get roughly 50% more usage within a weekly quota than GLM-5.3 allowed. API access is listed as coming soon.
What are the limitations of GLM-5.4?
Z.ai acknowledges the model sometimes gets trapped in excessively long reasoning loops, which extends query processing time. The company has also not published a comprehensive benchmark comparison against Claude or GPT, and independent comparisons with those models do not yet exist.


