GLM-5.4: Toward Generalized Coding with Our First Loop Transformer
- ID
- 49686
- Status
- summarized
- Published
- 24 Nov 2026, 7:40 AM
- Fetched
- 24 Nov 2026, 8:05 AM
- Provider
- Simon Willison
- Category
- developer-ai
- Original URL
- https://simonwillison.net/2026/Nov/23/glm-54/
- Source URL
- https://simonwillison.net/atom/everything/
Summary
- Score
- 6.5
- Created
- 24 Nov 2026, 8:05 AM
- Tags
- Audience
- developersai_ml_learnersai_agent_usersvibe_coders
What happened
Z.ai released GLM-5.4, its first model built on a 'loop transformer' architecture where a group of weight-shared layers runs multiple iterations per forward pass, giving a deeper effective network without adding parameters. It is the second looped-transformer launch in a week, after Thinking Machines Lab's Inkling 2 Mini on November 20, which runs its middle layers three times per token. GLM-5.4 is not open weights and is not yet on the regular API — Simon Willison had to buy the Coding Plan subscription to reach it, though the key worked against the shared OpenAI-compatible Responses API at https://api.z.ai/api/v1, where he shipped a llm-glm plugin because the existing llm-zai plugin (by Tommy Hughes) doesn't yet support the new model.
Why it matters
If you want to test GLM-5.4 today, budget for the Coding Plan subscription rather than pay-per-token API access, and point your OpenAI-compatible client at https://api.z.ai/api/v1 — that means most agent/coding tooling can swap it in as a base URL change, not an integration project. Because weights aren't released, anyone planning to self-host, fine-tune, or run it in a low-bandwidth/offline setup should plan around a hosted dependency for now.
Discussion angle
Looped transformers trade extra inference compute per token for fewer parameters — is that actually cheaper for agentic coding workloads, or does repeating weight-shared layers just move the cost to latency? Worth comparing against Inkling 2 Mini's 'three passes for every token' claim.