Z.ai says GLM-5.4 reuses its layers twice to act like a 2-3T model
Unicorn News Desk ·
Key facts
- Model
- GLM-5.4, Z.ai's first Loop Transformer
- Size
- About 750B parameters
- Maker's claim
- Performs on par with 2T-3T-parameter models
- Loop design
- 28 layers of the GLM-5 base run twice, no new weights
- Full-model benchmarks
- Not yet published
The story so far: Z.ai GLM-5.4
- 2026-11-23: Z.ai details Loop Transformer design: 750B, 2-3T claim (this article)
- 2026-11-23: GLM-5.4 rolls out to GLM Coding Plan with vision
Z.ai’s GLM-5.4 now has a published design story. Earlier on Monday, Unicorn API reported that GLM-5.4 had reportedly reached GLM Coding Plan users with vision, based on one X post. Since then, several posts summarising Z.ai’s own write-up say GLM-5.4 is the company’s first Loop Transformer: a model of about 750B parameters that runs 28 layers of the GLM-5 base twice and that Z.ai claims performs like a 2T to 3T-parameter model.
The key detail is that the second pass uses the existing layers. One breakdown describes it as “zero new weights”. The claim is large, but it is not yet backed by public benchmarks for the full model. Z.ai also reportedly admits a failure mode it calls “marathon thinking”, and open weights have no date.
What changed since the Coding Plan rollout
The first report covered availability and features. The new material explains how the model is built. Across the posts, the account is consistent: GLM-5.4 is Z.ai’s first flagship on the Loop Transformer architecture, with intelligence Z.ai puts “on par with 2–3T-parameter models”. One poster sums up the trick: GLM-5.4 “runs part of its network twice”, and is “actually around 750B, it just loops some layers”.
Another post says the model reuses existing layers from the GLM-5 base model to get deeper reasoning. A third says Z.ai describes GLM-5.4 as “the first model from its Loop Transformer work”.
No Z.ai post appears in the sources used for this article. Every design detail below comes from third parties relaying or analysing Z.ai’s write-up, and is attributed to them.
How the Loop Transformer reportedly works
A transformer processes text through a stack of layers, one after another. A looped design sends the hidden state (the model’s internal representation of the text) back through some of those layers a second time. The weights stay the same, so the model does more computation without storing more parameters.
The most detailed public breakdown comes from X user @yume_arasaki, who credits an earlier thread by @superalesha. It says GLM-5.4 “runs its middle 28 layers twice,” with “78 layers stored, 106 layers executed” and “zero new parameters”. The post compares the idea to reading a hard paragraph a second time: the words are the same, but the second reading goes deeper.
Retrofitted, not trained from scratch
The same breakdown says Z.ai did not build a new looped model. It took the already trained GLM-5 and taught its middle 28 layers to accept their own output as input, using continued training rather than a rebuild. The post’s reasoning cites unnamed “independent scaling work” that found a re-run layer is worth about half a new layer at matched compute, so freshly trained looped models lose to freshly trained bigger ones. That reasoning belongs to the poster, not Z.ai, and the studies are not identified.
Two engineering fixes
The breakdown describes two techniques that make the second pass work in practice:
- A damped gate. If the second pass simply overwrote the first, it would disrupt the activations that later layers expect. Instead, each pass is blended in as x1 = x0 + β(h1 − x0). The value β is set per token, and harder tokens get bigger adjustments.
- Limited extra memory. A naive second pass would double the KV cache, the stored attention keys and values that grow with context length. The post calls that “fatal at 1M context.” Pass two instead reuses the 2,048 positions that pass one already selected and adds one 128-token sliding window of its own.

