Z.ai unveils GLM-5.4, a looped model that runs 28 layers twice
In brief
Z.ai (Zhipu AI) has unveiled GLM-5.4, its first flagship model built on a looped transformer architecture, and made it available to all GLM Coding Plan users.
2 min read
Translated from the Korean original. Read the original in Korean
Why it matters
- The model deepens its reasoning by running the same layers repeatedly rather than adding parameters, and the company said it reaches the intelligence level of models with 2T to 3T parameters.
- The company presented GLM-5.4 as the starting point for Generalized Coding, which uses code to handle video editing, game making, 3D modeling and even mechanical design.
By the numbers
- 1.5 times
- Weekly quota, vs. GLM-5.3
- 1M
- Context length
- Up to 200 tokens/s
- Output speed at off-peak hours
- -10~14%
- Average benchmark output length
Key details
GLM-5.4 runs the 28 layers of the GLM-5 base model twice. To balance performance and deployment cost at the 750B scale, it adds gated incremental updates, with a per-token gate on each iteration, and a hybrid KV cache, and it reuses the attention indices from the first loop. The company said the cost of one extra loop is the KV cache of a single sliding window, so it can keep the cost increase over GLM-5.3 under control even at a 1M context.
Context
Z.ai did not pretrain the looped model from scratch. Instead, it converted an already trained base model through continued training. It validated the approach on 1B, 4B, 30B and 750B models in turn, and said that in a parameter-matched 30B comparison, the looped version, which used about 10% more training compute, pulled well ahead on math and long-context tasks. It also acknowledged a limitation: the model tends to fall into overly long, marathon thinking.
What's next
- When the Model API will open after security evaluations are complete