GLM-5.4 Loop Transformer graphic showing a looping arrow on a blue gradient

GLM-5.4 Runs Its Layers Twice: What Z.ai’s Loop Transformer Delivers, What’s Unproven and How to Use It

The GLM-5.4 release from Z.ai, announced on November 23, is a roughly 750-billion-parameter coding model that runs part of its own network twice for every token. You can use it today on the GLM Coding Plan, but there are no benchmark scores, no public API and no downloadable weights yet.

That gap between the claims and the proof is the real story. Here’s what’s confirmed, what’s only Z.ai’s word, and whether it changes anything for your coding setup.

Here are the quick facts if you’re skimming:

  • Announced November 23, 2026 by Z.ai (also known as Zhipu), at about 750B parameters.
  • It’s a Loop Transformer: 28 layers of the GLM-5 base run twice per token.
  • Context window is 1 million tokens, and image input is new for this model line.
  • Live on the GLM Coding Plan, ZCode and Z.ai Chat. API and open weights are “coming,” with no dates.
  • No published GLM-5.4 benchmark scores at launch.

If you only need to know whether to switch, the verdict is at the bottom. Those facts matter because looped designs are suddenly everywhere, and GLM-5.4 is the biggest one so far.

What a Loop Transformer actually does differently

A normal model pushes each token through its layers once. GLM-5.4 takes a block of middle layers and sends the token through them a second time before moving on. The idea is to get more reasoning out of the same stored weights instead of just adding more of them.

According to XenoSpectrum’s breakdown, the model has 78 unique layers. Layers 1 to 26 run once, layers 27 to 54 run twice, and layers 55 to 78 run once, for 106 layer passes in total.

Z.ai also added a per-token gate that controls how much each pass updates the model’s internal state. The second pass reuses the first pass’s KV cache and sparse-attention positions, so it doesn’t add much indexing work.

The trade-off is compute. Running layers twice means more work per token, which is why Z.ai quotes speeds of up to 200 tokens per second off-peak but only 70 to 80 at busy times. Those speeds are Z.ai’s own numbers.

Z.ai says GLM-5.4 was converted from the trained GLM-5 base through continued training, not built from scratch. That’s cheaper than a new pretraining run, which may be why it arrived so quickly.

What the evidence shows so far

The only hard numbers come from a smaller 30B experiment, not from GLM-5.4 itself. In that test, a looped model beat an otherwise identical standard one on all five benchmarks, as XenoSpectrum reports.

Benchmark Standard 30B Looped 30B Gain
MMLU-Pro 71.14 74.47 +3.3
IFBench 22.31 25.81 +3.5
AA-LCR 40.25 47.73 +7.5
GPQA-Diamond 47.62 56.31 +8.7
AIME25 19.17 30.42 +11.3

Those gains are real but small-scale. The looped model also used about 10% more training compute, so it isn’t a perfectly fair fight. Nobody has published how the 750B model scores.

Z.ai claims GLM-5.4 performs like models in the 2 to 3 trillion parameter class. As i10x.ai points out, outsiders can’t verify that yet, so treat it as marketing until independent tests land.

How to get GLM-5.4 on the GLM Coding Plan

The model is live for all Coding Plan subscribers. If you use Claude Code, set the model name to glm-5.4[1m] to get the full 1M window. Other tools use plain glm-5.4.

Z.ai says it also cut the credit cost per token. Atomic Agent’s comparison lists the following credits per 10,000 tokens and plan prices.

Item GLM-5.3 GLM-5.4
Input credits 6.9 4.6
Cached input credits 1.7 1.1
Output credits 24 16
Lite plan $18/month $18/month (72M-146M tokens/week)
Pro plan $80/month $80/month (440M-870M tokens/week)
Max plan $168/month $168/month (1.0B-2.0B tokens/week)

That works out to roughly 33% fewer credits for the same work, or about 50% more usable tokens in a weekly quota. Check your own dashboard before you count on it, since those figures come from a third-party write-up.

The catches before you rely on it

Z.ai itself warns that GLM-5.4 can get stuck in long “marathon thinking” loops on hard problems. Those burn credits and time, which matters if you run agents unattended.

If you do, set output token limits and timeouts. Self-hosters are out of luck for now because open weights are promised only after “safety hardening,” with no date and no stated license.

It’s also not the only looped model this month. Our look at the Inkling 2 Mini open coding model covers a smaller design that reruns 12 middle layers three times. For more on open models and coding agents, see how harness adapters changed Qwen coding scores.

Frequently Asked Questions

Is GLM-5.4 open source?

Not yet. Z.ai says weights will come after safety hardening but hasn’t given a date or a license.

Is there a GLM-5.4 API?

It’s listed as “coming soon.” No per-token API price has been announced.

Does GLM-5.4 support images?

Yes. Image input is new compared with GLM-5.3, according to Z.ai’s announcement coverage.

How is a Loop Transformer different from a bigger model?

It reuses the same layers for extra passes instead of adding new parameters. That can improve reasoning without a larger weight file, though it costs extra compute per token.

My take: if you already pay for the Coding Plan, try GLM-5.4 on a real task this week, because the quota boost costs you nothing. If you don’t, wait for independent benchmarks and API pricing, since “on par with 3-trillion-parameter models” is a claim, not a result.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *