Z.ai says GLM-5.4 runs a shared 28-layer block twice, after adapting a pretrained GLM-5 base through continued training. At its 750-billion-parameter scale, this adds effective depth without another block of weights, while still requiring extra computation. Per-token gates regulate residual updates; the company describes conservative first-pass writing and second-pass refinement. Sparse attention selections are reused, with an additional local sliding window rather than another full context cache.

The controlled numerical result comes from a 30-billion-parameter experiment, not the flagship. After long-context supervised fine-tuning with thinking enabled, looping used about 10% more total training compute and shortened outputs by 10–14% on most cited benchmarks. Those vendor results do not establish equivalent inference-cost savings. The extra pass costs computation, and Z.ai acknowledges marathon thinking loops.