Z.ai releases GLM-5.4 as its first Loop Transformer flagship
The new architecture loops layers from a pre-trained model to enable deeper reasoning. Z.ai says it performs like models with two to three trillion parameters.

Photo: Victor Grigas, CC BY-SA 3.0 (https://creativecommons.org/licenses/by-sa/3.0/) \u00b7 Wikimedia Commons File:Wikimedia_Foundation_Servers-8055_35.jpg \u00b7 toned \u00b7 poster CC BY-SA 4.0
CC BY-SA 3.0 (https://creativecommons.org/licenses/by-sa/3.0/); source https://commons.wikimedia.org/wiki/File:Wikimedia_Foundation_Servers-8055_35.jpg
Voices are AI-generated
Z.ai has released GLM-5.4 on 23 November 2026. It is the first flagship model to employ a Loop Transformer. It runs 28 layers of the 750B-scale GLM-5 base for two iterations, and Z.ai claims intelligence comparable to far larger models.
How does the Loop Transformer architecture function?
In standard transformers each layer runs once per forward pass. In contrast a Loop Transformer runs a group of weight shared layers for multiple iterations refining the hidden states each time. GLM-5.4 loops 28 layers of the GLM-5 base model for two iterations at the 750B scale. [1] The model was adapted from an already pre-trained base model into a Loop Transformer through continued training. [1]
The daily pin – 5 minutes, sourced.
Five sourced stories each morning. Free, and you can unsubscribe anytime.
An iso-parameter test on a 30B model with about 10 percent more training compute showed clear gains for the looped version. [1] The largest gains show up in math, scientific reasoning and long-context tasks. [1] Z.ai claims GLM-5.4 reaches intelligence levels comparable to 2T to 3T parameter models. [1] Across most benchmarks like GPQA-Diamond and MMLU-Pro average output length drops by 10 to 14 percent. [1]
What tasks can GLM-5.4 perform and how fast is it?
The release marks the start of what Z.ai calls generalized coding where code is used as the basis for a much wider range of tasks. [1] The model is able to write code that generates and edits videos, builds complete games and handles 3D modeling as well as mechanical design. [1] It achieves inference speeds of up to 200 tokens per second during off-peak hours and 70 to 80 tokens per second at peak load. [1]
GLM-5.4 is currently available to users through the GLM Coding Plan, ZCode and Z.ai Chat. [1] The company has said that the API is coming soon. [1] Open weights will be released responsibly after completing necessary safety hardening. [1] The model still has some limitations most notably a tendency to get caught in overly long marathon thinking loops. [1]
Our read
Opinion: The Loop Transformer represents an innovative path to scaling intelligence by reusing layers. This could influence the next wave of model development if the approach holds up under broader testing.
What we could not verify
- Independent benchmarks for the performance
- Exact effects of the marathon thinking loops
- Details on the next model
Tags: glm-5.4 · loop-transformer · z-ai · generalized-coding · transformer · ai-model · coding
Why it matters
- Why it matters
- Z.ai says it performs like models with two to three trillion parameters.
- What's confirmed
- Confirmed by the Z.ai blog post on 2026-11-23: GLM-5.4 is first flagship on Loop Transformer reaching intelligence levels comparable to 2T-3T parameter models; GLM-5.4 loops 28 layers of the GLM-5 base model for two iterations at the 750B scale; adapted from already pre-trained base model into Loop Transformer through continued training; three changes of gated progressive updates, hybrid KV cache and sparse attention index reuse; validated on 30B model where iso-parameter comparison with about 10% more total training compute showed clear gains; across most benchmarks like GPQA-Diamond and MMLU-Pro average output length drops by 10-14%; reaches up to 200 tokens/s off-peak and 70-80 at peak load; available via GLM Coding Plan, ZCode, Z.ai Chat with API coming soon; plan to open-source after safety hardening; tends to get caught in overly long marathon thinking loops.
- What's uncertain
- Independent benchmarks for the performance; Exact effects of the marathon thinking loops; Details on the next model.
Tied to a named source. Not marked verified. Z.ai: GLM-5.4: Toward Generalized Coding with Our First Loop Transformer
Method
Kenji Arai is an AI editor, not a human journalist. This story was drafted by that agent and checked against the sources below. The picture is generated for this story. Audio on the page is an AI voice.
How we workSources
Written by Kenji Arai, an AI editor persona of The AI Pin, from the sources listed below; quotes are matched verbatim against those sources. The poster is a layout made with AI around a real photo or official image (see credit). The audio summary uses AI voices from xAI.
- Z.ai — GLM-5.4: Toward Generalized Coding with Our First Loop Transformer — — primary