AI News

GLM-5.4: Z.ai's 750B Loop Transformer — What It Really Is (and What the 2T-3T Claim Is Missing)

By Asad Ali ·

12 min read

GLM-5.4 Loop Transformer cover image showing Z.ai's 750-billion-parameter model architecture

Z.ai's GLM-5.4 is a roughly 750-billion-parameter model that runs the same block of 28 layers twice on every forward pass — a design Z.ai calls a Loop Transformer. The company says it reaches "intelligence levels comparable to 2T–3T parameter models," but as of 25 November 2026 it has published no benchmark table for the flagship itself, the weights are not open, and the pay-as-you-go API is still "coming soon." This post explains what the loop actually does, what the headline claim is missing, and how to try the model today.

The short version

  • What it is: GLM-5.4, Z.ai's first flagship built on a Loop Transformer, released 23 November 2026.
  • The trick: 28 of its 78 stored layers run twice per token, so the model performs 106 layer passes from 78 layers' worth of weights — deeper, without adding parameters.
  • The headline claim: Z.ai says the 750B-scale model is comparable to 2T–3T parameter models. That is the company's own framing; no independent benchmark has scored GLM-5.4 yet.
  • How to try it: through the GLM Coding Plan (from $18/month, per Z.ai's Coding Plan page as read 24 November 2026), ZCode, or Z.ai Chat. The model ID is glm-5.4; in Claude Code, glm-5.4[1m] turns on the 1M-token context window.
  • What is missing: open weights (planned "after completing necessary safety hardening," no date), a pay-as-you-go API (listed as "Coming Soon"), and any flagship benchmark table.

What a Loop Transformer actually does

In a standard Transformer, every layer runs once per forward pass. In a Loop Transformer, a group of weight-shared layers runs more than once, and each pass refines what the previous pass produced. Z.ai puts it plainly in the launch post: "In a standard Transformer, each layer runs once per forward pass. In a Loop Transformer, a group of weight-shared layers runs for multiple iterations."

GLM-5.4's layout, from the architecture diagram in Z.ai's launch post, is four groups of layers:

How GLM-5.4 loops: 78 stored layers, 106 passes per tokensecond pass, same weightsPrelude26 layersruns onceLoop block28 layersruns TWICECoda24 layersruns once26 + (28 × 2) + 24 = 106 layer passes per tokenPer-token gates control each pass · Pass 2 reuses pass 1's KV cache

The arithmetic is simple: 26 prelude layers + 28 looped layers run twice (56 passes) + 24 coda layers = 106 layer passes per token from 78 stored layers. Z.ai did not train this design from scratch. It took the already-trained GLM-5 base — a mixture-of-experts model with 744 billion total parameters and 40 billion active per token, per The Decoder's account of the design — and converted it into a looped model with continued training. Z.ai says looped models trained from scratch still trail unshared models on the same amount of training compute, which is why the conversion route mattered.

Three engineering fixes keep the extra pass affordable:

  • Per-token gates. Reusing a block of layers creates a stability problem: each pass writes back into the same residual stream, and without control the activations can grow and drift. A gate after each pass decides how much of the new output is written back.
  • A shared KV cache. The second pass reuses the first pass's key-value cache and adds only a small sliding window of fresh local context. Z.ai's words: "an extra loop only costs one sliding window of KV cache rather than a full context cache."
  • Reused sparse attention. Instead of looking at every earlier token, the model picks the most relevant ones with an indexer, and the second pass reuses the first pass's selection.

Z.ai also credits the history: the launch post points back to the 2018 Universal Transformer and later work on recurrent depth. GLM-5.4 is not the first looped model of the month, either — Thinking Machines' Inkling 2 Mini, a 26.4B-parameter looped model, arrived days earlier. The difference is scale: GLM-5.4 runs the idea at the 750B scale.

The 2T–3T claim: what is real and what is hype

The claim that a 750B model reasons like a 2T–3T model is the headline, and it is also the least supported part of the announcement. Here is what the evidence actually looks like.

ClaimStatus
"Intelligence comparable to 2T–3T parameter models"Z.ai's own framing. No flagship benchmark table in the launch post; no independent evaluator has scored GLM-5.4 (Artificial Analysis, ARC Prize, LMArena, SWE-bench, LiveCodeBench and Terminal-Bench all still stop at GLM-5.3).
Looping improves a 30B model with the same architecturePublished ablation: identical parameters, about 10% more training compute, and the looped version improved every benchmark shown by 3.3 to 11.3 points. Real evidence — but for a 30B test model, not the 750B flagship.
Looping validated at 1B, 4B, 30B and 750B scalesZ.ai's claim. Only the 30B run has published data; the 750B validation is asserted, not shown.
Loops recover a fraction of true depthIndependent context: a single-author paper submitted 22 November 2026 ("Loop-Count Schedules in Looped Transformers") trained small models (46M–110M) and found loops recover about 35% of real depth at three blocks and 24% at six. Small-scale research, not a test of GLM-5.4 — but a reason to read "comparable to 3T" as marketing, not measurement.
"HN reaction: over 1,000 points on launch day"Verified: the Hacker News thread finished launch day at 1,084 points and 351 comments — the loudest technical item of the window, and a sign of how much the architecture itself interests developers, whatever the benchmark gap.

The honest summary: looping is a real, interesting mechanism, and Z.ai's own 30B ablation shows it helps. But "comparable to 2T–3T" is a ratio with no public measurement behind it. The claim becomes checkable the moment any independent index scores GLM-5.4 — and until then, every number attached to the model is Z.ai's own.

Generalized Coding: what Z.ai wants it for

GLM-5.4 is a coding model first, but Z.ai is aiming it at what it calls "Generalized Coding": using code as the execution layer for work that used to need specialised creative and engineering tools. The launch post's demos show the model coding a narrated music video, a 6-axis robotic arm in FreeCAD, a complete game, and a GLSL-shaded 3D scene.

Two things make that pitch possible. First, the model is multimodal: it accepts text, images, video and files, with a 1-million-token context window and up to 128,000 tokens of output. Second, it adds native vision to the flagship tier, so it can read screenshots and images — something GLM-5.3 could not do. For a developer, the practical version of that is simple: paste a screenshot of a broken UI and the model can see the bug, not just read your description of it.

On speed, Z.ai reports up to 200 tokens per second off-peak and 70–80 tokens per second at peak load. Those are the company's own figures, and they describe the hosted service, not a local run — there is no local run yet, because the weights are not released.

How to try GLM-5.4 today

There are three working routes right now, and two that are not open yet:

RouteStatus (25 Nov 2026)Notes
GLM Coding PlanLiveFrom $18/month. Unlocks GLM-5.4 inside Claude Code, Codex, OpenCode, Cursor, Cline and Kilo Code. Points-based: GLM-5.4 deducts a third fewer points than GLM-5.3, so the same quota runs about 1.5× as much.
ZCode / Z.ai ChatLiveZ.ai's own environment and chat product. No separate API key needed.
Claude CodeLiveModel ID glm-5.4; use glm-5.4[1m] for the full 1M context window. Check with /status after switching.
Pay-as-you-go Model APIComing soonZ.ai's model page: "The Model API will be made available upon completion of the security assessment." No date given.
Open weightsNot releasedPlanned "after completing necessary safety hardening." No date, no download.

In Claude Code, add the model to your settings file (merge these keys into ~/.claude/settings.json — do not replace the file):

{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.z.ai/api/anthropic",
    "ANTHROPIC_AUTH_TOKEN": "YOUR_GLM_CODING_PLAN_KEY",
    "ANTHROPIC_MODEL": "glm-5.4[1m]",
    "CLAUDE_CODE_AUTO_COMPACT_WINDOW": "1000000"
  }
}

