GLM-5.4 is Z.ai’s first flagship loop transformer. A standard transformer runs each layer once per forward pass; this one runs a group of weight-shared layers twice, refining the previous pass’s hidden states, so the network gets deeper without adding parameters. Rather than pre-training from scratch, the team continued training an existing 750B base into a looped structure. Three changes keep deployment cost in check at that scale: gated progressive updates, a hybrid KV cache and sparse attention index reuse. Z.ai also admits the model can still fall into overly long thinking loops.
Key facts
- Twenty-eight weight-shared layers of the 750B base run twice, doubling depth without new parameters
- Gates adjust how much each pass writes based on token difficulty: cautious first, full second
- The hybrid KV cache adds only one sliding window per extra loop, keeping 1M-context cost contained
- In a 30B iso-parameter test output length dropped 10 to 14 percent as reasoning moved into implicit depth
- Z.ai claims 200 tokens per second off-peak and 70 to 80 at peak
- Available only via the Coding Plan, ZCode and Z.ai chat; API and weights pending
Big Share take
The interesting part of looping is not the vendor claim of 2T to 3T parity but that it moves compute from parameters into implicit inference-time iteration: memory stays manageable, at the cost of marathon thinking on hard problems. For practitioners GLM-5.4 is not yet evaluable, with no weights, no independent benchmarks and no API. That verdict waits until the weights and model card land.
Compiled from public reports; opinions are for reference only.