GLM-5.4: Toward Generalized Coding with Our First Loop Transformer
- ID
- 49398
- Status
- summarized
- Published
- 23 Nov 2026, 6:06 PM
- Fetched
- 23 Nov 2026, 8:37 PM
- Provider
- Hacker News
- Category
- dev-community
- Original URL
- https://z.ai/blog/glm-5.4
- Source URL
- https://hnrss.org/best
Summary
- Score
- 6.0
- Created
- 23 Nov 2026, 8:37 PM
- Tags
- Audience
- developersvibe_codersai_ml_learnersai_agent_users
What happened
Z.ai published GLM-5.4, its first flagship model built on a "Loop Transformer" architecture, where a shared block of layers runs for multiple iterations so the model reasons deeper without adding parameters — the company claims intelligence comparable to 2T–3T parameter models. Rather than pre-training from scratch, Z.ai adapted an already pre-trained base into the looped architecture via continued training, scaling loop depth and model size in parallel over three months. Z.ai names one limitation explicitly: the model gets caught in overly long "marathon thinking" loops, though it says the extended self-correction improves accuracy beyond its parameter count. It is available via chat.z.ai, the Z.ai Coding Plan, and ZCode.
Why it matters
Two things to decide before trying it: first, the 2T–3T-comparable claim comes with no benchmark table in this post, so treat it as a vendor claim and run your own coding eval rather than swapping it in on the strength of the architecture write-up. Second, the admitted "marathon thinking" loops mean long self-correction chains — in an agent pipeline that is billed tokens and wall-clock latency, so measure cost-per-completed-task, not just pass rate, before putting it behind anything user-facing.
Discussion angle
Looped depth versus parameter scaling: if a shared layer block run N times can match a much larger model, where does the cost actually land — training compute, or inference latency and token spend from the long self-correction loops? Worth asking who in the room has measured cost-per-task on a reasoning-heavy coding job rather than just pass rate.