AIsaAIsaStudio English 打开 AIsa Studio

Z.ai 发布 750B 旗舰模型 GLM-5.4,采用 loop transformer 架构

原标题:Z.ai follows OpenAI into loop transformer territory with its new 750B flagship model

Z.ai 发布 750B 参数旗舰模型 GLM-5.4,首次采用 loop transformer 架构,将 28 层共享层运行两次,称性能可媲美 2 至 3 万亿参数模型,路线与 OpenAI 自 GPT-6 Astra 起的做法类似。模型通过每个 token 和每一轮的专用门控控制回写幅度,两轮共享 KV cache,使 1M token 上下文下开销相对 GLM-5.3 保持可控。30B 同规模测试模型在 AIME25、GPQA-Diamond、AA-LCR、MMLU-Pro、IFBench 五项基准上全面超过基线且回答更短。GLM-5.4 已通过 GLM Coding Plan、ZCode 和 Z.ai Chat 提供,API 后续推出,权重计划在进一步安全测试后开放,公司还宣布即将推出更大的模型。

为什么值得看

文中给出30B同规模对照数据和门控、共享 KV cache 等架构细节,也指出旗舰模型本身尚无基准和独立评测。

阅读原文 ↗

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

原文

Z.ai is moving its flagship model to a loop architecture that runs some of its layers twice. With GLM-5.4, the company wants to mark the start of "Generalized Coding," where code also generates videos, games, and CAD models.

Following OpenAI, Z.ai is introducing GLM-5.4, its first large model built on a loop transformer. While standard language models use each layer once per pass, GLM-5.4 runs a block of shared layers multiple times, refining the intermediate results from the previous pass to make the network deeper without adding parameters. OpenAI has used a similar architecture since GPT-6 Astra. According to Z.ai, the 750-billion-parameter model reaches performance comparable to models with 2 to 3 trillion parameters.

The team retrained the GLM-5 base model released in February into a loop model that runs 28 layers twice. Loop models trained from scratch have so far performed worse than models without shared weights under the same compute budget, Z.ai writes.

Gates and shared caching keep the second pass manageable

Converting the model introduces a problem, Z.ai says. If the model simply overwrites intermediate states on each pass, activations grow sharply from round to round, leaving subsequent layers with values outside the range they were trained on.

To handle this, GLM-5.4 uses dedicated gates for each token and pass to control how much of the new output flows back into the data stream. According to Z.ai, the model builds context cautiously on the first pass and writes its changes back in full on the second. On difficult tokens, Z.ai says, the first pass steps in more strongly.

Architekturdiagramm von GLM-5.4 mit Prelude aus 26 Schichten, zwei Loop-Durchläufen über die Schichten 27 bis 54 mit Damp Gates und gemeinsamem KV-Cache sowie einer Coda aus 24 Schichten vor dem LM Head.

GLM-5.4 runs layers 27 through 54 twice, and gates control how much each pass changes the intermediate results.

Because the second pass would otherwise double memory usage, both passes share the KV cache, the temporary memory for previously processed tokens. The second pass stores its own extra values only in a small local window. As a result, Z.ai says, the overhead compared to GLM-5.3 stays manageable even at a 1-million-token context.

To save on compute as well, the model uses sparse attention to pick the most relevant earlier tokens upfront rather than scanning the entire context every time, a standard technique. The second pass then reuses that selection from the first instead of making a new one. According to Z.ai, that yields nearly the same results as picking tokens separately on each pass. The company also says the model reaches up to 200 tokens per second off-peak and 70 to 80 tokens per second under load.

A looped 30B test model beats its baseline with shorter reasoning chains

Before rolling out the architecture in its flagship, Z.ai tested it on models with 1, 4, 30, and 750 billion parameters. For a direct comparison, the team used a 30B model built on the same architecture as the large base model. Both versions had the same parameter count, while the loop version received about 10 percent more training compute. Its biggest gain came on the AIME25 math benchmark, where scores jumped from 19.2 to 30.4 points. Scores on the expert-level science questions in GPQA-Diamond rose from 47.6 to 56.3 points, and on the AA-LCR long-context test they climbed from 40.3 to 47.7 points. Gains were smaller at just over three points on the MMLU-Pro knowledge test and on IFBench, which tests instruction following.

Responses also got shorter, shrinking 14.9 percent on MMLU-Pro, 11.7 percent on GPQA-Diamond, and just 2 percent on AIME25. Z.ai says part of the reasoning shifts out of the output tokens and into the loop's extra computational depth.

Tabelle mit fünf Benchmarks für ein 30B-Modell mit und ohne Loop, darunter AIME25, GPQA-Diamond und MMLU-Pro, mit Verbesserungen von 3,3 bis 11,3 Punkten und kürzeren Antworten.

At the same parameter count, the loop version outperforms the baseline across all five benchmarks while producing shorter responses.

It is still impossible to judge how well GLM-5.4 actually performs, as Z.ai has published no benchmark scores for the 750B model and the figures in its blog post come solely from the 30B test. There are no independent evaluations from groups like Artificial Analysis either.

By Z.ai's own account, GLM-5.4's biggest weakness is overly long reasoning phases in which the model gets stuck, though the company says that extended double-checking improves accuracy.

Z.ai views GLM-5.4 as the starting point for "Generalized Coding," where the company says code becomes the foundation for tasks beyond traditional software development. To illustrate the idea, Z.ai shows a music video scored by the model itself, a six-axis robot arm it says GLM-5.4 designed in FreeCAD, a complete game, and an interactive 3D scene built from mathematical geometry and custom shaders.

1 / 4

Z.ai plans to release model weights and a much larger model

GLM-5.4 is available through the GLM Coding Plan, the ZCode coding environment, and Z.ai Chat, with an API set to follow and token pricing not yet announced. Z.ai plans to release the model weights after further safety testing, and it also announced a much larger model expected to arrive soon.

Shared layers date back to the Universal Transformer in 2018. In March, researchers in Bonn showed that looped transformers benefit from greater compute depth on math, while everyday knowledge benefits more from greater memory, the same trade-off Z.ai cites to explain its architecture. Thinking Machines also drew attention recently with Inkling 2 Mini because the loop model runs locally on Macs with at least 32 GB of RAM.

At 750 billion parameters, GLM-5.4 is nowhere near running on a laptop, but Z.ai is instead targeting the tier of Kimi K3.1 Pro and Qwen3.8-Max. At 2.8 trillion and 2.4 trillion parameters, respectively, those models are more than three times as large and require large amounts of compute.

For its predecessor GLM-5.3, Z.ai kept the existing base model and drew all of its gains from post-training. The company delayed releasing its weights because of the model's strong vulnerability-finding abilities, and Anthropic later found that GLM-5.3 could build exploits on its own, almost on par with Claude Mythos Preview.

原文版权归 The Decoder 及原作者所有,本站转载仅供阅读。如需删除,请联系 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