Z.ai Debuts Loop Transformer in GLM-5.4, Claims 2–3 Trillion Parameter Performance at 750 Billion
Chinese AI company Z.ai, also known as Zhipu AI, released GLM-5.4 on November 23, becoming the first Chinese lab to publicly disclose a "looped transformer" architecture in a flagship model [1]. The 750-billion-parameter model reuses a block of 28 layers from its GLM-5 base twice per forward pass, effectively deepening the network without adding parameters [3][9].
The approach mirrors reports that OpenAI adopted a similar design for its GPT-6 Astra model, though OpenAI has not confirmed those reports [1]. The Decoder separately reports that OpenAI has used a similar architecture since GPT-6 Astra as a matter of fact [7]. Z.ai says the technique let it "aggressively" raise the intelligence ceiling over the past three months, targeting reasoning-heavy tasks such as mathematics, science, coding and long-context work [1][9].
How the loop works
In a standard transformer, each layer processes tokens once. GLM-5.4 runs layers 27–54 of the GLM-5 base model for two iterations, refining hidden states on the second pass [7]. Z.ai adapted the already pre-trained base through continued training rather than training a looped model from scratch, which it says still trails conventional models at the same compute budget [3][9].
Three engineering changes keep the second pass tractable at 750B scale:
- Per-token gates regulate how much each iteration writes back to the residual stream, preventing activation norms from blowing up across passes [7][9].
- Hybrid KV cache: the second loop reuses the first pass's sparse key-value cache and adds only a local sliding window, so memory grows by one window instead of a full context duplicate [7][9].
- Sparse attention index reuse: the second pass reuses the first pass's attention indices, adding near-zero indexing overhead [9].
Z.ai says the model reaches up to 200 tokens/second off-peak and 70–80 tokens/second under load, aided by fused inference kernels [7][9].
Claims outpace published evidence
Z.ai states GLM-5.4 matches the reasoning performance of 2–3 trillion parameter models [1][3][5][9]. The only detailed benchmarks come from a controlled 30B-parameter ablation: with ~10% more training compute, the looped version lifted AIME 2025 math from 19.17% to 30.42% and GPQA-Diamond science from 47.58% to 56.26% (percentage gains reported by Yahoo) [6], while the same test showed long-context AA-LCR rising from 40.3 to 47.7 points (The Decoder reports points on an unspecified scale) [7]. Output tokens fell 10–14% on GPQA-Diamond and MMLU-Pro [7][9]. No flagship-scale benchmarks for the 750B model have been published; a company team member said they would come later [3][8].
An independent run on KingBench 4, a coding benchmark by YouTuber AICodeKing, placed GLM-5.4 seventh of 19 models (33.2/60), but it required 431 minutes and 1,128 steps versus 109 minutes and 244 steps for Google's Gemini 4 Neon — a single test run, not a broad evaluation [8].
Safety and transparency trade-offs
Looped transformers shift reasoning from visible chain-of-thought tokens into internal passes, making the decision process harder to inspect [1][3]. Z.ai's blog notes average output length dropped up to 14% on key benchmarks: "part of the reasoning shifts from explicit output tokens into the implicit depth of the loop" [9]. OpenAI chief scientist Jakub Pachocki acknowledged safety concerns, and a company representative called the transparency decline "a real challenge that [it] takes seriously" [1].
Z.ai has restricted GLM-5.4 to its own chatbot, coding service (ZCode) and GLM Coding Plan subscribers. API access is "coming soon" after a safety evaluation; open weights are promised after "necessary safety hardening" with no date given [1][3][9]. The company also flags a tendency toward "marathon thinking" loops that improve accuracy but increase latency and compute [7][8][9].
Hardware context and roadmap
Z.ai has been on the U.S. Commerce Department Entity List since January 2025. The GLM-5 base model was trained on roughly 100,000 Huawei Ascend 910B processors using Huawei's MindSpore framework, not Nvidia hardware [8]. A JPMorgan research note cited an internal roadmap indicating GLM-5.4 would "verify training performance" ahead of a 3-trillion-parameter release by year-end aimed at "reaching the global frontier" [1]. Z.ai's blog confirms the next model will be "significantly larger" and "ready soon" [9].
What remains unknown
- Full benchmark suite for GLM-5.4 750B (only 30B ablations and one independent coding test exist) [3][8].
- API pricing and exact availability timeline [3][6].
- Whether the loop architecture scales cleanly to 3T parameters on Huawei hardware.
- Independent safety evaluations of the reduced-token reasoning mode.
Z.ai's release is a rare public disclosure of a looped transformer at scale. The architecture delivers measurable gains on a 30B proxy, but the flagship claim — 2–3T performance at 750B — rests on company statements without published verification.
Sources
- China's Z.ai 'aggressively' using looped transformer method to ... (scmp.com)
- Z.ai Debuts GLM-5.4 With a Novel Looped Transformer Architecture ... (wccftech.com)
- Z.ai launches GLM-5.4, a 750 billion-parameter model built on a looped ... (mlq.ai)
- Z.ai ran the same 28 layers twice — and claims its 750B model can rival a 3- ... (thenewstack.io)
- Z.ai's GLM-5.4 loops layers to rival 2-3T models at 750B parameters (dealroom.co)
- China's Z.ai Says Its New AI Model Can Think Like One Four Times Its Size (tech.yahoo.com)
- Z.ai follows OpenAI into loop transformer territory with its new ... (the-decoder.com)
- Z.ai's GLM-5.4 Thinks in Loops | Trending Topics (trendingtopics.eu)
- GLM-5.4: Toward Generalized Coding with Our First Loop Transformer (z.ai)