Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 2 min read

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

Chinese AI lab Z.ai has made GLM-5.4 available, and Simon Willison's write-up is the source for the details below. It is the lab's first model built as a looped transformer. What a looped transformer changes

Chinese AI lab Z.ai has made GLM-5.4 available, and Simon Willison's write-up is the source for the details below. It is the lab's first model built as a looped transformer.

What a looped transformer changes

A standard transformer passes data through each layer once. In the looped design Z.ai describes, a group of layers sharing the same weights runs several times, and each pass refines the hidden states left by the previous one. According to Z.ai, the result is a deeper network without a larger parameter count.

Willison notes this is the second looped model he has seen in a week. Thinking Machines Lab described Inkling 2 Mini on November 20th as running its middle layers three times for each token. The lab's claim is that the extra passes let the model reason more and reach correct answers with fewer tokens, particularly in agentic coding. That is the vendor's claim, and the source does not show independent measurements for either model.

How to get at it

GLM-5.4 is not available as open weights, and the source leaves open whether that will change. Willison could not reach it through Z.ai's regular API. He had to sign up for the Coding Plan subscription. Both the coding plan and the regular API use the same OpenAI-compatible Responses API, at api.z.ai/api/v1, and the coding plan key gave him access to the new model.

He wrote a plugin called llm-glm for his own command-line tool. A plugin called llm-zai, by Tommy Hughes, already exists but does not yet support the new model. Willison says he will probably retire his version once that plugin catches up.

What the quick test showed

Willison ran his usual image-drawing test at low, high and max effort levels. He had skipped GLM-5.3 earlier, so he ran it at the same levels. The output of 5.4 looks similar in quality to 5.3. He also observes that the 5.3 and 5.4 results look much closer to what OpenAI or Anthropic models produce, while GLM 5.1 and 5.2 had a distinctly different style. This is an informal visual check and says little about coding quality or business tasks.

What is still unknown

The source gives no pricing for the Coding Plan, no benchmark results and no timeline for open weights. Anyone considering GLM-5.4 should treat those points as open until Z.ai publishes them.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.