Two practical warnings from the launch itself. First, the Coding Plan's usage policy says the plan "may only be used within officially supported tools and products," and repeat violations can lead to rate limits, a frozen account, or a ban — so do not pipe the plan's key into an unsupported wrapper. Second, Z.ai is a Beijing company, and requests sent to its hosted service are handled under Chinese law, including the National Intelligence Law's Article 7 — worth knowing before you paste proprietary code into it.

What you cannot do yet — and the marathon thinking problem

Z.ai names one limitation itself, and it is worth taking seriously: GLM-5.4 "tends to get caught in overly long 'marathon thinking' loops." A model that re-reads its own reasoning twice per token can also re-reason for a very long time before answering. Z.ai says the extra self-correction still lifts accuracy, but for interactive coding work, a model that thinks in marathons is a model that keeps you waiting.

The other limits are the ones above: no open weights, no pay-as-you-go API, and no independent benchmark. That combination means GLM-5.4 is currently a subscription product you can test, not a model you can own, measure, or build a product on top of. If you need a model you can self-host or put behind your own API today, this is not it — yet.

Who should try it, and who should wait

Try it now if you already use Claude Code, Cursor, or a similar tool and want to test whether a looped 750B model writes better code than the models you pay for today — the Coding Plan's points math makes the experiment cheap, and the 1M context window is genuinely useful for large codebases.

Wait if you need open weights, an API with a published price, or independent benchmark scores before you commit. All three are promised or pending, none has a date. Check back when the weights land or when Artificial Analysis, LMArena, or SWE-bench publish a GLM-5.4 score — that is the day the 2T–3T claim stops being a claim.

