Z.ai's GLM-5.4 Reruns 28 Layers Twice Instead of Adding More Layers
Released 23 November 2026, GLM-5.4 is Z.ai's first "Loop Transformer," testing whether reusing layers can substitute for scaling parameters.
On 23 November 2026, the Chinese AI company Z.ai released GLM-5.4, a model at the 750-billion-parameter scale it describes as its first "Loop Transformer": instead of stacking new layers to add reasoning depth, GLM-5.4 reruns a block of 28 layers a second time on every token, using the same weights both times, according to Z.ai's developer documentation for the model.
GLM-5.4 was not trained from scratch. Z.ai adapted the pretrained GLM-5 base model into the looped structure through continued training, according to Z.ai's documentation and VentureBeat's (2026) reporting on it. The model is currently available only to subscribers of Z.ai's GLM Coding Plan, through its ZCode and Z.ai Chat products. Z.ai's documentation states that the model API "will be made available upon completion of the security assessment," and VentureBeat (2026) quotes the company saying it plans to open-source the weights "responsibly after completing necessary safety hardening," with no date given for either.
A Transformer That Loops Instead of Stacking
The idea behind a Loop Transformer is to let a fixed set of layers process a token more than once, refining its internal representation on each pass rather than handing it off to a new, separately weighted layer. Z.ai's documentation for GLM-5.4 describes the model as reaching intelligence "comparable to" models in the 2-trillion-to-3-trillion-parameter range, a comparison made by the company itself rather than by an independent benchmark.

Structurally, GLM-5.4 loops a block of 28 layers from the GLM-5 base model through two iterations per token — 56 layer passes instead of 28 — rather than adding new, separately weighted layers, according to Z.ai's documentation and VentureBeat's (2026) reporting on it. The result is a model that does more computation per token without carrying more parameters in memory than its 750-billion-parameter base.
What the Loop Actually Does
Running the same layers twice naively would double the memory needed to cache attention keys and values. VentureBeat (2026) reports that Z.ai addressed this with three changes: per-token gates that control how much each loop iteration is allowed to rewrite the token's representation, a hybrid key-value cache that reuses the first pass's cache and adds only a sliding window for the second pass, and reuse of the first loop's sparse attention indices rather than recomputing them. Z.ai's documentation states that an additional loop pass costs roughly a sliding window of cache rather than a full second context cache.
The Evidence So Far — and Its Limits
The clearest quantitative evidence Z.ai has published is not from GLM-5.4 itself but from a smaller, controlled test: a 30-billion-parameter model built with the same looped structure, compared against a non-looped baseline of identical size. VentureBeat (2026), citing that test, reports gains on math, scientific reasoning and long-context tasks, with the looped version producing roughly 15% shorter outputs on MMLU-Pro and roughly 12% shorter outputs on GPQA-Diamond, at a training-compute cost about 10% higher than the non-looped baseline of the same size.
For the full 750-billion-parameter GLM-5.4, independent testing is thinner. VentureBeat (2026) reports that an outside reviewer's coding benchmark, AICodeKing's KingBench 4, placed GLM-5.4 seventh, with the run taking 431 minutes and 1,128 steps at maximum reasoning effort, against 109 minutes and 244 steps for Google's Gemini 4 Neon on the same suite. GLM-5.4 does not currently appear on Artificial Analysis's page tracking the GLM-5 model family, which as of this writing lists GLM-5, GLM-5.1, GLM-5.3 and GLM-5.3-Flash but not the new release.

What's Open, What Isn't
Unlike some other recent releases from Chinese AI labs, GLM-5.4 is not yet open-weight. Z.ai has said, as quoted by VentureBeat (2026), that weights will come "after completing necessary safety hardening," without a date, and its own documentation lists the general-purpose API as pending completion of a security assessment. Access for now runs through the paid GLM Coding Plan and Z.ai's own coding tools, which support a one-million-token context setting and a maximum output of 128,000 tokens, per Z.ai's documentation.
Why It Matters for Students and Developers
For researchers studying model architecture and scaling, GLM-5.4 is a public test of whether reusing a block of layers can substitute for adding new ones — a question with direct implications for inference memory and training cost, since a looped model can, in principle, deepen computation without growing its stored parameter count. For developers evaluating coding tools, the practical trade-off so far is speed: on the one independent coding benchmark cited above, GLM-5.4's thoroughness came with roughly four times the run time of a comparably ranked competitor. Readers judging the architecture on its merits should keep the two kinds of evidence separate: the detailed accuracy gains come from a 30-billion-parameter ablation study, not from GLM-5.4 itself, for which independent, apples-to-apples benchmark scores are not yet publicly available.
A quick question for readers
How long can you study before checking your phone?
No judgement — just honest numbers. You might be surprised how you compare.
Pick an answer, create a free account in a minute, and your vote counts. Already a member? Sign in
Comments 3
Comment-
The part worth flagging is right there in the "Why It Matters" section: the clean accuracy numbers (15% shorter outputs on MMLU-Pro, 12% on…
-
The thing I'd want someone to nail down before buying the "comparable to 2-3 trillion parameters" line is that it's Z.ai's own comparison, n…
-
The tell is right there in the headline numbers: the layer-loop ablation that actually has data behind it is a 30B model, and the headline g…
Join free to read the full comments and reply Comments are between members; an account takes a minute.
Source: Z.ai
Sources (3)
- Z.ai. GLM-5.4 — Overview. Z.ai Developer Documentation, 2026. docs.z.ai ↗ · checked 30 Nov 2026
- Sean Michael Kerner. Z.ai's GLM-5.4 aims to match models up to four times its size by running 28 layers twice. VentureBeat, 2026. venturebeat.com ↗ · checked 30 Nov 2026
- Artificial Analysis. GLM-5 Models — Intelligence, Performance & Price Comparison. Artificial Analysis, 2026. artificialanalysis.ai ↗ · checked 30 Nov 2026