Loop Transformers have been a research curiosity for two years: run the same block of layers more than once so the network can spend more compute on a token without growing its parameter count. GLM-5.4 is the first Chinese flagship to ship the idea in production, and Zhipu's blog post is unusually specific about how it made the second pass affordable.
The shape of it
Zhipu takes 28 layers out of the GLM-5 base and runs them twice. The first pass builds a global representation; the second revisits it with that representation already in place, which is where the gain is supposed to come from — longer causal chains, better localisation of bugs that span files. Parameters stay fixed, because the loop reuses the same weights. What grows is the number of effective layers the signal passes through.
Three mechanisms that make the second pass pay
A naive loop doubles memory traffic and attention indexing cost, which is why the idea usually stays in papers. Zhipu describes three fixes.
Gated updates: the model decides per token how much of the second pass to write back, so repeated passes do not destabilise activations. Hybrid KV cache: the second pass reuses the first pass's sparse KV while keeping its own local sliding window, instead of rebuilding a full cache. Index reuse: the second pass inherits the sparse attention indices computed in the first, skipping the re-indexing work.
None of these are exotic on their own. Together they are the reason the loop is a product feature rather than an ablation.
What the ablation actually shows
Zhipu ran the experiment at 30B scale: a looped model against a control with identical parameter count, adding about 10% total training compute. The looped version improved on mathematics, scientific reasoning and long-context tasks, and its average output length on items such as GPQA-Diamond and MMLU-Pro fell by roughly 10% to 14% — shorter reasoning, not longer.
That last number is the interesting one. The usual complaint about reasoning models is that they think too much; a change that improves accuracy while shortening traces suggests the extra depth is replacing some of the verbalised scratchpad. It also has a commercial consequence, since output tokens are the expensive kind.
Be careful with the scope, though. That is a 30B ablation, not GLM-5.4. It does not license the claim that 5.4 is 10% faster than 5.3, and it says nothing about credit savings on a subscription.
The 750B claim
Zhipu discusses the design at roughly 750B parameters and says the model's intelligence is comparable to models in the 2T to 3T range. That is a positioning statement, not a reproducible result: the post does not include same-protocol comparisons that would let you check it. Treat it as a hypothesis about where looped architectures land on the compute-versus-parameters curve, which is exactly the question the 30B ablation was designed to probe.
Why it matters for coding agents
Agentic coding is the workload this architecture is aimed at, and the reason is structural. A coding agent's hard failures are rarely single-token mistakes; they are failures of state tracking across a long trajectory — which file was already edited, which test already passed, what the build error three steps ago implied. More depth per token is a direct attack on that, where a bigger parameter count mostly buys knowledge.
The published evidence is still thin on this point. Zhipu's GLM-5.3 numbers — Terminal Bench 3.0 at 28.3, DeepSWE v1.1 at 66.9, CyberGym at 84.5%, ExploitBench at 54.4% — have no GLM-5.4 counterpart in the post. Vision is the other half of the bet: an agent that can look at the page it just rendered can close a feedback loop that previously required a human to describe what went wrong.
What to watch
Three things will settle whether the loop is a real architectural step or a stopgap. Same-protocol benchmark numbers for 5.4 against 5.3 on repository-scale tasks. Whether the 1M context mentioned in the blog appears as a documented API limit rather than a cache-cost discussion. And GLM-5.5, reported for December at around 3 trillion parameters — if looping at 750B gets you 2T-class behaviour, the interesting question is what looping at 3T gets you.