AlphaGazette
Menu

AI

Z.ai's 750B GLM-5.4 runs 28 layers twice, claims 2T to 3T reasoning

The Chinese lab, also known as Zhipu AI, shipped the Loop Transformer flagship on Monday by further training GLM-5, and it has not published full-scale benchmarks for that comparison.

1 min read AI-generated

Z.ai released GLM-5.4 on Monday. The 750-billion-parameter model sends one shared block of 28 layers through a second pass at inference, gaining depth while the parameter count stays fixed. Z.ai says the reasoning can match models of 2 trillion to 3 trillion parameters. Full-scale benchmarks for that claim are still unpublished.

The release keeps training GLM-5 and is the lab's first flagship built as a Loop Transformer, meant for heavy coding and agent work. Z.ai described the design in a technical blog on 23 November and said that, across three months, it enlarged loop depth and model size together.

Why the layers repeat

Z.ai altered a model that was already pretrained. In earlier tests, looped Transformers begun from scratch trailed ordinary models when pretraining compute was the same. Running layers again at this size also disturbed activation stability and attention caching.

Per-token gates restrain updates to the residual stream so activation norms do not climb from pass to pass. The second pass shares the first iteration's KV cache and keeps a separate sliding window, skipping the cost of copying the full attention history on contexts as long as one million tokens. Sparse attention indices carry over between iterations; Z.ai said that reuse barely moved results in its tests. Fused inference kernels trim extra memory traffic while the layers execute again.

Scores from the 30-billion test

Z.ai tried the architecture at 1 billion, 4 billion, 30 billion and 750 billion parameters. The detailed scores are from the 30-billion-parameter model. There the looped network beat a conventional Transformer of equal size on math, scientific reasoning and long-context tasks, though training needed about 10% more compute. It also wrote 10% to 14% fewer output tokens on MMLU-Pro and GPQA-Diamond. Z.ai ties those shorter answers to work done inside the repeated layers, under an approach it calls Generalized Coding.