GLM-5.4 Runs 28 Layers Twice: Is Compute Depth the New Trending AI Bet?
Z.ai's GLM-5.4 keeps 750 billion parameters but runs 28 layers of its base model twice, claiming 2T-3T-class intelligence at a fraction of the size. The engineering is specific; the 750B benchmarks are absent. Here is what the release proves, and what buyers should measure first.
Z.ai shipped GLM-5.4 on November 23, and the number it wants you to examine is not the parameter count. The model is large: 750 billion parameters, built on the GLM-5 base. But the claim is architectural. Instead of adding layers, GLM-5.4 runs a block of its existing layers twice, and Z.ai says that extra pass buys intelligence comparable to models with two to three trillion parameters.
That is testable, and it arrives with a caveat the company states plainly: no benchmark scores for the 750B model have been published. Every figure in the launch post comes from a 30-billion-parameter stand-in built on the same architecture. The honest reading is not that a new frontier model landed. It is that a frontier lab shipped a new way to spend compute and asked the market to trust the mechanism before the receipts arrive.
What Z.ai actually shipped
A 750B-parameter model with a one-million-token context window. Its loop transformer executes 28 layers of the GLM-5 base for two iterations, which independent reporting places at layers 27 through 54. Throughput is quoted in two regimes: up to 200 tokens per second off-peak, and 70 to 80 tokens per second under load.
It is live in the GLM Coding Plan, the ZCode coding environment and Z.ai Chat. An API is listed as coming soon with no published token price, and the weights are promised after safety hardening with no date. It is available where people write code, not where they run evaluations.
Why looping is a different bet from scaling
A standard transformer runs each layer once per forward pass. A loop transformer runs a weight-shared group of layers repeatedly, feeding refined hidden states forward, so the network becomes functionally deeper without becoming numerically larger. What held it back is specific. Looped models trained from scratch have tended to lag conventional models at equal pre-training compute, because weight sharing buys parameter efficiency at the cost of layer specialisation. Z.ai sidesteps that penalty by converting an already pre-trained base, GLM-5, through continued training instead of starting over. The expensive pre-training run is already paid for, so the marginal compute to raise the ceiling is small.
If this works, it reframes the industry argument. For three years the frontier has been a parameter race with a capex bill attached. Loop architectures propose another currency: repeated computation over weights you already own. Depth as a substitute for size. The catch is that depth is not free. Every extra pass is another forward computation, and the engineering problem becomes making that pass cheap enough to justify itself.
Three fixes that make the second pass affordable
First, gated progressive updates. Overwriting hidden states between passes makes activation norms blow up, and downstream layers receive values outside their trained range. GLM-5.4 adds per-token gates for each iteration that control how much of the candidate update enters the residual stream. After training the gates divide labour: the first pass builds global context and writes conservatively, the second reuses that state and opens up. Hard tokens get a more aggressive first pass.
Second, a hybrid KV cache. A naive loop keeps a full cache per iteration, multiplying memory by loop count, which is fatal at a million tokens. GLM-5.4 shares the sparse KV selected in the first pass and gives the second only its own sliding window, so an extra loop costs one window rather than a full context cache.
Third, sparse attention index reuse. The second pass reuses the first pass's selected indices, adding no indexing overhead; Z.ai says the result is nearly identical to recomputing them. Small claims, but they decide whether an architecture is deployable or merely publishable.
The only scores come from a 30B stand-in
Z.ai validated the approach at 1B, 4B, 30B and 750B, then published one iso-parameter ablation on the 30B model: identical parameter counts, looped version given roughly 10 percent more total training compute.
The gains: AIME25 math 19.2 to 30.4, GPQA-Diamond science 47.6 to 56.3, AA-LCR long context 40.3 to 47.7, and roughly three points each on MMLU-Pro and IFBench. Output also shrank, by 14.9 percent on MMLU-Pro, 11.7 percent on GPQA-Diamond and 2 percent on AIME25, which Z.ai reads as reasoning moving out of visible tokens into implicit depth.
That is an attractive story if it scales: better scores at equal size, fewer billed output tokens. But these are vendor-run 30B results, after 200K long-context fine-tuning, on a chosen benchmark set. As of publication there is no independent evaluation of the 750B model.
Three absences define the release more than the numbers. No 750B scores. No price, which is the variable that decides whether a cheaper-per-token model is cheaper per finished job. No weights, following the GLM-5.3 pattern where the delay was attributed to vulnerability-finding ability.
One framing fact matters. The Decoder reports that OpenAI has used a comparable loop architecture since GPT-6 Astra, so this is a fast follower's implementation rather than a scaling axis invented in China. Context: Kimi K3.1 Pro sits at 2.8 trillion parameters and Qwen3.8-Max at 2.4 trillion, more than three times GLM-5.4's size. If the parity claim holds even loosely, the question stops being which model is smartest and becomes which is smartest per dollar of inference. The demos, meanwhile, are demos: a self-scored music video, a six-axis arm modelled in FreeCAD, a game, a 3D scene, with no failure rates. Z.ai also concedes the model gets stuck in long "marathon thinking" loops, which in agent pipelines means latency and tokens.
What to measure before you commit
Four things, none of them a leaderboard. Wait for the API price and compute cost per completed task rather than per million tokens. Test the shortened-reasoning behaviour on tasks where a wrong answer is expensive, since trimming output can also trim the verification step that caught errors. Verify the million-token claim under real load. And keep a fallback pinned while weights and pricing are unannounced.
The practical move at shortlisting stage is to compare candidates by the job you need done, then run your own cost test on the two or three that survive. AI Bookmarks is built for that first pass: it groups tools and models by what they are for, so a team can narrow the field by workload before spending a week building an eval harness. A directory cannot tell you which model wins. Shortening the list of models worth measuring is the honest thing it can do.
The bottom line
The engineering is real and specific: gates that keep a second pass numerically stable, a cache scheme that makes it affordable at a million tokens, index reuse that makes it nearly free. The claims layered on top, 750B matching 2T to 3T models and 30B ablations converting cleanly to scale, are plausible and unproven, which is why the benchmark table is absent and the ablation is present.
The trend that outlives the release is the shift in what labs optimise. For three years the answer was more parameters; GLM-5.4, following OpenAI, proposes more passes over fewer weights. If that holds, the frontier stops being a spending contest measured in chips and becomes an efficiency contest measured in tokens per second per dollar per finished task. Buyers who already measure that will adapt quickly. Buyers who shop by rank will be surprised by a bill instead of a benchmark.
Watch two data points: the first independent evaluation of the 750B model, and the API price list. Until both exist, GLM-5.4 is a well-argued hypothesis with excellent documentation.
Written by the AI Bookmarks Research Desk, drawing on Z.ai's GLM-5.4 technical report and independent analysis by The Decoder. Source: Z.ai, GLM-5.4: Toward Generalized Coding with Our First Loop Transformer, November 23, 2026.
Primary source: https://z.ai/blog/glm-5.4
Published 2026-11-24 . More news →