
On November 23, Zhipu released GLM-5.4. It is Zhipu's first flagship model built on the Loop Transformer. Its base model, GLM-5, has 744B parameters with 40B active per token, which Zhipu's blog rounds to 750B. The middle 28 layers run twice for every token, so a token passes through 106 layers from input to output while the parameter count stays the same. Among open-weight looped Mixture-of-Experts models, the model this piece compares against is the 26.4B Inkling 2 Mini; GLM-5.4 will far exceed it if its weights open. In the official technical blog, Zhipu says looping lets the model think with fewer tokens: on a 30B comparison model, average output length on benchmarks such as GPQA-Diamond and MMLU-Pro fell by a little over a tenth.
A week after the release, the model was best known for something else. A reviewer asked it to build a web page, and it spent more than ten minutes thinking before it started. Zhipu's own announcement gave the behavior a name that translates as "thunderous deep thinking," and said the long thinking does keep improving accuracy.
Zhipu's claim that the model thinks with fewer tokens and the reviewers' experience of long thinking do not conflict: the former is an average output length measured on a 30B comparison model over those benchmarks, and the latter appears in multi-step coding tasks. This piece explains what GLM-5.4 changed, looks at what the official evidence shows, and then answers a more general question: how should a looped model be tested? Inkling 2 Mini, released on November 20, offers the most complete public demonstration of an answer.
1. 78 Layers, 28 of Them Run Twice
GLM-5 has 78 Transformer layers. GLM-5.4 splits them into three segments. The first 26 and the last 24 run once each. The 28 layers in the middle, layers 27 through 54, run twice with the same weights. A token passes through 26 + 28 + 28 + 24 = 106 layers, while the weights are still those of 78 layers. That is the Loop Transformer idea: the same block of layers is reused, so computational depth and parameter count can be adjusted separately. Figure 1 shows the structure, unrolled in execution order.

Zhipu did not train this model from scratch. It took GLM-5, which had finished pre-training, and continued training to turn it into a looped model. Zhipu's stated reason is that, under the same pre-training compute, a looped model trained from scratch still trails a model that does not share weights. Over the previous three months, Zhipu tested this route step by step at four scales: 1B, 4B, 30B and 750B. Ouro, an academic looped language model, was trained from scratch on 7.7T tokens. Zhipu's retrofit route is the opposite of Ouro's.
Turning the middle layers of an existing model into a multi-pass loop raises three concrete problems, and GLM-5.4 solves each with one change.
- Activation norms get out of control; solved with per-token gating. If the output of one pass is written straight back into the residual stream, the hidden state that accumulates layer by layer through the model, the norm of the activations grows from pass to pass. GLM-5.4 adds a gate for each pass that decides, per token, how much of the update computed in that pass (h − x) is written back: x₁ = x₀ + β₁(h₁ − x₀), x₂ = x₁ + β₂(h₂ − x₁). β lies between 0 and 1, produced from the pass's input by RMSNorm, a linear layer and a sigmoid. After training, the two gates settled into a division of labor. The first pass builds global context; with a small β, so the update written back is small and the numbers stay stable. The second pass refines the output on top of that state; β is large and it writes a full update. Zhipu also says the gates adjust to token difficulty: harder tokens get a larger update written back in the first pass, so they gain more from the iteration.
- An extra pass costs an extra KV cache; solved with two-way attention. The second pass does not retain the KV for the whole context. It reads the sparse KV that the first pass already selected, keeps only a sliding window of 128 tokens of its own new KV, and puts both streams into the same softmax. The extra pass therefore costs one window of KV cache, not a full-context one. Zhipu says that at a context length of 1 million tokens, this keeps GLM-5.4's deployment cost increase over GLM-5.3 well under control.
- Sparse-attention retrieval would run twice; solved by reusing the indices. Since GLM-5.2 the GLM-5 series has shared one indexer across every four sparse attention layers (IndexShare): only the first layer of each group of four runs the indexer (a small network that picks which tokens the layer attends to), and the other three reuse the indices it selected. So in the loop segment, only the first of every four layers has an indexer; the second pass does not run it and reuses the indices selected in the first pass, adding no retrieval compute. In Zhipu's experiments, this performs nearly identically to recomputing the indices on every pass.
The compute cost can be counted in layers. Each token goes through 28 more layers, so compute per token, counted by layers, is 106/78 of the original, about 36% more. This is only an approximation: the second pass does not run the indexer and reads the first pass's sparse KV plus a 128-token window, so the per-layer cost of the two passes is not identical. Zhipu's figure is that in the 30B comparison the looped version used about 10% more total training compute. One plausible explanation for the gap between 36% and 10%, this piece's inference, is that the loop was active only during continued training, not pre-training. Zhipu did not publish how many tokens the continued training used, so this explanation cannot be checked.
2. How Much Official Evidence There Is, and What It Shows
The only controlled evidence Zhipu published is one table, which Zhipu calls a controlled iso-parameter comparison. The experiment used a 30B model with exactly the same architecture as the 750B GLM-5. The looped version has the same parameter count as its unlooped counterpart and used only about 10% more total training compute. The caption says evaluation came after 200K long-context SFT, with thinking mode enabled. The caption does not say whether 200K refers to samples or to context length.
| Benchmark | No loop | Loop twice | Gain | Change in average output length |
|---|---|---|---|---|
| AIME25, competition math | 19.17 | 30.42 | 11.3 pts | −2% |
| GPQA-Diamond, graduate-level science QA | 47.58 | 56.26 | 8.7 pts | −11.7% |
| AA-LCR, long-context reasoning | 40.33 | 47.67 | 7.3 pts | −9.7% |
| MMLU-Pro, knowledge and reasoning QA | 71.65 | 75.05 | 3.4 pts | −14.9% |
| IFBench, instruction following | 50.20 | 53.47 | 3.3 pts | −13.0% |
The figures in this table are read from the table image in Zhipu's English technical blog and match, cell by cell, the tables on the Chinese documentation page and in the Chinese announcement (as reposted by 10jqka). Another set of figures circulates as a bar chart on a third-party page that cites Zhipu's official announcement as its source; its IFBench baseline is 22.31, which differs from all three official tables. That chart does not explain the difference, and this piece does not use that set.
The table holds two effects. Math accuracy gains the most while output length barely moves; AIME25 shrinks by only 2%. The other four benchmarks gain 3.3 to 8.7 points, and their outputs shrink by 9.7% to 14.9%. Zhipu says the shortening shows up on most benchmarks and names GPQA-Diamond and MMLU-Pro as examples. Zhipu's summary has two lines. One is that longer reasoning chains benefit more. The other is that part of the reasoning shifts from explicit output tokens into the implicit depth of the loop. Set against the table, this piece reads the two sentences as follows. The first corresponds to the two longest-output benchmarks ranking first and second in gains; the second describes the shortening on the other four benchmarks. Figure 2 plots accuracy gain against output-length change.
The first reading carries several qualifications. The official figure gives absolute changes in output length; dividing them by the percentages, the unlooped model's average output is about 32,000 tokens on AIME25, about 21,000 on GPQA-Diamond, and around 6,000 on the other three. The percentages are rounded, so these figures only indicate scale. That ordering has to be read against a ceiling effect: the unlooped version scores only 19% on AIME25 but already 72% on MMLU-Pro, so the headroom differs greatly. As a relative reduction in error rate, GPQA-Diamond is 16.6%, AIME25 13.9%, AA-LCR 12.3%, MMLU-Pro 12.0% and IFBench 6.6%; the order changes, and the two longest-output benchmarks still hold the top two places. With five benchmarks this correspondence is only a hint, not a statistical result.