The evidence behind the 2-3T claim
The headline comparison, that a roughly 750B model matches 2T to 3T-parameter models, is Z.ai’s own claim. No independent evaluation in the sources tests it. Two posts say outright that there is no benchmark table for the full model yet. The breakdown notes that “everyone’s arguing about missing GLM-5.4 evals” and says “the tables land with the safety review”.
The only reported numbers come from a smaller controlled experiment. On a 30B model with the same parameter count and about 10% more compute, the breakdown says looping raised the AIME25 math score by 11.3 points and cut thinking output by up to 14.9%. A separate post summarises the same test as looping making answers 10-14% shorter. These results describe a small research model, not GLM-5.4 itself.
Other claims are also Z.ai’s own. One post relays that GLM-5.4 was tested across 200 real-world coding scenarios and “delivers the strongest coding experience among Chinese models”. The same post gives speeds of up to 200 tokens per second off-peak and 70-80 tokens per second at peak hours. The sources show no outside test of either figure.
| Item | As reported |
|---|---|
| Architecture | Loop Transformer, Z.ai’s first |
| Parameters | About 750B |
| Looped block | 28 layers of the GLM-5 base, run twice |
| Layers stored / executed | 78 / 106, per one breakdown |
| Extra KV memory for pass two | One 128-token sliding window |
| Maker’s capability claim | On par with 2-3T-parameter models |
| Context | 1M option (glm-5.4[1m] in Claude Code) |
| Inputs | Adds native image input (vision) |
| Speed (maker’s figure) | Up to 200 tokens/s off-peak; 70-80 tokens/s at peak |
Admitted limits: marathon thinking and slower decoding
According to one post, Z.ai admits GLM-5.4 “can get stuck in long ‘marathon thinking’ loops”. Another says Z.ai “still admits GLM-5.4 overthinks sometimes”. The breakdown adds that @superalesha first flagged the problem in production, and that Z.ai’s position is that the long reflection still improves accuracy.
This matters for anyone running the model in agents or paying per token. The looped design is supposed to move reasoning “from tokens you pay for into depth inside the model,” as the breakdown puts it. Runaway thinking would work against that goal.
Speed is the other open cost. The breakdown estimates that rerunning 28 of 78 layers slows decoding by about a third. It describes this as “arithmetic not measurement,” partly offset by 10-14% shorter thinking. Z.ai’s quoted speed figures do not settle the question, because they do not compare the model with an unlooped version.
Access: Coding Plan now, API and weights unclear
The posts agree that GLM-5.4 is available to all GLM Coding Plan users. Two posts say users with weekly quotas get 50% more usage than with GLM-5.3. Another says V2, V3 and Team subscribers get 1.5 times the usage quota. The model adds vision. One post says Z.ai is expanding its coding focus beyond traditional software to video, games, 3D shaders and CAD modelling. A 1M context option is exposed as glm-5.4[1m] in Claude Code and as glm-5.4 in other tools.
The accounts of API access differ:
- One post says API access and model weights are “coming soon”.
- Another says API access will follow safety evaluations, with weights planned for a later release.
- A third says that “for now it’s only on the GLM Coding Plan,” with no benchmarks, API pricing or open weights yet.
The X post behind Unicorn API’s earlier article said the model was already in Z.ai’s API. The newer posts do not support that.
On open weights, one post quotes Z.ai as planning them only “after completing necessary safety hardening,” with no date. Another post is headed “GLM 5.4 Open Weights Confirmed!!” but its own text says only that “model weights will follow responsibly”. That is a stated plan, not a release. The same post speculates about a smaller “Flash” version, which no other source describes as planned.

What it means for builders
If the design works as described, the main practical benefit is depth without extra memory. The breakdown argues that GPU memory holds the weights once and the loop costs bandwidth rather than gigabytes. It cites unnamed independent work suggesting that recurrence “doesn’t add knowledge storage, it adds knowledge manipulation.” On that view, looping would help most with multi-step reasoning, long chains and agent work rather than factual recall. That reasoning is still an argument from outside Z.ai, not a measured result for GLM-5.4.
For teams building coding agents, the open questions are the ones developers are already asking. One developer building agents with Java and Spring AI says the test is whether the model can understand complex codebases, call tools reliably and debug real-world issues, and notes they have not tested it yet.
Past reports on Z.ai’s plans also show why hands-on testing matters more than headline figures. A March 2026 review of GLM-5 subscriptions relayed Reddit users’ complaints about restrictive session limits and reported drops in quality. It noted that experiences differed between early and newer subscribers. That review predates GLM-5.4 and covers a different model, but it shows that plan limits and real output quality can matter as much as quotas and benchmarks.
Until full evaluations appear, the reasonable stance is to treat the 2-3T comparison as a design claim from the maker, supported only by a 30B ablation (a controlled experiment that changes one component), and to measure latency and thinking length on real workloads.
What to watch next
- Benchmark tables for the 750B model. The breakdown says they arrive with the safety review. They are the first real test of the 2-3T claim.
- API availability and terms. Posts say access follows safety evaluations. Whether that comes with pricing is not stated.
- Open-weights timing. Z.ai reportedly ties release to safety hardening with no date. The size of any released checkpoint matters for local use.
- Fixes for marathon thinking. Whether Z.ai limits runaway reflection, or keeps it because it improves accuracy, will shape agent costs.
- Measured decode speed. Independent measurements would replace the about-one-third slowdown estimate, which is arithmetic rather than measurement.
Frequently asked questions
What is a Loop Transformer in GLM-5.4?
According to posts summarising Z.ai's write-up, GLM-5.4 runs 28 layers of the GLM-5 base model twice, reusing the same weights rather than adding new ones. One breakdown says this means 78 layers are stored and 106 are executed.
Is GLM-5.4 really as capable as a 2-3T-parameter model?
That is Z.ai's claim. No benchmark table for the full 750B model is public yet. The only reported numbers come from a 30B controlled test, and one breakdown says the full tables will arrive with the safety review.
Is GLM-5.4 open source or open weights?
Not yet. Posts quoting Z.ai say open weights are planned only after completing necessary safety hardening, with no date given. One post described the weights as confirmed, but other posts say they are planned for later.
Where can developers use GLM-5.4 now?
Posts say it is available to all GLM Coding Plan users. Accounts of API access differ: some say it is coming soon or will follow safety evaluations, and one says it is only on the Coding Plan for now.
Does GLM-5.4 have known problems?
Posts say Z.ai admits the model can get stuck in long 'marathon thinking' loops and sometimes overthinks. One breakdown estimates by arithmetic, not measurement, that the extra pass slows decoding by about a third.