Overview
Z.ai's GLM-5.3 technical post made a clean distinction: memory-heavy tasks benefit from more parameters, while reasoning-heavy tasks benefit from more effective computation. Large software engineering, cybersecurity, 3D modelling and physical control all belong to the second category, where a model has to carry a multi-step causal chain forward while keeping the whole thing logically consistent, and no amount of parameter stacking gets you there. GLM-5.4, released on 23 November 2026, is the first flagship built on that judgement: 750 billion parameters, with an already-pretrained GLM-5 base converted into a Loop Transformer whose 28 layers share weights and run twice.
The conversion is the interesting part. Weight sharing is not new, Universal Transformer proposed it back in 2018 and recent work on recurrent depth validated the gain at small scale, but at equal pretraining compute a shared-weight model still trails an unshared one. So Z.ai did not pretrain from scratch. It took a finished model and trained it further into a recurrent structure, trading a modest amount of compute for a higher intelligence ceiling. The official claim is that it reaches the level of a 2 to 3 trillion parameter model. That claim comes without a public benchmark table and should be read as a directional statement.
Turning middle layers into a loop creates an immediate problem with activation scale. If each round overwrites the residual stream directly, the norm inflates with the number of rounds and downstream layers receive representations far from the distribution the original model knew. GLM-5.4 handles this with gated progressive updates: every round gets its own per-token gate that writes back a fraction of the candidate change. After training the gates settle into a division of labour. Round one builds the global context state and writes back gently at most positions to hold the scale steady. Round two reuses that state for refinement and opens the gate wider. The gate also scales its step with prediction difficulty, writing more in the first round at positions that are harder to predict.
Memory is the second obstacle. The naive approach keeps a separate KV cache per round, so memory grows with the loop count. GLM-5.4 shares KV across rounds and adds a sliding window to carry the local information generated in round two. The two paths can cover the same position, so the model reads both the first round's contextual representation and the second round's updated local one. The extra cost of another round is one window of cache rather than a full context copy. The third change reuses the sparse attention index, with round two inheriting the indexer output from round one instead of recomputing it. Z.ai reports that this performs almost identically to recomputing every round.
Validation ran up the scale ladder. The team checked the architecture at 1B, 4B, 30B and finally 750B to confirm the idea survives scaling. The most useful controlled result is on a 30B model with identical architecture to the 750B base: same parameter count, roughly 10 percent more total training compute, and a clear gain for the loop version over the baseline. Two findings were called out separately. The longer the reasoning chain, the bigger the benefit, with the largest gains in mathematical reasoning, long context and code, which are exactly what general coding depends on. And the loop lets the model think with fewer tokens, cutting average output length by 10 to 14 percent on GPQA and MMLU-Pro, mostly from the chain of thought. Some of the reasoning moves out of the token stream and into the extra depth.
Context length is 1M. Throughput is quoted at up to 200 tokens per second off peak and 70 to 80 during peak hours, which is not trivial for a multi-round architecture. It comes from structural choices that keep the second round nearly free in memory and index work, plus operator fusion that avoids shuffling intermediate results through memory.
The capability positioning is what Z.ai calls general coding. Code, in their framing, is becoming the substrate for a much wider range of tasks, and this release pushes past programming itself. The team ran 200 real-world programming scenarios and reports strength in visual coding, visual replication and long-horizon tasks. Three demos are concrete. A self-describing music video whose visuals are drawn entirely in front-end code with zero image assets, while the model planned the music by section and shot, called a third-party music generator and revised its own prompts across rounds. A 3D macro birdwatching scene built from pure mathematical geometry and custom GLSL shaders with no external models or textures, down to fluff, a breathing head tilt and a blinking nictitating membrane. And a six-axis robotic arm modelled in FreeCAD, animated in Blender, visualised and scored with synthesised audio.
Vision arrived with this release. The model list tags GLM-5.4 with 1M and vision, Coding Plan subscribers can select it by setting the model name to glm-5.4, and V2, V3 and team plan quotas rise to 1.5 times. Launch partners include ZCode, Trae, WorkBuddy, Qoder, Doubao Work, Qianwen Office, Miaoshou, MaDao, Baidu Dazi Enterprise, AiWork, TJ Codely and OpenCode.
Availability is staged. GLM Coding Plan users get it immediately, the API waits for a completed security assessment, and model weights are planned for release in what Z.ai calls a responsible manner, with no dates attached. This follows the GLM-5.3 precedent, where weights landed two weeks after the API because of the model's security capability.
Z.ai left two questions open: how to implement adaptive computation so tokens of different difficulty receive different amounts of compute, and how the payoff changes as loop count and model size keep growing. It also volunteered one behaviour worth knowing about. The model tends to fall into long deep-thinking stretches, which Z.ai argues keeps improving results because the model reflects and corrects itself mid-thought, exactly the ability long-horizon work needs. That is both an explanation and a warning: budget for the waiting time.
Key Features
- 28 layers looping twice: The GLM-5 base is converted so 28 layers share weights across two rounds, deepening the network without adding parameters. Z.ai claims intelligence comparable to a 2 to 3 trillion parameter model.
- Gated progressive updates: Each round has its own per-token gate that writes back a fraction of the candidate change, steadying scale in round one and refining with a wider gate in round two, with step size adjusted by prediction difficulty.
- Shared KV cache plus sliding window: Sparse KV is reused across rounds and a sliding window carries round two's local information, so an extra round costs one window of cache instead of a full context copy.
- Sparse attention index reuse: Round two inherits the index generated in round one rather than rebuilding it, which Z.ai reports performs nearly the same as recomputing.
- 1M context and vision: The model listing carries 1M and vision tags, covering long documents, repository-scale code understanding and image input.
- High throughput: Up to 200 tokens per second off peak and 70 to 80 at peak, held there by operator fusion and KV reuse rather than raw hardware.
- Coding pushed past programming: Front-end code that renders video frames, pure geometry and shaders for 3D scenes, and FreeCAD plus Blender for mechanical design and animation.
Use Cases
- Long-horizon software work such as multi-file refactors, migrations and defect repair across many rounds
- Visual replication, turning a screenshot or design into runnable front-end code
- Code-rendered video and 3D content, from animated frames to shader-built scenes
- Engineering modelling support for parametric CAD, mechanical structures and motion visualisation
- Long-context analysis over entire repositories, long documents and extended conversation history
- Coding Plan subscribers switching to glm-5.4 inside ZCode, Trae, Qoder and other launch platforms
Pros
- More reasoning depth at the same parameter count, with the clearest gains on long causal chains
- Three engineering changes bring the memory and retrieval overhead of looping close to negligible
- A same-parameter 30B control shows measurable gains for roughly 10 percent extra training compute
- Output tokens shrink rather than grow, with GPQA and MMLU-Pro lengths down 10 to 14 percent
- 1M context paired with 200 tokens per second off peak keeps long runs responsive
- Vision and a 1.5x Coding Plan quota arrive at launch, with no separate application needed
Pricing
GLM-5.4 is not sold per token right now. It is available to all GLM Coding Plan subscribers immediately, with V2, V3 and team plan quotas raised to 1.5 times, and plan pricing lives on the bigmodel.cn Coding Plan page. The API is planned for release after a security assessment, with no published pricing yet. Weights are planned for responsible open release at an unannounced date. For terminal access, ZCode is the native entry point, and the subscription route is bigmodel.cn/glm-coding.
Summary
GLM-5.4 is the first flagship to ship Z.ai's bet on computational depth. At 750 billion parameters with 28 shared layers looping twice and a 1M context, it holds the cost of looping down through gated progressive updates, shared KV with a sliding window, and sparse index reuse. The 2 to 3 trillion parameter comparison lacks a public benchmark table, but the same-parameter 30B control and the shorter output lengths are checkable claims. It suits long-horizon software engineering, visual replication and coding work that ends in video or 3D output, and Coding Plan subscribers can switch to glm-5.4 today. Teams that depend on the API or on downloadable weights will have to wait for the security assessment and the eventual release.
Version History
- GLM-5.4 launches as a 750B loop-architecture flagship (2026-11-23): GLM-5.4 arrives as a Loop Transformer with 750 billion parameters, 28 shared layers on the GLM-5 base running two rounds, a 1M context and new vision support, which Z.ai describes as reaching the 2 to 3 trillion parameter tier. The engineering work covers gated progressive updates, shared KV cache with a sliding window, and sparse attention index reuse. A same-parameter 30B control gains clearly from about 10 percent more training compute, and output length on GPQA and MMLU-Pro drops 10 to 14 percent. It is live for all GLM Coding Plan users and inside ZCode, Trae, WorkBuddy and Qoder, with the API pending a security assessment and weights planned for responsible release.