The table has four gaps.
- No sample sizes or error ranges. AIME25 has 30 problems, each worth 3.3 points. Since 19.17 is not a multiple of 3.3, the reported score must be an average over several attempts. Both scores are consistent with 8 samples per problem: 46/240 is 19.17 and 73/240 is 30.42. At that sample count the gain is about 3.4 extra correct problems out of 30 (27 extra correct attempts divided by 8 samples per problem). Zhipu did not publish the sample count, so this is one explanation that fits the numbers. Without repeats and ranges, one cannot judge how reliable the gain is.
- The control group's training is not described. Zhipu does not say whether the model without looping received the same continued training and fine-tuning.
- No coding benchmark. The Chinese announcement says the largest gains were in "mathematical reasoning, long context and coding." The English blog says math, scientific reasoning and long context. None of the five benchmarks in the figure covers coding.
- No verifiable comparison for the flagship. GLM-5.4 itself has no benchmark-score comparison against GLM-5.3. The Chinese announcement says its intelligence "reaches the level of 2-3T models" (translated here), and the English blog says it is comparable to 2T-3T parameter models. Both describe capability without naming the comparison model.
Zhipu has offered comparisons with GLM-5.3, but none came with checkable material. The announcement reports a coding evaluation on 200 real-world scenarios and concludes that GLM-5.4 "remains the domestic model that feels strongest at coding" (translated here); Zhidx reports that the models compared were GLM-5.3, Kimi K3.1 Pro and DeepSeek-V4.1-Flash-1017. No tasks, scoring or per-item results were released. According to InfoQ, Zhipu says GLM-5.4's coding ability improved 55.8% over GLM-5.3 in internal real-world evaluations, and that it ranks first among open-source models on public benchmarks including Terminal Bench, Agents' Last Exam, DeepSWE and HLE. The official material this piece checked is the English technical blog and the reprinted text of the announcement; neither contains the 55.8% figure or those rankings, and the original WeChat announcement and the Chinese technical blog were not read. Terminal Bench's official leaderboard lists GLM-5.3 and GLM-5.3-Flash and has no GLM-5.4 entry (checked on November 30); the pages of the other three leaderboards were not read. When GLM-5.3 launched, Zhipu published a Terminal-Bench comparison from 4.6 to 28.3. Guangzhui Zhineng likewise noted that Zhipu released no benchmark scores this time.
3. Three Earlier Judgments: One Holds, One Half Came True, One Needs Rewriting
In September, "Looped Transformers Hit the Frontline" left three judgments about this route. Three months on, GLM-5.4 can be checked against each.
- Judgment one: looping and chain of thought used together. Holds. That article said 2 to 4 loops would enter mainstream model configuration as a capacity multiplier, with readable chain of thought retained. GLM-5.4 fixes the loop at two passes and keeps thinking mode, which matches. Inkling 2 Mini, released by Thinking Machines Lab on November 20, takes the same road.
- Judgment two: the watershed is training infrastructure. Half came true. That judgment held two things. One is that the route is decided on the training side. That article already cited one piece of evidence: Section 4.5 of the Ouro paper records that the model's dynamic early-exit mechanism breaks the fixed execution paths of vLLM and SGLang, and neither of two reinforcement-learning approaches succeeded. The past three months added another: Zhipu did not train from scratch because, in its stated reason, looped models trained from scratch still trail under equal pre-training compute, which is a trade-off in training compute. The other is the expectation of compute allocated by difficulty: whoever first made dynamic depth and the matching post-training toolchain work would capture the full gain. That did not happen. Zhipu did not solve dynamic depth. Every token runs two passes, and the company lists how to achieve adaptive computation, so that tokens of different difficulty get different amounts of computation, as an open question. No production model has been found to use schemes that assign loop depth per token, such as Mixture-of-Recursions.
- Judgment three: monitorability needs to be handled on its own, and the cause given in that article needs rewriting. A shorter chain of thought means less reasoning for a monitor to read. The numbers from the 30B comparison: the looped version's output length on GPQA-Diamond, AA-LCR, MMLU-Pro and IFBench fell by 9.7% to 14.9%, which Zhipu attributes mainly to a shorter chain of thought. These figures come from a controlled experiment, but Zhipu does not say whether the control went through the same continued training (see the second gap in section 2). So the table shows that shorter output is associated with looping; the causal claim waits for the control's training details. Inkling 2 Mini's blog (see section 5) gives cleaner numbers on chain-of-thought shortening by comparing different loop counts on the same weights, and adds a boundary to this judgment: at 26.4B, with no more than 5 passes in training, more passes did not make reasoning noticeably less monitorable, and the readability metrics did not change. What needs rewriting is the step that applies this mechanism to Astra. It wrote that looped depth moves part of the reasoning into latent space and the written record thins accordingly, a claim about mechanism, and by report treated Astra as a model that uses looped depth. In the GPT-6 Astra system card, OpenAI does acknowledge that chain-of-thought monitorability declined, attributes it to chains of thought that are shorter and less informative, and has deployed a monitoring system in production that checks the model's reasoning and actions. But OpenAI has never confirmed that Astra uses looped depth, and the 176-page system card contains no statement about loops or recurrence. For Astra, what is confirmed today is the shorter chains of thought; whether looping is the cause cannot yet be separated.
Four statements of fact in that article need correcting; two bear directly on this piece. The other two bear less on this piece and were also corrected in that article's revised version published on November 30, which carries a revision note at the top of the page. Of the two that bear directly, the first: it said Ouro converted an already stably trained 1.4B dense model into a 2.6B recurrent model. Section 4 and Table 1 of the paper say Ouro was a looped model from the first stage of pre-training. The first stretch of pre-training used 8 passes on 3T tokens and hit loss spikes. The next stretch reduced the count to 4 passes and trained on another 3T tokens; during this stretch the 2.6B version duplicated its 24 layers of weights one by one into 48 and continued training. Learning-rate annealing, long-context training and mid-training then took 1.4T, 20B and 300B tokens, for 7.7T in total. The second is a sentence in section 6 of that article. It states OpenAI's safety handling as "limiting the loop count," as though confirmed. That claim comes from press reports of Pachocki's remarks; the system card says nothing about loops.
One expectation has not come true. The article treated Nanbeige 4.5 as the second iteration of the production route; by the end of November Nanbeige 4.5 had not been released. In October, Nanbeige, the lab backed by BOSS Zhipin, released Nanbeige4.3-33B instead, which according to Tencent News keeps the Llama architecture and is not looped.
4. "Thunderous Deep Thinking": Slow to Think, Not Slow to Output
The name comes from Zhipu's own announcement. It says the model easily falls into this mode, and explains it as the model reflecting on and correcting itself while thinking. The English blog says the model tends to get caught in overly long "marathon thinking" loops, while the prolonged reflection does consistently improve accuracy. "Loop" here means repetition in the model's thinking behavior, which is a different thing from the fixed two architectural passes.
Third-party records show what the behavior looks like. In tests by the Chinese tech outlet Guangzhui Zhineng, GLM-5.4 thought for more than ten minutes at the start when asked to build a web page. Recreating the x.ai site took more than three hours, and a week of Coding Plan Lite quota was used up in the process. In InfoQ's tests, a 3D physics animation task ran for about 5 hours; InfoQ says its tests used the highest reasoning effort. InfoQ's backend shows a token count of 55.047 million during the test. KingBench 4, a benchmark built by the reviewer AICodeKing, has the model complete six programming projects on its own, 60 points in total. According to Chinese write-ups, the GLM-5.4 preview took 431 minutes for the six tasks and Gemini 4 Neon 109 minutes. GLM-5.4 scored 25.2, 24.1, 28.8 and 31.8 at the Low, Medium, High and Max effort levels; after two tasks were re-run with added clarification, Max reached 33.2, which ranks 7th among 19 models, and the write-ups call it the highest-scoring open-source coding model so far. This piece did not find Gemini 4 Neon's score, so the two can only be compared on time. The gap in time is not about per-step speed. Dividing total time by request count, GLM-5.4 averaged 22.9 seconds per request, faster than Gemini 4 Neon's 26.8, but it issued 1,128 model requests, 4.6 times as many. These are individual reviewers' records, not standardized benchmarks. Only the first measured thinking time directly; the other three records measured total task time.
Task times ran this long even though the official output speed is not slow: up to 200 tokens per second off-peak and 70 to 80 at peak. At the output speed measured in Section 6 of this piece, about 120 tokens per second, five hours would generate about two million tokens, less than one-twentieth of the 55.047 million tokens in InfoQ's backend record. InfoQ's figure is the "peak token count during the test", taken from its backend; it is most likely the running total over the test, not the output of a single generation. The time, and most of the tokens, are more likely spent on re-reading context across many agent calls; generation is likely a small share.
The cause is unsettled; two sources are possible. One is post-training: reinforcement learning that rewards long reflection makes the model inclined to think more on hard problems. The other is architecture: looping makes each token compute more internally, which may make the model more likely to reflect repeatedly. Existing evidence cannot separate the two, because GLM-5.4 and GLM-5.3 differ in both architecture and post-training. Separating them requires comparing one pass against two on the same weights; see Section 6.
5. How to Test: A Ready-Made Template
Inkling 2 Mini, from Thinking Machines Lab, is a Mixture-of-Experts model with 26.4B total parameters and 3.4B active; the middle 12 of its 24 layers run three times, and the weights are open for download. To make loop count adjustable, the lab also trained a research model, and the blog's two no-chain-of-thought measurements (Think Fast and N-Hop Lookup, described below) run it at 10 passes. The blog notes that it was trained mainly on 3 passes, with less training on other counts, so its performance at those counts may be understated.
The measurements fall into five groups.
- How long a task it can do without a chain of thought. They used the Think Fast benchmark: a passage is filled in at the start of the response so the model must answer directly without reasoning, and the benchmark asks how long a task the model can complete at 50% reliability, with length measured in human completion time. The result is 16 seconds at one pass and 37 seconds at three, with 95% bootstrap confidence intervals on every point in the figure. Beyond three it is roughly flat, and it does not drop noticeably at 10.
- Serial reasoning. The task is N-Hop Lookup: the model is given several lookup tables of fictional entries and must follow a chain of lookups without writing a chain of thought. The chains the model can follow grow longer with more passes, and the score keeps rising out to 10 passes, twice the maximum count it was trained with.
- How much the chain of thought shrinks, and whether readability changes. They compared GPQA Diamond questions that the variable-loop model answered correctly at all five pass counts. Reasoning at 5 passes averaged 1,661 tokens, against 3,703 at 1 pass, less than half. Two readability metrics did not change: mean words per sentence were 8.9, 8.7 and 8.7 at 1, 3 and 5 passes, and the fraction of words found in an English dictionary was 94.6%, 94.5% and 94.4%. The change is elsewhere. Uncertainty indicators such as "wait," "actually" and "hmm" fell from 9.7 at one pass to 3.6 at five; the blog does not state the unit. The lab's initial analysis is that the model's reasoning is more direct and makes fewer mid-course revisions.
- Which tasks benefit. Long-context benchmark scores rise with loop count; GraphWalks BFS and MRCR v2 both do. Knowledge benchmarks do not change with looping; AA-Omniscience, SimpleQA Verified and two others are flat. The authors conclude that looping improves reasoning and does not add to the facts stored in the weights.
- Whether monitorability degrades. The blog tested chain-of-thought monitorability, chain-of-thought controllability, and covert behavior in agentic tasks. At this scale, adding loops did not meaningfully reduce the monitorability of reasoning, and the covert-success rate in agentic tasks showed no upward trend with passes. The blog's caveat is that this is a result at 26.4B scale, and that the research model's loop count was only between 1 and 5 during training, with reinforcement learning done only at 3 passes. What a model trained at higher counts would learn, these experiments cannot say.
The blog reports one more result that bears directly on loop design: where the loop sits makes a large difference. Both versions ran three passes at equal training compute and were compared at training step 2,000: the no-loop baseline was estimated to need 1.51 to 1.91 times as much training compute to match the loss of the version that loops the middle 12 layers. For the version that loops the last 12 layers, the figure is 1.24 to 1.36 times. The ends of each range are the lowest and highest of three evaluations. The middle wins on 27 of 28 evaluations. The layers GLM-5.4 loops are likewise in the middle.
Beyond the template, three existing references can be used: an external metric, a set of internal observation methods for those who hold the weights, and several ways of doing equal-budget comparisons.
- An external metric. The GPT-6.2 system card cites an Epoch AI evaluation that counts how many serial reasoning steps of fixed complexity a model can perform within a single output token without a chain of thought. A success rate 25% above chance counts as meeting the bar; the card does not say whether this is 25 percentage points or a relative 25%. GPT-6.2 Astra manages 12.3 steps, GPT-6 Astra 10.5, GPT-6.1 Sol 8.3. Before GPT-6 Astra's release, the best was Claude Fable 5.1 at 4.2. The metric measures directly how much computation happens inside each token, and it needs nothing more than API access. OpenAI does not attribute it to architecture.
- Per-token internal observation. Several academic studies this year provide methods for those who hold the weights. One defines a decision iteration for each token, meaning the first pass after which the most probable token never changes again. On three looped models, Ouro, Parcae and Rec-OLMo, 76% to 89% of answer tokens are decided in the first pass; on most datasets 90% are cumulatively decided by the second or third pass, and by the fifth at the latest. The earlier an answer settles, the less the later passes can change it. GLM-5.4 has only two passes. If the same ratio holds for it, the most the second pass can act on is the 11% to 24% of tokens left unsettled after the first pass. The cited studies also report that the extra iterations fix fewer answers than they break.
- Equal-budget comparisons must state what is being held equal. The literature has four versions: equal serial steps, equal parameters, equal training compute and equal effective depth. Each answers a different question. Equal serial steps asks which does better at the same amount of serial computation; equal effective depth asks whether looped layers or unlooped layers do better at the same total depth. Equal parameters answers whether running the same weights more times is worth it; equal training compute answers whether the same compute is better spent on looping or on more layers. When a vendor says its model reaches the level of 2-3T models without saying which one, the claim cannot be tested.
On the Hugging Face blog, one small-model experiment supplies what the five groups of measurement above left out: the cost of the gate, which matches the per-token gates described in Section 1, and the ability to memorize facts, which matches the finding under "which tasks benefit" that knowledge benchmarks do not move with loop count. The blog's author trained a few looped models of about a million parameters on two synthetic tasks to see the mechanism at work.
The first is the cost of the gate. The synthetic task: 64 nodes are linked by a set of arrows into several chains, and the arrows are shuffled, so the model has no positional information to go on. It must start from a given node and follow the chain, one hop at a time, to its end. The farther along the chain, the harder the problem (chain-following below). Without a gate, the internal vector grew to 17 to 27 times its initial size after 16 passes. The experiment compared two ungated ways of connecting passes: one feeds each pass's output straight into the next, the other adds the output of the opening layers back in at every pass. The second reached 38 hops at best, the first 32. With a gate, the vector barely grew and more passes did not shorten how far the model could follow the chain, at the price of a best reach of 28 hops. The gate in the experiment shares one set of parameters across passes, simpler than GLM-5.4's one set per pass. In that experiment the gate also learned on its own to close later on longer chains: it closed at pass 3 on 4-hop chains and only at pass 6 on chains of 16 hops or more; in a second training run the gate closed earlier, and the model never got past 25 hops. This is an early form of adaptive computation, which Zhipu lists as an open question at the end of its announcement. These experiments use models of roughly one million parameters, the largest about two million. They see only synthetic tasks such as chain-following and memorizing random facts. Their input has no fixed order and their attention is bidirectional, unlike a language model reading text from left to right. They illustrate mechanisms and are not measurements at the scale of GLM-5.4 or Inkling.
The second is memorization. The same experiment supports, from the other direction, the finding that knowledge benchmarks do not move with loop count: three models were trained to memorize the same table of one million random facts. A two-layer block run 4 times kept 294,000 facts, almost the same as the 299,000 of running it once, with the same parameter count. A block of 8 distinct layers, which also applies 10 layers and has 2.4 times as many parameters, kept 662,000. Information stored per parameter comes to about 2 bits for all three, in line with what Allen-Zhu and Li measured in 2024.
Two risk checks are also required.
- Does cutting loops weaken safe behavior? An October paper found that halving the loop count of Ouro-1.4B-Thinking kept 89% of its GSM8K score, but the rate at which it helped with harmful requests rose from 0.038 to 0.205, 5.3 times the original rate, as the paper itself puts it. The model can still tell from its internal state whether a request is harmful; what the missing loops remove is the refusal that should follow.
- The cost of sharing KV across passes. In Ouro's experiments, decoding with only the first pass's KV cache dropped GSM8K from 78.92 to 18.73. Keeping the last pass's KV, or an average of the KV from four passes, scored 78.85 and 78.73, with memory cut to a quarter. When comparing latency and memory figures, only numbers that state whether the KV cache is full or shared, and which part is shared, can be compared. GLM-5.4's second pass likewise does not retain the full-context KV, though by a different scheme; its cost has no comparison numbers yet.
6. Testing GLM-5.4 with the Template
The testing has a black-box part and a white-box part. Someone who can only call the API can do the black-box part: the checks that can be done without touching the inside of the model, looking only at inputs and outputs. Only someone with the weights can do the white-box part. GLM-5.4's weights are planned for open release and, as of November 29, were not yet available, so only the black-box part can be done now.
| Question | API only | With weights | Existing reference |
|---|---|---|---|
| Does looping make each token compute more deeply | Serial tasks with thinking off, or Think Fast-style prefilled answers | Same, plus per-token decision iterations | GPT-6.2 Astra at 12.3 steps; Inkling 16 s to 37 s |
| How much chain of thought does looping replace | Same items and reasoning effort as GLM-5.3, measuring thinking length | Length and accuracy across loop counts | Inkling: 5 passes less than half the length of 1, readability unchanged |
| Which tasks benefit | Multi-hop and long context against closed-book knowledge QA | Same, plus reading out intermediate states | Inkling: long context gains most, knowledge unchanged |
| Is the extra compute worth it | Memory use, against GLM-5.3; output speed is only a reference, since it more likely reflects the serving setup | Throughput and memory across loop counts | Ouro: first-pass KV only, GSM8K from 78.92 to 18.73. This was an ad-hoc ablation at inference time on a model not trained with that sharing, so it is not a direct reference for GLM-5.4 |
| Has the safety profile changed | Refusals at different reasoning efforts | One pass against two. "One pass" has to be defined before running: the first pass's gate values are small on most tokens, so only a small part of what the middle 28 layers compute is written in, and stopping after that pass is roughly equivalent to skipping those 28 layers. The first pass's gate has to be forced fully open; otherwise the comparison is against a different model, neither GLM-5.4 nor GLM-5 | Ouro at half the loops: harmful-help rate to 5.3 times the original |
| Is the long thinking caused by looping | Same items as GLM-5.3 with reasoning effort controlled | Same weights, one pass against two (see the row above for the definition of one pass) | None |
This piece includes a small black-box comparison that demonstrates rows 1, 2 and 4 of the table. It is a demonstration of method, not a verdict. For row 4 the only thing measurable here is output speed, which does not show the compute cost of looping, for the reason given below. There were 48 items in four sets of 12. The math items have integer answers, computed in code, mostly by exhaustive enumeration. The N-hop lookup items give several lookup tables of made-up words, and the model follows the chain from a start word through 2 to 8 hops. The science and knowledge items are multiple choice with four options. Both models were called through the same Coding Plan endpoint, each under three settings: reasoning effort high with thinking on, reasoning effort max with thinking on, and thinking off. Each item was run once per setting, with temperature 1.0, max_tokens set to 16000, and other parameters at their API defaults. The run took place from 23:24 to 23:35 Beijing time on November 29, 288 calls in total, with no failures. Figure 3 shows the results.