Either way, the architecture is the real story here. If looping at 750B scale holds up under independent testing, it changes the economics of building big models: depth without the parameter bill. If it does not, GLM-5.4 will still have been the release that made the whole field argue about loops for a week. Both outcomes are worth watching.

Frequently Asked Questions

What is GLM-5.4?

GLM-5.4 is Z.ai's flagship AI model, released 23 November 2026. It is built on a Loop Transformer: 28 layers of the roughly 750-billion-parameter GLM-5 base model run twice per forward pass, giving the network more depth without adding parameters. It is aimed at coding and at "Generalized Coding" — using code to build games, videos, CAD designs and 3D scenes.

Is GLM-5.4 really as good as a 2T–3T parameter model?

That is Z.ai's claim, not a measured result. The launch post contains no benchmark table for the 750B flagship, and no independent evaluator had scored GLM-5.4 as of 25 November 2026. Z.ai's published evidence is a controlled test on a 30B model with the same architecture, where looping improved benchmarks by 3.3 to 11.3 points at about 10% more training compute.

Is GLM-5.4 open source?

Not yet. Z.ai says it plans to open-source the weights "after completing necessary safety hardening," with no date given. As of 25 November 2026, the only way to run it is through Z.ai's own products and the GLM Coding Plan.

How do I use GLM-5.4 in Claude Code?

Subscribe to the GLM Coding Plan, then set the model to glm-5.4 (or glm-5.4[1m] for the full 1M-token context window) in your Claude Code settings. Run /status after switching to confirm the model line reads glm-5.4 or glm-5.4[1m].

What is "marathon thinking" in GLM-5.4?

It is Z.ai's own name for a limitation of the model: GLM-5.4 sometimes gets caught in overly long reasoning loops before answering. Z.ai says the extra self-correction still lifts accuracy, but it can make responses slow.

How much does the GLM Coding Plan cost?

From $18 per month, according to Z.ai's Coding Plan overview as read on 24 November 2026. The plan is points-based, and GLM-5.4 deducts about a third fewer points than GLM-5.3, so the same quota runs roughly 1.5 times as much. The pay-as-you-go API is listed as "Coming Soon" with no price published.

What is a Loop Transformer?

A Transformer that runs a block of weight-shared layers more than once per token. Each pass refines the hidden states the previous pass produced, so the network gets deeper without storing more weights. Z.ai credits the 2018 Universal Transformer as the origin of the idea.

Sources

  • Z.ai, "GLM-5.4: Toward Generalized Coding with Our First Loop Transformer," z.ai/blog/glm-5.4, 23 November 2026 (launch post; all model figures are Z.ai's own unless noted).
  • TechRepublic, "Z.ai GLM-5.4: What Developers Should Test," 24 November 2026.
  • TechFeatured, "GLM-5.4 Is Z.ai's 750B Bet That Looping Beats Getting Bigger," 24 November 2026.
  • ApiDog, "What Is GLM-5.4? Z.ai's First Loop Transformer for Coding" and "How to Use the GLM-5.4 API," 24 November 2026.
  • ForkLog, "Z.ai Unveils AI Model with Layer Reuse," 24 November 2026.
  • Dealroom, "Z.ai's GLM-5.4 loops layers to rival 2-3T models at 750B parameters," 24 November 2026.
  • AI Brief, 24 November 2026 (Hacker News thread: 1,084 points, 351 comments; independent-evaluator status).
  • IPv6 Press, "Zhipu's GLM-5.4 Is Here," 24 November 2026 (Coding Plan points math).
  • Kolokolov, Konstantin, "Loop-Count Schedules in Looped Transformers," submitted 22 November 2026 (independent small-scale loop research).

Want help putting a new AI model to work in your own product? Talk to Asad Webs — we build web apps, AI integrations and developer tools for teams in the USA, UK, UAE, KSA and Spain.

Related reading: Colibri: Run 744B AI Models on Your Potato PC · Google Gemini 4 Carbon: What the New Flagship Actually Does · Google Labs Stitch Skills: Design UI With Claude Code · Browse all free tools.

Category: AI News

Tags: ai-news · technology · free-tools

About Asad Ali

Asad Ali is a graphics designer with over 20 years of experience — designing since 2003 — and the founder of Asad Webs, based in Pakistan. He builds the free online tools on this site and writes the guides published here.

LinkedIn Facebook Website
KEEP READING

Next guide

Nvidia Reinstates Jensen Huang as CEO 11 Days After His Resignation — and the Internet Jokes He Took Time Off to Play GTA 6 →

Related articles

Join the conversation

No account needed. Comments appear only after approval. Your email address will not be published.

Be the first to share a useful question or thought.

You won’t be subscribed to any mailing list.
WELCOME BACK

Sign in

Access your orders, saved products and account.