ModelsSelected

Z.ai 发布 GLM-5.4:首个采用 Loop Transformer 架构的模型

Why we picked it

Z.ai 的 GLM-5.4 用共享权重重复运行的 Loop Transformer 架构加深网络但不加参数,和 Thinking Machines Lab 三天前发的 Inkling 2 Mini 走同一路线。目前只能靠 Coding Plan 订阅调用,想试的开发者可以直接用它的 OpenAI 兼容端点接入。

中国 AI 公司 Z.ai 于 11 月 23 日发布 GLM-5.4,这是其首个采用 Loop Transformer 架构的模型。该架构让一组共享权重的层在每次前向传播中运行多次迭代,通过反复精炼隐状态来加深网络的有效深度,同时不增加参数量。

Body

据 Simon Willison 实测,GLM-5.4 目前未开放权重,也不通过 Z.ai 常规 API 提供,需要订阅 Coding Plan 才能使用。不过 Coding Plan 与常规 API 共用同一个 OpenAI 兼容的 Responses API 端点(https://api.z.ai/api/v1),订阅密钥即可调用新模型。Willison 据此制作了 llm-glm 插件,并指出 Tommy Hughes 的 llm-zai 插件尚未支持该模型。

Loop Transformer 架构本周已出现第二个案例:Thinking Machines Lab 在 11 月 20 日发布的 Inkling 2 Mini 同样采用该思路,中间层对每个 token 运行三次,以更少 token 换取更高推理质量,尤其利于 agentic coding 任务。从 Willison 的对比测试看,GLM 5.3 与 5.4 的输出风格已接近 OpenAI 和 Anthropic 模型,而 5.1、5.2 时代则带有明显独特风格,5.2 到 5.3 之间风格转变显著。

Original · Simon Willison’s Weblog

GLM-5.4: Toward Generalized Coding with Our First Loop Transformer GLM 5.4 is now available from Chinese AI lab Z.ai. It's their first model to use a looped transformer architecture, which they describe like this: In a standard Transformer, each layer runs once per forward pass. In a Loop Transformer, a group of weight-shared layers runs for multiple iterations, refining the hidden states from the previous pass. This gives us a deeper network without increasing the parameter count. This is the second mention of looped transformers I've seen in the past week - the first was Inkling 2 Mini from Thinking Machines Lab on November 20th, who said: Inkling 2 Mini is a looped transformer, running the middle layers of the model three times for every token. This allows the model to apply more reasoning and reach the right answer with fewer tokens, especially on tasks such as agentic coding that depend on reasoning quality. GLM 5.4 is not (yet?) available as open weights. I tried it out using the Z.ai API, for which I had to sign up for their Coding Plan subscription because 5.4 cannot currently be accessed through the regular API. It turns out both coding plan and regular API share the same OpenAI-compatible Responses API (at https://api.z.ai/api/v1 ), and the API key for the coding plan worked with that and gave me access to the new model. I built a llm-glm plugin , then realized that llm-zai by Tommy Hughes already exists! I've shipped mine purely because llm-zai doesn't yet support the new model, but I'll likely retire mine once that plugin catches up. Here are pelicans for GLM-5.4 on low, high, and max. This is the max one: I realized I never ran pelicans for GLM-5.3, so here those are for the same effort levels. They look similar in quality to 5.4. It's interesting how GLM 5.1 and GLM 5.2 produced radically different pelicans from other models. The pelicans for 5.3 and 5.4 are much more comparable to those I get from OpenAI or Anthropic models - the previous generations had their own distinctive look. I made a comparison grid showing the four generations of GLM pelicans all in one place. The style transition between 5.2 and 5.3 is pretty stark. Tags: ai , generative-ai , llms , llm , pelican-riding-a-bicycle , llm-release , ai-in-china , glm

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Models" desk, focusing on China's AI industry and domestic foundation model ecosystem. Within our cross-regional analytical framework, it directly maps to US-China foundation model benchmarks and commercialization comparison and AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include GLM, Z.ai, Loop Transformer, Inkling 2 Mini.

Source attribution: curated from Simon Willison’s Weblog.