GLM-5.4: Toward generalized coding with our first loop transformer
Hacker News thread · Hacker News ·A close reading of the source at news.ycombinator.com (also z.ai): what it says, what it means for someone who builds with AI, and which claims are the publisher’s own.
Looped TransformersChinese AI LabsTest-Time ComputeInference ServingZhipu / Z.aiOpenRouter
The story
Z.ai released GLM-5.4, its first looped transformer: a group of weight-shared layers runs several times per token, refining the hidden state, which gives a deeper network without more parameters. It came three days after Thinking Machines' Inkling 2 Mini, which runs its middle layers three times per token (Simon Willison). GLM-5.4 is API-only for now (weights promised "after safety hardening") and only reachable through Z.ai's Coding Plan keys, not OpenRouter or the regular API.
Why practitioners care
1,175 points and 384 comments: the second looped-transformer release in a week reads as the start of an architecture shift, from a lab that publishes technical detail. Commenters frame the appeal as an inference trade: decoding is limited by moving weights from HBM to the chip, so reusing loaded layers spends compute where bandwidth is the bottleneck (aurareturn). Z.ai says the release "validates computational depth" before a much larger model, so several readers see it as a preview of GLM-5.5 (ksec).
Best pushback
- "Marathon thinking": Chinese models second-guess themselves even on simple tasks, so time to completion is much longer than frontier models unless throughput is very high (lnenad).
- Converted, not trained looped: GLM-5.4 is a pretrained model converted to looping, "the low hanging fruit for benchmarks", so expect a flood of conversions (lolokazaki123).
- Old idea, new pressure: Universal Transformers (2019) tried this and went nowhere; compute-starved labs may be the ones who make it work (HarHarVeryFunny).
- Simon's hands-on: pelican SVGs from GLM-5.4 look much like GLM-5.3's (comment), so no visible jump on his informal test.
Takeaway
Looped transformers moved from papers (June–October: LoopCoder-v2, DeepLoop, SMELT) to two shipping models in one week. Promoted to the taxonomy today as Looped Transformers (surging ×4.0). Watch for open weights and for whether "more passes per token" beats "more thinking tokens" on cost per task.