# Z.ai Debuts Loop Transformer in GLM-5.4, Claims 2–3 Trillion Parameter Performance at 750 Billion

> Source: <https://epyhia.com/z-ai-debuts-loop-transformer-in-glm-5-4-claims-2-3-trillion-parameter>
> Published: 2026-11-24 09:19:45+00:00

**Key takeaway:** Z.ai's GLM-5.4 reuses layers 27–54 of its GLM-5 base for two passes, using per-token gates, a hybrid KV cache that adds only a local sliding window, and reused sparse attention indices to deepen the network without adding parameters.

# 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\]](https://www.scmp.com/tech/big-tech/article/3375517/chinas-zai-aggressively-using-looped-transformer-method-improve-ai-models). 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\]](https://mlq.ai/news/zai-launches-glm-54-a-750-billion-parameter-model-built-on-a-looped-transformer)[\[9\]](https://z.ai/blog/glm-5.4).

The approach mirrors reports that OpenAI adopted a similar design for its GPT-6 Astra model, though OpenAI has not confirmed those reports [\[1\]](https://www.scmp.com/tech/big-tech/article/3375517/chinas-zai-aggressively-using-looped-transformer-method-improve-ai-models). The Decoder separately reports that OpenAI has used a similar architecture since GPT-6 Astra as a matter of fact [\[7\]](https://the-decoder.com/z-ai-follows-openai-into-loop-transformer-territory-with-its-new-750b-flagship-model). 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\]](https://www.scmp.com/tech/big-tech/article/3375517/chinas-zai-aggressively-using-looped-transformer-method-improve-ai-models)[\[9\]](https://z.ai/blog/glm-5.4).

## 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\]](https://the-decoder.com/z-ai-follows-openai-into-loop-transformer-territory-with-its-new-750b-flagship-model). 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\]](https://mlq.ai/news/zai-launches-glm-54-a-750-billion-parameter-model-built-on-a-looped-transformer)[\[9\]](https://z.ai/blog/glm-5.4).

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\]](https://the-decoder.com/z-ai-follows-openai-into-loop-transformer-territory-with-its-new-750b-flagship-model)[\[9\]](https://z.ai/blog/glm-5.4) .
- **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\]](https://the-decoder.com/z-ai-follows-openai-into-loop-transformer-territory-with-its-new-750b-flagship-model)[\[9\]](https://z.ai/blog/glm-5.4) .
- **Sparse attention index reuse** : the second pass reuses the first pass's attention indices, adding near-zero indexing overhead[\[9\]](https://z.ai/blog/glm-5.4) .

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\]](https://the-decoder.com/z-ai-follows-openai-into-loop-transformer-territory-with-its-new-750b-flagship-model)[\[9\]](https://z.ai/blog/glm-5.4).

## Claims outpace published evidence

Z.ai states GLM-5.4 matches the reasoning performance of 2–3 trillion parameter models [\[1\]](https://www.scmp.com/tech/big-tech/article/3375517/chinas-zai-aggressively-using-looped-transformer-method-improve-ai-models)[\[3\]](https://mlq.ai/news/zai-launches-glm-54-a-750-billion-parameter-model-built-on-a-looped-transformer)[\[5\]](https://dealroom.co/news/175167-z-ai-s-glm-5-4-loops-layers-to-rival-2-3t-models-at-750b-parameters)[\[9\]](https://z.ai/blog/glm-5.4). 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\]](https://tech.yahoo.com/ai/gemini/articles/chinas-z-ai-says-ai-230602353.html), 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\]](https://the-decoder.com/z-ai-follows-openai-into-loop-transformer-territory-with-its-new-750b-flagship-model). Output tokens fell 10–14% on GPQA-Diamond and MMLU-Pro [\[7\]](https://the-decoder.com/z-ai-follows-openai-into-loop-transformer-territory-with-its-new-750b-flagship-model)[\[9\]](https://z.ai/blog/glm-5.4). No flagship-scale benchmarks for the 750B model have been published; a company team member said they would come later [\[3\]](https://mlq.ai/news/zai-launches-glm-54-a-750-billion-parameter-model-built-on-a-looped-transformer)[\[8\]](https://www.trendingtopics.eu/glm-5-4-z-ai-loop-transformer-en).

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\]](https://www.trendingtopics.eu/glm-5-4-z-ai-loop-transformer-en).

## 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\]](https://www.scmp.com/tech/big-tech/article/3375517/chinas-zai-aggressively-using-looped-transformer-method-improve-ai-models)[\[3\]](https://mlq.ai/news/zai-launches-glm-54-a-750-billion-parameter-model-built-on-a-looped-transformer). 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\]](https://z.ai/blog/glm-5.4). OpenAI chief scientist Jakub Pachocki acknowledged safety concerns, and a company representative called the transparency decline "a real challenge that [it] takes seriously" [\[1\]](https://www.scmp.com/tech/big-tech/article/3375517/chinas-zai-aggressively-using-looped-transformer-method-improve-ai-models).

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\]](https://www.scmp.com/tech/big-tech/article/3375517/chinas-zai-aggressively-using-looped-transformer-method-improve-ai-models)[\[3\]](https://mlq.ai/news/zai-launches-glm-54-a-750-billion-parameter-model-built-on-a-looped-transformer)[\[9\]](https://z.ai/blog/glm-5.4). The company also flags a tendency toward "marathon thinking" loops that improve accuracy but increase latency and compute [\[7\]](https://the-decoder.com/z-ai-follows-openai-into-loop-transformer-territory-with-its-new-750b-flagship-model)[\[8\]](https://www.trendingtopics.eu/glm-5-4-z-ai-loop-transformer-en)[\[9\]](https://z.ai/blog/glm-5.4).

## 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\]](https://www.trendingtopics.eu/glm-5-4-z-ai-loop-transformer-en). 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\]](https://www.scmp.com/tech/big-tech/article/3375517/chinas-zai-aggressively-using-looped-transformer-method-improve-ai-models). Z.ai's blog confirms the next model will be "significantly larger" and "ready soon" [\[9\]](https://z.ai/blog/glm-5.4).

## What remains unknown

- Full benchmark suite for GLM-5.4 750B (only 30B ablations and one independent coding test exist) [\[3\]](https://mlq.ai/news/zai-launches-glm-54-a-750-billion-parameter-model-built-on-a-looped-transformer)[\[8\]](https://www.trendingtopics.eu/glm-5-4-z-ai-loop-transformer-en) .
- API pricing and exact availability timeline [\[3\]](https://mlq.ai/news/zai-launches-glm-54-a-750-billion-parameter-model-built-on-a-looped-transformer)[\[6\]](https://tech.yahoo.com/ai/gemini/articles/chinas-z-ai-says-ai-230602353.html) .
- 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

1. [China's Z.ai 'aggressively' using looped transformer method to ...](https://www.scmp.com/tech/big-tech/article/3375517/chinas-zai-aggressively-using-looped-transformer-method-improve-ai-models) (scmp.com)
2. [Z.ai Debuts GLM-5.4 With a Novel Looped Transformer Architecture ...](https://wccftech.com/z-ai-debuts-glm-5-4-with-a-novel-looped-transformer-architecture-skipping-ai-benchmarks-entirely) (wccftech.com)
3. [Z.ai launches GLM-5.4, a 750 billion-parameter model built on a looped ...](https://mlq.ai/news/zai-launches-glm-54-a-750-billion-parameter-model-built-on-a-looped-transformer) (mlq.ai)
4. [Z.ai ran the same 28 layers twice — and claims its 750B model can rival a 3- ...](https://thenewstack.io/zai-glm54-loop-transformer) (thenewstack.io)
5. [Z.ai's GLM-5.4 loops layers to rival 2-3T models at 750B parameters](https://dealroom.co/news/175167-z-ai-s-glm-5-4-loops-layers-to-rival-2-3t-models-at-750b-parameters) (dealroom.co)
6. [China's Z.ai Says Its New AI Model Can Think Like One Four Times Its Size](https://tech.yahoo.com/ai/gemini/articles/chinas-z-ai-says-ai-230602353.html) (tech.yahoo.com)
7. [Z.ai follows OpenAI into loop transformer territory with its new ...](https://the-decoder.com/z-ai-follows-openai-into-loop-transformer-territory-with-its-new-750b-flagship-model) (the-decoder.com)
8. [Z.ai's GLM-5.4 Thinks in Loops | Trending Topics](https://www.trendingtopics.eu/glm-5-4-z-ai-loop-transformer-en) (trendingtopics.eu)
9. [GLM-5.4: Toward Generalized Coding with Our First Loop Transformer](https://z.ai/blog/glm-5.4) (z.ai)
