AI Agent News/stories/z-ai-releases-glm-5-4-its-first-looped-transformer-model.md

Infrastructure

Z.ai releases GLM-5.4, its first looped transformer model

Chinese AI lab Z.ai has made GLM-5.4 available, describing it as its first model built on a looped transformer architecture. Simon Willison tested it through the Z.ai API, which required a Coding Plan subscription because the model was not yet reachable through the regular API.

Source: simonwillison.net/2026/Nov/23/glm-54

Z.ai describes a loop transformer as a design where a group of weight-shared layers runs for several iterations, refining hidden states from the previous pass. The company says this gives a deeper network without increasing the parameter count. GLM-5.4 is not available as open weights at the time of the post.

Willison reports that the Coding Plan and the regular Z.ai API share the same OpenAI-compatible Responses API, and that the Coding Plan key gave him access to the new model. He built an llm-glm plugin for the LLM tool, then found that an existing llm-zai plugin by Tommy Hughes already covers the provider, though it did not yet support the new model.

Willison also ran pelican-drawing tests on GLM-5.4 at low, high and max effort, and on GLM-5.3 at the same levels. He says the 5.3 and 5.4 outputs look similar in quality and resemble those from OpenAI and Anthropic models, unlike the distinctive style of earlier GLM generations. He also points to Thinking Machines Lab's Inkling 2 Mini, released November 20th, as another looped transformer.

Why it matters if you build agents

If you call GLM models from an agent, the Coding Plan is currently the route to GLM-5.4, since the regular API does not expose it, so check your key and subscription before you build against it.

Looped transformers are a new architecture to watch, and Willison's notes suggest GLM 5.3 and 5.4 behave more like mainstream models in his tests, which may matter if you have tuned prompts around older GLM output.

Get stories like this every weekday

One short email with the day's agent tooling news.

Subscribe