Z.ai has launched GLM-5.4, a 750B-scale model that runs 28 layers twice per pass. The company claims the architecture delivers intelligence comparable to models with 2 to 3 trillion parameters. While the flagship weights remain unreleased, the model is currently available within Z.ai’s own products, including the GLM Coding Plan, ZCode desktop app, and Z.ai Chat.
In this article
Technical approach
Z.ai did not train the model from scratch. They adapted the pre-trained GLM-5 base through continued training. The technical blog notes that looped models trained from zero typically underperform unshared models at equal compute. Adapting an existing base raises the ceiling with a relatively small compute overhead.
To keep the system practical at scale, Z.ai implemented three specific changes:
Gated progressive updates
Overwriting hidden states across loops can cause activation norms to explode. GLM-5.4 adds independent per-token gates for each iteration. The first pass writes small updates and builds global context. The second pass opens the gates to refine the output. On harder tokens, the first pass writes more aggressively.
Hybrid KV cache
A naive design keeps a full KV cache for every loop. GLM-5.4’s second loop reuses the sparse KV selected in pass 1. It keeps its own new KV only inside a local sliding window. Z.ai says this keeps the cost increase over GLM-5.3 under control at 1M context.
Sparse attention index reuse
The second loop reuses the indices from the first loop’s indexer. That adds zero indexing overhead. Z.ai reports near-identical results versus recomputing indices on every pass.
Benchmark performance
Z.ai has not published benchmark scores for the 750B GLM-5.4 model. A Z.ai team member said scores will come later, per DataCamp. The evidence in the blog is an iso-parameter ablation on a 30B model. It shares the 750B base’s architecture. The looped version used about 10% more total training compute. Scores were measured after 200K long-context SFT with thinking mode on.
| Benchmark (30B ablation) | Baseline | + Loop | Gain | Avg. output length change |
|---|---|---|---|---|
| AIME25 | 19.17 | 30.42 | +11.3 | -635 tokens (-2%) |
| GPQA-Diamond | 47.58 | 56.26 | +8.7 | -2,473 tokens (-11.7%) |
| AA-LCR | 40.33 | 47.67 | +7.3 | -539 tokens (-9.7%) |
| MMLU-Pro | 71.65 | 75.05 | +3.4 | -863 tokens (-14.9%) |
| IFBench | 50.20 | 53.47 | +3.3 | -763 tokens (-13.0%) |
Source: Z.ai GLM-5.4 blog. Self-reported, 30B model, not the 750B flagship.
Two patterns stand out. The largest gains come in math, science reasoning and long context. Output length also falls on most tasks. MMLU-Pro answers got 14.9% shorter and GPQA-Diamond answers 11.7% shorter. Z.ai says part of the reasoning moves into the loop’s implicit depth. AIME25 is the exception: output length dropped only 2%.
Z.ai validated the design on 1B, 4B, 30B and 750B bases. The ‘2T-3T parameter’ claim has no flagship table behind it yet.
Generalized Coding demos
Z.ai calls this direction Generalized Coding. It credits gains in both coding and vision. The technical sections shows four demos:
- Video: a self-narrated music video called “Hello World”.
- Engineering: a 6-axis robotic arm built through CAD modeling in FreeCAD.
- Games: a complete game with movement, physics, maps, combat and art assets.
- 3D: an interactive bird-watching scene built with math geometry and custom GLSL shaders.
These are vendor demos, not benchmarks.
Speed and access
Z.ai reports up to 200 tokens/s off-peak and 70-80 tokens/s at peak load. It fused core kernels to cut intermediate memory traffic.
Access today runs through the GLM Coding Plan, ZCode and Z.ai Chat. ZCode is Z.ai’s desktop agent harness for GLM-5.4. It runs on macOS, Windows and Linux (Beta). The Coding Plan lists Lite at $12.6/month, Pro at $56 and Max at $117.6. Z.ai says prices may change.
Comparison with other frontier models
| Feature | GLM-5.4 (Z.ai) | GLM-5.3 (Z.ai docs) | Kimi K3.1 Pro (HF) | DeepSeek-V4.1-Flash (HF) |
|---|---|---|---|---|
| Architecture | Loop Transformer: 28 GLM-5 layers x 2 passes | Same base as GLM-5.2, new post-training | MoE | MoE |
| Total params | 750B scale | Not disclosed | 2.8T | 552B backbone + 196B Engram memory |
| Active params | Not disclosed | Not disclosed | 104B | 8B prefill / 16B decode |
| Context | Not officially listed (blog cites 1M deployment) | 1M (128K max output) | 1,048,576 | Up to 1M |
| Input | Not disclosed (vision gains claimed) | Text | Text, image | Text, image |
| License / weights | Weights planned after safety hardening | Not stated on docs page | Kimi K3.1 Pro License, weights on HF | MIT, weights on HF |
| Access | Coding Plan, ZCode, Z.ai Chat; API soon | API, Coding Plan | Kimi API and apps | HF weights, DeepSeek API |
| Published scores | 30B ablation only | Terminal-Bench 3.0: 28.3 | On model card | DeepSWE v1.1: 74.2 (NVIDIA card) |
What it means
Developers currently have access only through Z.ai’s proprietary interface. There is no public API or open weights available at this stage. The company plans to release weights after safety hardening. Until then, the model remains a closed product feature rather than a research tool for independent experimentation.


