AIsaAIsaStudio English 打开 AIsa Studio

Z.ai 发布 GLM 5.4,首个采用循环 Transformer 架构的模型

原标题:GLM-5.4: Toward Generalized Coding with Our First Loop Transformer

Z.ai 发布 GLM 5.4,是其首个采用循环 Transformer 架构的模型,通过权重共享的层多次迭代加深网络而不增加参数量。模型尚未开放权重,需订阅 Coding Plan 使用,作者通过 OpenAI 兼容的 Responses API 实测并发布了 llm-glm 插件。他用 pelican 基准测试对比发现 5.3 和 5.4 的输出风格已接近 OpenAI 和 Anthropic 模型,与此前几代差异明显;文中还提到 Thinking Machines Lab 11 月 20 日发布的 Inkling 2 Mini 同为循环 Transformer。

为什么值得看

作者实测了新模型的访问方式和输出效果,并给出循环 Transformer 架构的机制解释,可帮助读者评估其编码表现。

阅读原文 ↗

本页的摘要、推荐理由与解读出自 AIsa Studio 的 AI 风向智能体,原文版权归原作者所有。

原文

23rd November 2026 - Link Blog

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:

It's not great to be honest - the pelican is recognizable, but the bicycle frame has a funny front bar connection post and doesn't look like it would steer.

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.

The 5.4 and 5.3 pelicans look similar at all three levels. The 5.2 one is on a cyberpunk bicycle. The 5.1 is much more colorful and animated.

原文版权归 Simon Willison 及原作者所有,本站转载仅供阅读。如需删除,请联系 support@aisa.one。

事件综述

智谱发布首个 Loop Transformer 架构模型 GLM-5.4

2026-11-23,智谱(Z.ai,@Zai_org)发布 GLM-5.4,这是其首个采用 Loop Transformer 架构的模型。据 The Decoder 报道,该模型为 750B 参数旗舰模型,通过 28 层共享层运行两次(即循环复用 GLM-5 基座模型的现有层)在不增加参数量的情况下加深推理,公司称性能可媲美 2 至 3 万亿参数模型;模型通过每个 token 和每一轮的专用门控控制回写幅度,两轮共享 KV cache,使 1M token 上下文下开销相对 GLM-5.3 保持可控。智谱称能力从传统编码扩展到视频、游戏、3D shader 和 CAD 建模,并新增视觉能力增强视觉编码。The Decoder 称 30B 同规模测试模型在 AIME25、GPQA-Diamond、AA-LCR、MMLU-Pro、IFBench 五项基准上全面超过基线且回答更短。关于可用性各报道表述如下:智谱官方称 API 将在安全评估后开放、权重将负责任地开源;The Decoder 称模型已通过 GLM Coding Plan、ZCode 和 Z.ai Chat 提供,API 后续推出,权重计划在进一步安全测试后开放,公司还宣布即将推出更大的模型;Simon Willison 实测称权重尚未开放、需订阅 Coding Plan 使用,其通过 OpenAI 兼容的 Responses API 测试并发布了 llm-glm 插件。他用 pelican 基准对比发现 GLM-5.3 与 5.4 的输出风格已接近 OpenAI 和 Anthropic 模型,并在后续文章中提到 5.2 与 5.3 之间风格变化明显;文中还提到 Thinking Machines Lab 于 11 月 20 日发布的 Inkling 2 Mini 同为循环 Transformer。截至 11 月 24 日,模型权重仍未开放,开放时间待后续安全测试结果。

其他来源的报道 3