Z.ai releases GLM-5.4, its first loop transformer model for generalized coding
Chinese lab Z.ai, also known as Zhipu AI, released its GLM-5.4 model on 23 November, its first flagship offering built on a Loop Transformer architecture. The 750-billion-parameter model runs some layers twice, which Z.ai claims allows it to match the intelligence of systems with 2 to 3 trillion parameters without increasing parameter count.
On 23 November, Chinese lab Z.ai, also known as Zhipu AI, launched its GLM-5.4 model. This model introduces a Loop Transformer architecture, a design approach where some neural network layers are run more than once. Specifically, GLM-5.4 takes 28 layers from the GLM-5 base model and executes them twice. Z.ai states that this method results in a deeper network without increasing the parameter count, allowing the 750-billion-parameter model to match the intelligence of systems with 2 to 3 trillion parameters.
The GLM-5.4 model is currently available to subscribers of the GLM Coding Plan through the ZCode tool and Z.ai Chat. Z.ai plans to offer API access after a safety evaluation and intends to release open weights once safety hardening is complete.
Z.ai adapted its already-trained base model for this new architecture through continued training. The company noted that looped models trained from scratch still trail standard models on the same compute budget. To manage computational costs, the second pass of these layers reuses the cache and attention indices from the first pass, incorporating only a small sliding window of its own.
The design was tested across 1B, 4B, 30B, and 750B base models. For the 30B version, looping used approximately 10% more training compute and showed the most substantial gains in tasks involving mathematics, scientific reasoning, and long-context understanding. Benchmarks like GPQA-Diamond and MMLU-Pro saw average output lengths decrease by 10% to 14%. While Z.ai did not publish specific benchmark scores for GLM-5.4 itself, it reported the model can reach speeds of up to 200 tokens per second off-peak and 70 to 80 tokens per second at peak load.
Z.ai describes this release as the beginning of "Generalized Coding," aiming for code to serve as the foundation for a wider range of tasks. Demonstrations include a music video narrated by the model, a complete game, a 3D scene built with custom shaders, and a 6-axis robotic arm modeled in FreeCAD. The model also integrates vision capabilities to enhance visual coding applications.
A reported limitation is the model's tendency to get caught in overly long "marathon thinking" loops, although Z.ai states that extra self-correction mechanisms still improve accuracy. Users with weekly quotas will receive 50% more quota with GLM-5.4 compared to the previous GLM-5.3 release. Z.ai has also announced plans for a significantly larger model in the near future.
Share this article
Related reading
6 stories
Musk says Google is interested in renting more computing capacity from SpaceX
Poster says Gemini 4 Neon draws praise while early GPT-6.2 Astra reception is muted

Hold Space to talk and more this week in RexIDE

OpenAI cuts the data Codex pulls from the Responses API by about 80%

Li Auto is coming to Singapore, but do we need another Chinese EV brand?

