What Is GLM-5.4? Z.ai’s Loop Transformer Flagship Explained
GLM-5.4 is the new flagship AI model from Z.ai, the international brand of Chinese lab Zhipu AI — and it is built on an idea that sounds almost too simple to work: instead of making the model bigger, run the layers it already has a second time. Released on Monday 23 November 2026, it is the first flagship model built on what Z.ai calls a Loop Transformer, and the company claims the trick lets a 750-billion-parameter model think like one with two to three trillion parameters.
That claim is, for now, the company’s own. Z.ai published no benchmark table and no model card with the announcement, so the numbers in this guide are the maker’s claims until independent testing catches up. What is verifiable is the architecture, the access route, and the direction it points in — and that direction is the most interesting part of the release. This guide explains what GLM-5.4 is, how looping works, what it can do, and how to try it.

What is GLM-5.4?
GLM-5.4 is Z.ai’s flagship general-purpose model, succeeding GLM-5.3, which was released in August 2026. It is a multimodal model: it accepts text, image, video and file inputs and returns text, with a context window of one million tokens and a maximum output of 128,000 tokens, according to the company’s developer documentation. It adds vision to the GLM line, so it can read screenshots and images — a requirement for the visual coding work Z.ai is pitching it for.
The headline number is 750 billion parameters. That is large, but it is not the largest in its class: it sits below the trillion-plus frontier models from the biggest labs. Z.ai’s argument is that parameter count is the wrong number to watch. The model loops 28 layers of its GLM-5 base twice for every token, so each token passes through more computation than the parameter count alone suggests. The company says the result is intelligence comparable to models in the 2T–3T parameter range — a claim that, as noted above, has not yet been backed by published benchmarks.
Access is, for now, limited. GLM-5.4 is live for subscribers of the GLM Coding Plan, inside the company’s ZCode coding tool and in Z.ai Chat. API access is listed as coming soon, after a safety assessment, and Z.ai says it plans to open-source the weights after safety hardening, with no date given. Weekly quota subscribers get 50% more quota with GLM-5.4 than they did with GLM-5.3.
How the Loop Transformer works
A standard transformer passes each token through its layers once, in order. A looped transformer takes a block of layers and runs it several times, reusing the same weights on each pass, so the hidden state gets refined rather than simply handed forward. The idea is not new — the 2018 Universal Transformer proposed weight-shared depth — but until recently it had only been shown to work at small scales. Z.ai’s own note on the subject is candid: looped models trained from scratch still lag behind unshared models at the same pre-training compute budget. So instead of training from scratch, Z.ai took the already-trained GLM-5 base and converted it into a looped model through continued training.
Three engineering changes make the loop work at 750-billion-parameter scale. First, gated progressive updates: when middle layers are converted into a multi-pass loop, directly overwriting hidden states makes activation norms blow up, so GLM-5.4 adds independent per-token gates for each iteration, writing candidate updates back into the residual stream proportionally. The first pass writes conservatively, building global context; the second opens the gates and refines. Second, a hybrid key-value cache: a naive loop would multiply memory usage with each iteration, so the second loop reuses the sparse key-value entries selected in the first pass, keeping its own newly generated entries only in a local sliding window — an extra loop costs one sliding window of cache, not a full context cache. Third, sparse attention index reuse: the base model uses sparse attention, and the second loop reuses the attention indices generated by the first, adding no indexing overhead.
Before committing its flagship to the architecture, Z.ai validated it progressively at 1 billion, 4 billion, 30 billion and 750 billion parameters. In a controlled test at 30 billion parameters — the same architecture, the same parameter count, only about 10% more total training compute — the looped version showed its largest gains on long reasoning chains: maths, scientific reasoning and long-context tasks. It also spent fewer tokens thinking: average output length fell by 10–14% on benchmarks such as GPQA-Diamond and MMLU-Pro, because part of the reasoning shifts from explicit written steps into the implicit depth of the loop.
Generalised Coding: what it can do
Z.ai’s pitch for GLM-5.4 goes under the name Generalised Coding: code as the foundation for solving a much wider range of tasks than software development. Since early 2025 the company has pushed coding into agentic engineering, long-horizon tasks and cybersecurity; GLM-5.4 is meant to extend that reach into video, games, engineering and 3D design.
The launch demonstrations are chosen to make that point. The model produced a self-narrated “Hello World” music video by writing code; built a six-axis robotic arm through engineering-grade CAD modelling in FreeCAD; created a complete game with character movement, physics, maps, combat systems and art assets; and generated an interactive 3D bird-watching scene from pure mathematical geometry and custom GLSL shaders. These are demonstrations, not benchmarks — they show what the model can be prompted to do, not how reliably it does it — but they sketch the ambition clearly: a model that treats code as a general tool for making things, not just programs.
On speed, Z.ai says GLM-5.4 reaches up to 200 tokens per second off-peak and holds 70–80 tokens per second under load — fast for a model of this size, and a practical necessity if the loops are not to make it feel sluggish. The company also published a win-rate chart comparing GLM-5.4 with three other models, but without the underlying benchmark table the chart is a claim, not evidence.
How to try GLM-5.4
There are three routes in today, all through Z.ai’s own services:
- GLM Coding Plan — the subscription that gives access to the model in the company’s coding tools. Z.ai says weekly quota is 50% higher than for GLM-5.3.
- ZCode — Z.ai’s coding agent, where the model appears as glm-5.4[1m] in Claude Code and glm-5.4 in other tools.
- Z.ai Chat — the company’s chat interface, for general use rather than agentic coding.
What you cannot do yet is call it through a public API — that is coming after a safety assessment — or download the weights, which Z.ai says will follow after safety hardening, with no date. If you want to test it, start with a task you can check: a coding job with a known-correct answer, or a CAD or 3D generation task where the output is visible. And watch the clock: the company’s own warning is that the model can fall into overly long “marathon thinking” loops, so set limits on reasoning effort and output length before handing it a long job.

