Z.ai, the Chinese AI lab also known as Zhipu AI, released GLM-5.4 on 23 November 2026 as its first flagship model built on a Loop Transformer, according to its technical post. The design runs the same group of layers twice for each token, and Z.ai says it increases processing depth without increasing the number of model parameters.
Key points
- GLM-5.4 runs 28 layers of the pre-trained GLM-5 base model for two iterations at 750B scale.
Two passes through 28 GLM-5 layers
A conventional transformer runs each layer once as it processes a token. In GLM-5.4, a block of 28 layers handles that token twice, using the same weights on both passes and carrying its internal representation forward for further refinement. It is akin to sending a draft across the same editing desk twice rather than adding another desk. Z.ai adapted a pre-trained GLM-5 base through continued training, saying looped models trained from scratch had lagged behind models with separate layers under the same pre-training compute budget.
At 750B scale, Z.ai uses gates to regulate how much each pass changes a token’s internal representation. The second pass also shares part of the first pass’s KV cache — stored information about earlier tokens — while keeping a separate window for nearby context, and reuses the first pass’s sparse-attention indices. Z.ai says those changes limit the memory and processing costs of running the extra pass.
The 30B test and GLM-5.4’s unscored claim
Z.ai reports a controlled comparison on a 30B model with the same architecture as its 750B base. After 200K long-context supervised fine-tuning, with thinking mode enabled, the looped version used approximately 10% more total training compute than a model with the same parameter count. Z.ai reports its largest gains on maths, scientific reasoning and long-context tasks.
Z.ai says GLM-5.4 reaches intelligence comparable to models with 2T to 3T parameters. Scores for GLM-5.4 itself have not been published, TestingCatalog reported, and a Z.ai team member said they would come later. Z.ai also says GLM-5.4 sometimes spends too long in its reasoning process, which the company calls “marathon thinking”.
GLM-5.4 reaches Coding Plan subscribers
GLM-5.4 is available through the GLM Coding Plan, ZCode and Z.ai Chat, TestingCatalog reported. The publication said broader API access is subject to a safety evaluation and that Z.ai plans to release open weights after safety hardening. GLM-5.4 also accepts images, unlike the text-only GLM-5.3, Wccftech reported.
Z.ai describes this release as the start of “Generalized Coding”, extending code generation to video, CAD, games and 3D projects. Making a game with GLM-5.4 includes generating its physics, maps, combat and art assets in a Z.ai demonstration described by TestingCatalog.
The previous model had a different security concern: Anthropic said the open-weight GLM-5.3 could build working cyber exploits, as AI Affairs reported. Z.ai team member Zixuan Li said Coding Plan subscribers with weekly quotas receive 50% more GLM-5.4 quota than they had for GLM-5.3, according to TestingCatalog.