On the morning of November 23, a group of developers opened their coding tools and found a new name in the model picker: glm-5.4. There was no keynote, no countdown clock, no staged demo hall. Z.ai simply pushed the model to every GLM Coding Plan subscriber and posted a technical report.
The quiet delivery hid an unusual bet. GLM-5.4 is not bigger than its predecessor in the way most flagships grow. It is built on the same roughly 750-billion-parameter GLM-5 base, and its main trick is repetition. The model sends every token through the same block of 28 layers, then sends it through those layers a second time.
Read that again. Twenty-eight layers, two passes, one set of weights. Z.ai calls the design a Loop Transformer, and it is the first time the company has shipped the idea at flagship scale.
One Block of Layers, Two Passes
A standard Transformer runs each layer once per forward pass. Depth and parameter count are welded together: more reasoning depth means more distinct weight matrices sitting in GPU memory. A looped model breaks that weld. The same 28 layers, carved out of a 78-layer stack, do double duty, so the network gets extra computational depth without another shelf of weights.
The idea is old. The Universal Transformer proposed weight-shared depth back in 2018. It struggled because a looped model trained from scratch on the same compute budget learned less than an unshared one. Z.ai sidestepped that history by starting with a base that had already absorbed the world, then teaching a slice of it to run twice.
Three mechanisms keep the second pass from becoming a memory disaster:
- Gated progressive updates, where per-token gates decide how much the first pass may rewrite the hidden state and how much the second pass may commit.
- A hybrid KV cache, where the second loop reuses the sparse cache from the first and adds only a compact sliding window of its own.
- Sparse attention index reuse, where the second pass inherits the attention indices computed in the first instead of searching across a million tokens again.
The result is a model with a 1M-token context window, 128K maximum output, and text, image, video, and file inputs. Z.ai reports 70 to 80 tokens per second at peak and up to 200 off-peak.
What Was Measured, and What Was Shown
Here the story sharpens. The cleanest evidence for looping comes from a 30-billion-parameter twin, not from the 750B flagship. Z.ai kept the parameter count fixed, added about 10 percent more training compute, and let the looped twin run with thinking enabled.
The gains were real. AIME25 climbed from 19.17 to 30.42. GPQA-Diamond rose from 47.58 to 56.26. AA-LCR, a long-context test, went from 40.33 to 47.67. Average outputs also shrank by 10 to 14 percent on selected benchmarks, which matters for anyone paying per token.
Zhipu's internal coding comparison puts GLM-5.4 ahead of GLM-5.3 in 51.1 percent of 200 real-world scenarios, with 25.7 percent ties and 23.1 percent losses. Against Kimi K3.1 Pro the win rate is 41.8 percent. The report does not publish per-match counts, grading rules, or the agent harness used.
Access is split too. Coding Plan subscribers get the model now, with roughly one-third fewer credits consumed per token and a 50 percent larger effective weekly allowance. Plans start at $18 a month. The standard API is waiting on a safety evaluation, and the weights have no release date or license.
Where the Loop Gets Loud
Then came the independent runs. On KingBench 4, GLM-5.4 placed seventh. At maximum reasoning effort it took around four times as long as Gemini 4 Neon to finish the suite. Z.ai itself warns that the model can fall into marathon thinking loops, burning minutes on reasoning that a tighter model would skip.
That is the tension inside the launch. Looping shifts work from visible thinking tokens into hidden-state refinement, which should shorten answers. But when the loop keeps iterating on a hard task, the clock keeps running even as the token count falls. Cheaper output does not always mean a faster merge.
And the headline claim, that GLM-5.4 matches models with 2 trillion to 3 trillion parameters, rests on a win-rate chart with no published methodology. The 30B experiment proves the mechanism, not the 750B promise.
For teams weighing a switch, the useful test is narrow. Run GLM-5.4 and your current model on the same routine bug fix and the same multi-file change. Then compare:
- Time to a patch you would actually merge, including retries and manual repairs.
- Review burden, meaning whether CI passes and how much a human must fix before approval.
- Plan credits consumed per completed task, not per response.
ZCode defaults the model to its highest reasoning setting. Dropping that setting on routine work is the fastest way to find out whether the loop is earning its extra passes.
Seen from a distance, GLM-5.4 is a bet that intelligence can be bought with iteration instead of sheer size. It is a clever answer to a brutal cost curve, and a reminder that the next round of model competition may be fought over how many times a network thinks, not how many parameters it stores.
The developers who opened their model pickers that morning got a flagship that runs the same 28 layers twice. Whether the second pass is wisdom or just stubbornness is now a question for their benchmarks, their bills, and their patience.
Comments