GLM-5.4 vs Inkling 2 Mini: the loop goes mainstream
GLM-5.4 is the second looped flagship in four days. Thinking Machines Lab’s Inkling 2 Mini, released on 20 November, loops its two middle blocks three times per token in a 26.4-billion-parameter model small enough to run offline on a laptop. GLM-5.4 loops 28 layers twice in a model nearly thirty times larger, behind a subscription. The two releases share an architecture and a thesis — that computational depth can substitute for parameter count — but they point in opposite directions on access: one is downloadable and open, the other is hosted and gated.
The comparison that matters most for users is with the models GLM-5.4 is meant to rival. Against Alibaba’s Qwen4-Max, the other Chinese flagship of the month, GLM-5.4’s case rests on its loop architecture and its vision-led coding demos rather than on published scores — Qwen4-Max arrived with a conventional scale story and pay-as-you-go API pricing. Against the closed frontier models — OpenAI’s GPT-6.2 Astra and Google’s Gemini 4 Neon, both released the same week — GLM-5.4 has no published benchmark table at all yet, so any ranking today would be guesswork. The honest position is that Z.ai has made a bold architectural bet in public and has not yet shown the receipts.
The limits to know first
Three limits deserve attention before anyone relies on GLM-5.4. First, the evidence gap: no model card, no benchmark figures and no weights as of the announcement, and every performance number is vendor-reported. Treat the 2T–3T comparison as a hypothesis, not a result. Second, the marathon-thinking problem the company itself discloses — the model can get stuck in overly long reflection loops, which costs time and tokens even if it usually improves accuracy. Third, access: no public API and no open weights yet, so for now you use it on Z.ai’s terms, inside Z.ai’s tools, under a subscription.
There is also a broader question the release raises. Looping lets a model do more reasoning inside itself without writing it down, which in principle could make it harder to monitor — the same question Thinking Machines Lab studied openly with Inkling 2 Mini, concluding that at small scale looping does not meaningfully reduce monitorability. Z.ai has not published equivalent research, so that question is unanswered for GLM-5.4.
Who should use it — and who should wait
GLM-5.4 fits developers already inside Z.ai’s ecosystem — GLM Coding Plan subscribers and ZCode users — who want to test whether the loop architecture actually helps on long coding, engineering or 3D tasks, and researchers interested in looped transformers at flagship scale. It also fits anyone curious about Generalised Coding as an idea: the demos are genuinely different from a standard code-generation pitch.
Everyone else should wait for the benchmarks. If you need a model with independently verified scores, a public API, or downloadable weights, GLM-5.4 does not offer any of those yet. And if you are choosing between the month’s Chinese flagships on evidence alone, Qwen4-Max is the one with published pricing and API access today.
What to watch next
The first thing to watch is whether Z.ai publishes the promised benchmark scores — and whether they hold up when others run them. The second is the API: public access would let independent researchers test the model properly. The third is the open weights, which Z.ai says will follow after safety hardening. And the fourth is the loop itself: if GLM-5.4’s numbers check out, expect every major lab to say something about depth-versus-size within months. If they do not, the loop will be remembered as an interesting November experiment.
For now, GLM-5.4 is best understood as a bet made in public: that the next leap in AI comes not from bigger models, but from models that think longer with what they already have.
Related news coverage: our news report on the GLM-5.4 launch