Z AI Releases GLM-5.4: A 750B Loop Transformer That Runs 28 Layers Twice

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…

By Vane November 23, 2026 4 min read

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.

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+ LoopGainAvg. output length change
AIME2519.1730.42+11.3-635 tokens (-2%)
GPQA-Diamond47.5856.26+8.7-2,473 tokens (-11.7%)
AA-LCR40.3347.67+7.3-539 tokens (-9.7%)
MMLU-Pro71.6575.05+3.4-863 tokens (-14.9%)
IFBench50.2053.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

FeatureGLM-5.4 (Z.ai)GLM-5.3 (Z.ai docs)Kimi K3.1 Pro (HF)DeepSeek-V4.1-Flash (HF)
ArchitectureLoop Transformer: 28 GLM-5 layers x 2 passesSame base as GLM-5.2, new post-trainingMoEMoE
Total params750B scaleNot disclosed2.8T552B backbone + 196B Engram memory
Active paramsNot disclosedNot disclosed104B8B prefill / 16B decode
ContextNot officially listed (blog cites 1M deployment)1M (128K max output)1,048,576Up to 1M
InputNot disclosed (vision gains claimed)TextText, imageText, image
License / weightsWeights planned after safety hardeningNot stated on docs pageKimi K3.1 Pro License, weights on HFMIT, weights on HF
AccessCoding Plan, ZCode, Z.ai Chat; API soonAPI, Coding PlanKimi API and appsHF weights, DeepSeek API
Published scores30B ablation onlyTerminal-Bench 3.0: 28.3On model cardDeepSWE 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.

Scroll to Top