The API did not behave exactly as its documentation describes.
- Neither model rejected the request to turn thinking off. Z.ai's documentation says an API request that sets thinking to disabled returns an error. The measurements here went through the Coding Plan endpoint, where the request was accepted; the two entry points may simply behave differently.
- Turning thinking off did not fully take effect. On the math items, both models still generated reasoning on nearly every call: a median of 132.5 tokens for GLM-5.3 and 121 for GLM-5.4. On N-hop lookup, GLM-5.3 still generated reasoning every time, with a median of 124.5. GLM-5.4 generated reasoning on 10 of 12 calls; the median over all 12 is 18.5. Only on the multiple-choice items did thinking length approach zero with thinking off.
- Reasoning effort has no stable relationship to thinking length. On the math items, GLM-5.3's median thinking length was 451.5 tokens at high and 735.5 at max. GLM-5.4 was the reverse: 696.5 at high and 488 at max.
Three results. Correctness is scored by one rule: an item counts as correct when the answer is right, whether or not the ANSWER line was written. Thinking length means the token count the API reports for the reasoning part.
- On accuracy, these four sets cannot tell the two models apart in either condition. With thinking on, both answered every item correctly at both effort levels. With thinking off, both answered all 12 science and all 12 knowledge items correctly. On math, GLM-5.3 answered 11 and GLM-5.4 answered 10. On N-hop lookup it was 12 to 11. Each differs by one item, with one run per item. The items are too easy; comparing the two models' reasoning or knowledge calls for harder items.
- The differences that do show are in format and in how clean the output is. With thinking off, GLM-5.3 answered 9 multiple-choice items with a bare letter and no ANSWER line as instructed; GLM-5.4 did so on 2. The letters themselves were all correct. On N-hop lookup with thinking off, 11 of GLM-5.3's 12 answers carried a stray
<|assistant|>marker after the answer, most followed by unrelated text; the longest such output ran to 4,392 tokens. GLM-5.4 showed none of this. With thinking on, only 3 responses skipped the required format, across both models. - GLM-5.4's output speed is 1.6 times GLM-5.3's. This number mainly reflects the serving setup, not the cost of looping: GLM-5.4 sends each token through about 36% more layers and still outputs faster, so the speed more likely depends on hardware, batch size and the load at the time. Output speed here counts generated tokens per second, including reasoning. In the same time window and through the same endpoint, among calls with thinking on, GLM-5.4's median output speed was 119 to 121 tokens per second and GLM-5.3's was 73 to 77; the median wait for the first token was 0.5 to 0.7 seconds for both. This is consistent with Zhipu's published higher output speed for GLM-5.4. No stable difference in thinking length showed up. On the math items, the four medians across both models and both effort levels fall between 450 and 750 tokens. On the other three sets, the medians for both models fall between 46 and 121 tokens.
This comparison does not answer whether looping makes each token compute more deeply. With thinking off, the N-hop lookup items differ by one, too small a sample. And turning thinking off did not fully take effect; GLM-5.3 retained more reasoning, so "off" is not equivalent across the two models.
The white-box part waits for the weights. Three things are worth doing first. One is a loop-count sweep, including a single pass. The first step is to plot accuracy against loop count. If two passes already sit near the flat part of the curve, fixing the count at two is a sound choice. If the curve still rises clearly beyond three passes, the demand for adaptive computation will reappear quickly. The sweep should also record whether the model was trained at a fixed number of passes or at a random one. In the Hugging Face blog's small-model experiment, a model trained at a random number of passes between 1 and 6 at each step, on chains of at most 16 hops, solved 29-hop chains when run at 4 passes; a model with the same architecture, always trained at 4 passes, reached only 18 hops at the same 4 passes. GLM-5.4 always runs two passes for every token, and there is no GLM-5.4 trained at a random number of passes to compare it with; the difference that comes from training cannot be separated out on it. The second is per-token decision iterations: how many answers the second pass changes, and the values of the two gates, to test Zhipu's statement that harder tokens get a larger write in the first pass. The third is throughput and memory across loop counts, with a separate measurement of the cost of the two-way KV sharing.
Zhipu could add three tables: a benchmark-score comparison of the flagship against GLM-5.3, sample sizes and error ranges for the 30B table, and an ablation of the KV-sharing scheme. With those, part of rows 3 and 4 could be answered. Row 1 still waits for the white-box tests, because a flagship comparison mixes in post-training differences in the same way.
Closing
- The 30B comparison shows a gain from looping, at the price of extra compute in both inference and training. With identical parameters, accuracy rose on all five benchmarks: 11.3 points on AIME25 and 3.3 to 8.7 points on the other four. Output on the other four benchmarks also shrank by 9.7% to 14.9%. Its price: about 36% more compute per token at inference (counted by layers) and about 10% more total training compute. The flagship has no verifiable comparison.
- The method for testing a looped model exists; what is missing is sample sizes and error ranges from the vendors. Inkling 2 Mini ran the five measurements, with 95% bootstrap confidence intervals on every point in its figures; Zhipu has so far published one table, at 30B, without error ranges.
- Adaptive computation remains an unsolved problem on this route. A fixed two passes treats every token the same and does not touch it.
Four signals to watch.
- The loop-count curve after the weights open. This curve decides whether a fixed count of two is enough.
- The gap between GLM-5.4 and GLM-5.3 in no-chain-of-thought serial steps. If this gap is larger than sampling noise, GLM-5.4 computes more within each token, but the cause cannot be separated from post-training; separating it requires comparing one pass against two on the same weights once the weights open. If it falls within sampling noise, two passes did not turn into a measurable per-token serial depth on the flagship. That result cannot be used to say where the 30B gains come from: they may not transfer to 750B at all, or they may come from capabilities other than serial depth.
- The next, clearly larger model Zhipu has announced. Whether it loops, and how many times.
- API pricing. The extra cost of one more pass will show up in the price of long context.
How to Read the Numbers
The table lists how each key number in this piece was measured and where it comes from.
| Number | How it was measured | Source |
|---|---|---|
| The five 30B comparison scores | 30B model, same architecture as the 750B GLM-5. Loop and no-loop versions have the same parameter count. The loop version used about 10% more training compute, after 200K long-context SFT, thinking on. Sample sizes and error ranges not published | Zhipu technical blog |
| 1.36 times compute per token, counted by layers | 106 ÷ 78, an approximation. The per-layer cost of the two passes is not identical; what mainly changes is the number of layers each token passes through | Author's calculation |
| Unlooped model's average output length (derived) | About 32,000 tokens on AIME25, about 21,000 on GPQA-Diamond, around 6,000 on the other three. Absolute output-length changes in the official figure divided by the percentages; the percentages are rounded, so order of magnitude only | Author's derivation |
| AIME25 has 30 problems | Common knowledge; this piece did not re-check the dataset paper | None |
| GLM-5: 744B total parameters, 40B active; IndexShare since GLM-5.2 | The official hub page states under GLM-5.2: We propose IndexShare, which reuses the same indexer across every four sparse attention layers | openlm.ai GLM-5.4 page |
| IFBench baseline 22.31 in the third-party bar chart | Differs from all three official tables; unexplained on the chart | Screenshot of the third-party page |
| 200 tokens per second off-peak, 70 to 80 at peak | Output speed | Zhipu announcement |
| KingBench 4 effort-level scores and request counts | Six long tasks, 60 points in total. Low to Max are GLM-5.4's reasoning efforts, not benchmark tiers. 33.2 is the score after two tasks were re-run with added clarification. Time per request is this piece's calculation, total time divided by request count. AICodeKing's original video and leaderboard page were not read for this piece; figures come from Chinese write-ups | AICodeKing's benchmark, as relayed on Weibo on November 23 and by Laojin Dai Ni Wan AI on November 25 |
| 3D task about 5 hours, peak 55.047 million tokens | Single task; InfoQ says its tests used the highest reasoning effort | InfoQ |
| 55.8% and first among open-source models on four public benchmarks | Zhipu's claim as reported by InfoQ. The official material this piece checked is the English technical blog and the reprinted text of the announcement, and neither contains these two claims; the original WeChat announcement and the Chinese technical blog were not read | InfoQ |
| 200-scenario coding evaluation | A qualitative conclusion in the announcement only, with no tasks, scoring or per-item results; compared models as reported by Zhidx | Zhipu announcement, Zhidx |
| Entries on Terminal Bench's official leaderboard | Checked on November 30: GLM-5.3 and GLM-5.3-Flash are listed, GLM-5.4 is not. The pages of the other three leaderboards were not read | Terminal Bench website |
| Inkling 2 Mini specifications | Released model: 26.4B total parameters, 3.4B active, the middle 12 of 24 layers run three times | Thinking Machines Lab blog |
| Measurements on the Inkling research model | Variable-loop research model trained on 1 to 5 passes, with reinforcement learning only at 3. Think Fast and N-Hop Lookup run at 10 passes | Thinking Machines Lab blog |
| Inkling compute multiple by loop position | Comparison of looped and unlooped runs at training step 2,000; lowest and highest of three evaluations | Thinking Machines Lab blog |
| Epoch AI serial steps | Single output token, no chain of thought, success 25% above chance (the card says above chance and does not specify percentage points or relative) | Cited in the GPT-6.2 system card |
| Ouro at half the loops | GSM8K 0.692 vs 0.775; harmful-help rate 0.038 vs 0.205 | arXiv 2610.15218 |
| Ouro's KV sharing | Decoding stage, four passes, first-pass KV only | Ouro paper, Table 14 |
| Small-model experiments in the Hugging Face blog | Models of about 0.6M to 2.0M parameters: 0.63M to 1.22M in the depth experiment, about 0.83M to 2.02M in the memorization and variable-loop experiments. Two synthetic tasks: chain-following over 64 nodes, and memorizing one million random facts. Chain length counted at 90% accuracy or above. The gated variant and the variant that re-adds the opening layers' output were each trained twice, the plain-repeat variant once; 28 and 38 hops are each variant's best run. A gate value below 0.1 counts as closed, and the closing pass is taken from the first run. 17 to 27 times is the norm of the query token's internal vector on 16-hop chains at pass 16 over pass 1. Each fact counts as 6 bits | Hugging Face blog (David Louapre, November 25, 2026); figure data published with the post; Allen-Zhu and Li 2024 at arXiv 2404.05405 |
| This piece's black-box comparison | 48 items in four sets. Two models, three settings each, 288 calls. One run per item per setting, temperature 1.0. Correctness is scored by one rule in both conditions: an item counts as correct when the answer is right, whether or not the ANSWER line was written. Thinking length as the median over 12 calls per cell; output speed and time to first token as medians over 48 calls per model per effort level. Script and per-call records kept in the draft folder | Author's measurements |
Statement: This piece is based on Zhipu's GLM-5.4 technical blog and announcement of November 23, 2026, the openlm.ai GLM-5.4 page, Thinking Machines Lab's Inkling 2 Mini blog of November 20, 2026, OpenAI's GPT-6 Astra system card and GPT-6.2 Astra/Sol system card, Hugging Face's blog post "Looped Transformers: Thinking twice with the same weights" of November 25, 2026, and papers on arXiv including Ouro, Huginn and LOTUS. Third-party tests are cited from InfoQ, Guangzhui Zhineng and other reports and cross-checked against the source notes kept while writing. The black-box comparison in Section 6 is a small-scale measurement by the author on the Z.ai Coding Plan endpoint, included to demonstrate the testing method. Nothing here is investment advice. Data is as of November 29, 2026; where an item was checked on another date, the date is given in the text.
