ChengRang

GLM-5.4

AI Models Freemium
This page covers a version or sub-product of GLM. View GLM overview →

Zhipu flagship released 2026/11/23: 750B parameters built by converting a pretrained GLM-5 base into a Loop Transformer whose 28 layers share weights and run twice, with 1M context and vision added. Gated progressive update, globally shared KV cache with sliding window, and sparse attention index reuse let a 30B same-parameter control gain markedly with about 10% more training compute. 200 tokens per second off peak, open to GLM Coding Plan immediately, API and weights pending safety review

Large ModelLooped TransformerLong ContextCode GenerationDomestic Model
Visit GLM-5.4

Disclaimer: Review content represents our editorial team's views and experience, not commercial recommendation or investment advice. Product info and pricing may change; refer to official sources.

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

Use Cases

Pros

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

Category
AI Models
Pricing
Freemium
Tags
Large Model · Looped Transformer · Long Context
Website

Related Tools