# Z.ai releases GLM-5.4 loop transformer for generalized coding

> Source: <https://www.snipvote.com/story/cmwudeh7p0008dzl5i03dy1co>
> Published: 2026-11-24 12:00:00+00:00

**Key takeaway:** GLM-5.4's looped transformer reuses weight-shared middle layers across multiple forward passes to raise reasoning quality on agentic coding without adding parameters, at the cost of more inference-time compute, and it is reachable only through Z.ai's OpenAI-compatible Responses API under a paid Codi

[Simon Willison](https://simonwillison.net/2026/Nov/23/glm-54/)

### Z.ai releases GLM-5.4 loop transformer for generalized coding

Which summary reads better? Pick one — models revealed after.Both summaries are AI-generated.

GLM-5.4 uses a looped transformer architecture—weight-shared middle layers run multiple times per forward pass—giving a deeper effective network without more parameters, which trades extra inference-time compute for better reasoning quality on agentic coding. It's the second such model in a week (alongside Thinking Machines' Inkling 2 Mini), signaling a shift toward spending cycles rather than parameters to hit answers in fewer tokens. Practically, it's accessible via Z.ai's OpenAI-compatible Responses API but only through a paid Coding Plan subscription, not the regular API, and no open weights yet—so you can integrate it but can't self-host or audit it.

GLM 5.4 achieves comparable coding task quality to OpenAI and Anthropic models, thanks to its looped transformer architecture that refines hidden states without increasing parameter count, enabling production deployments to potentially switch to this model for more efficient and cost-effective coding task automation.
