Z.ai Releases GLM-5.4, Its First Loop Transformer Flagship, Claiming 2T–3T-Class Intelligence
Z.ai released GLM-5.4, its first flagship built on the Loop Transformer architecture: 28 layers of the GLM-5 base model run for two iterations, and the company claims 750B-scale GLM-5.4 matches the intelligence of 2T–3T parameter models. To control deployment cost it adds per-token gated progressive updates, a hybrid KV cache that reuses the first pass's sparse KV alongside an independent sliding window, and sparse attention index reuse; Z.ai says an extra loop costs only one sliding window of KV cache, keeping the deployment cost increase at 1M context under control relative to GLM-5.3. Z.ai reports validating the loop architecture progressively at 1B, 4B, 30B and 750B, with a 30B iso-parameter ablation showing the largest gains in math, scientific reasoning and long-context tasks at roughly 10% extra training compute, and 10–14% shorter average outputs on benchmarks such as GPQA-Diamond and MMLU-Pro. Inference reaches up to 200 tokens/s off-peak and 70–80 tokens/s at peak. The model is usable through GLM Coding Plan, ZCode and Z.ai Chat; the API is marked as coming soon, and weights are planned for release after safety hardening. Z.ai also acknowledges a known limitation: the model can get caught in overly long "marathon thinking" loops.
- GLM-5.4 is the first flagship built on Loop Transformer: 28 layers of the 750B GLM-5 base run for two iterations, which Z.ai claims brings it to the intelligence level of 2T–3T parameter models.
- Architecture changes include per-token gated progressive updates, a hybrid KV cache reusing first-pass sparse KV plus an independent sliding window, and sparse attention index reuse; an extra loop costs only one sliding window of KV, keeping 1M-context deployment cost growth controlled.
- The loop architecture was validated at 1B, 4B, 30B and 750B; a 30B iso-parameter comparison with about 10% more training compute shows the largest gains in math, scientific reasoning and long-context tasks, with average output length down 10–14% on benchmarks such as GPQA-Diamond and MMLU-Pro.
- Throughput reaches up to 200 tokens/s off-peak and 70–80 tokens/s at peak; "Generalized Coding" demos cover a self-narrated music video, a 6-axis robotic arm modeled in FreeCAD, a complete game and an interactive 3D bird-watching experience.
- Available through GLM Coding Plan, ZCode and Z.ai Chat; the API is marked coming soon and weights are planned for open release after safety hardening; Z.ai acknowledges a known limitation of overly long "marathon thinking" loops.