12-04 更新 实时
首页/ 公司动向/ 正文

Z.ai 推出 7500 亿参数旗舰模型,采用循环架构

公司动向 来源:The Decoder 2026-11-23 23:13 3 阅读 机器翻译

Z.ai 推出了 GLM-5.4,这是一个 7500 亿参数的模型,通过让 28 层各运行两次来在不增加参数的情况下提升计算深度。

专用控制门、共享 Token 缓存以及稀疏注意力,使内存和计算成本不至于大幅上升。

据 Z.ai 介绍,GLM-5.4 可以用代码生成视频、游戏和 CAD 模型。该模型已在 Z.ai 的平台上提供,其权重也将随后发布。

Z.ai 正将其旗舰模型转向循环架构,让其中部分层运行两次。借助 GLM-5.4,该公司希望标志着“通用编程(Generalized Coding)”的开端,即代码也能生成视频、游戏和 CAD 模型。

继 OpenAI 之后,Z.ai 推出 GLM-5.4,这是其首个基于循环 Transformer 构建的大模型。标准语言模型在每次前向过程中每层只使用一次,而 GLM-5.4 会将一组共享层多次运行,对上一次运行的中间结果进行细化,从而在不增加参数的情况下加深网络。OpenAI 自 GPT-6 Astra 起便采用类似架构。据 Z.ai 称,这个 7500 亿参数的模型性能可与 2 万亿至 3 万亿参数的模型相媲美。

该团队将 2 月发布的 GLM-5 基础模型重新训练为一个让 28 层运行两次的循环模型。Z.ai 写道,在相同的算力预算下,从零开始训练的循环模型迄今表现不如不共享权重的模型。

门控与共享缓存让第二次运行变得可控

Z.ai 表示,模型转换会带来一个问题。如果模型在每次运行时简单地覆盖中间状态,激活值会一轮接一轮急剧增大,使后续层拿到的数值超出其训练时的范围。

为处理这一问题,GLM-5.4 为每个 Token 和每一遍传递都设置了专用门控,以控制有多少新输出流回数据流中。据 Z.ai 称,该模型在第一遍传递时谨慎地构建上下文,在第二遍时将改动完整写回。Z.ai 表示,对于较难的 Token,第一遍传递的介入力度更大。

GLM-5.4 会将第 27 层到第 54 层运行两次,门控则控制每一遍对中间结果的改变幅度。

由于第二遍否则会使内存占用翻倍,两遍共用 KV 缓存,即用于已处理 Token 的临时内存。第二遍仅在一个很小的局部窗口内存储自己额外的值。Z.ai 表示,因此即便在 100 万 Token 的上下文下,相比 GLM-5.3 的额外开销仍然可控。

为了同时节省算力,该模型采用稀疏注意力,预先挑选出最相关的较早 Token,而不是每次都扫描整个上下文,这是一项标准技术。第二遍随后复用第一遍做出的选择,而不是重新挑选一次。据 Z.ai 称,这样得到的结果与在每一遍分别挑选 Token 几乎相同。该公司还表示,该模型在非高峰时段最高可达每秒 200 Token,在负载下为每秒 70 到 80 Token。

一个采用循环结构的 30B 测试模型以更短的推理链击败了其基线

在将这一架构应用于其旗舰模型之前,Z.ai 已在 1B、4B、30B 和 750B 参数的模型上对其进行了测试。为了进行直接对比,团队使用了一个与大型基础模型采用相同架构的 30B 模型。两个版本的参数量相同,而循环版本获得了约 10% 更多的训练算力。其最大提升出现在 AIME25 数学基准测试上,分数从 19.2 分跃升至 30.4 分。GPQA-Diamond 的专家级科学问题得分从 47.6 分升至 56.3 分,AA-LCR 长上下文测试则从 40.3 分升至 47.7 分。在 MMLU-Pro 知识测试和测试指令遵循的 IFBench 上,提升较小,仅略高于三分。

回复也变得更短:在 MMLU-Pro 上缩短 14.9%,在 GPQA-Diamond 上缩短 11.7%,在 AIME25 上仅缩短 2%。Z.ai 表示,部分推理从输出 Token 转移到了循环带来的额外计算深度中。

在参数量相同的情况下,循环版本在全部五项基准测试中都优于基线,同时生成的回复更短。

目前仍无法判断 GLM-5.4 的实际表现如何,因为 Z.ai 尚未公布 750B 模型的任何基准测试分数,其博客文章中的数据仅来自 30B 测试。也没有来自 Artificial Analysis 等机构的独立评测。

按照 Z.ai 自己的说法,GLM-5.4 最大的弱点是推理阶段过长,模型会陷入其中,不过该公司表示,这种延长的反复核查提高了准确性。

Z.ai 将 GLM-5.4 视为“Generalized Coding”的起点,该公司称,代码将成为超越传统软件开发任务的基础。为了说明这一理念,Z.ai 展示了一段由该模型自己配乐的音乐视频、一个它称由 GLM-5.4 在 FreeCAD 中设计的六轴机械臂、一款完整游戏,以及一个由数学几何和自定义着色器构建的交互式 3D 场景。

Z.ai 计划发布模型权重和一个大得多的模型

GLM-5.4 可通过 GLM Coding Plan、ZCode 编码环境和 Z.ai Chat 使用,API 也将随后推出,Token 定价尚未公布。Z.ai 计划在进一步安全测试后发布该模型权重,并且还宣布了一个预计很快推出的大得多的模型。

共享层可追溯到 2018 年的 Universal Transformer。3 月,波恩的研究人员表明,循环 Transformer 在数学方面受益于更大的计算深度,而日常知识则更多受益于更大的内存,这也是 Z.ai 用来解释其架构的同一权衡。Thinking Machines 最近也凭借 Inkling 2 Mini 引起关注,因为该循环模型可在配备至少 32 GB RAM 的 Mac 上本地运行。

GLM-5.4 拥有 7500 亿参数,远不能在笔记本电脑上运行,但 Z.ai 转而瞄准的是 Kimi K3.1 Pro 和 Qwen3.8-Max 这一层级。这两款模型分别拥有 2.8 万亿和 2.4 万亿参数,规模超过其三倍,并且需要大量算力。

对于前代 GLM-5.3,Z.ai 保留了现有的基础模型,其全部提升都来自后训练。该公司因该模型强大的漏洞发现能力而推迟发布其权重,Anthropic 后来发现,GLM-5.3 能自行构建漏洞利用程序,几乎与 Claude Mythos Preview 不相上下。

无炒作 AI 新闻——由人工精选

每篇 Plus 文章及完整归档

Frontier Radar:每年 6 篇深度解析

随 Decoder 订阅附赠的“Ask AI”

关于该主题的 AI 视角

来自归档的更多背景

获取技术术语解释

可就文章内容或某个 AI 话题提问。你可以继续追问。

译文由英文原文机器翻译,术语按行业惯例统一,可在文末展开原文核对。

查看英文原文(Z.ai follows OpenAI into loop transformer territory with its new 750B flagship model)

Z.ai has introduced GLM-5.4, a 750-billion-parameter model that runs 28 layers twice to increase computational depth without adding parameters.

Dedicated control gates, a shared token cache, and sparse attention keep memory and compute costs from rising sharply.

According to Z.ai, GLM-5.4 can use code to generate videos, games, and CAD models. The model is available on Z.ai's platforms, with its weights set to follow.

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.

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.

AI News Without the Hype – Curated by Humans

Every Plus article and the full archive

Frontier Radar: 6 deep dives a year

"Ask AI" with your Decoder subscription

AI perspectives on the topic

More context from the archive

Get technical terms explained

Ask a question about the article or an AI topic. You can ask follow-up questions.

原文为英文,正文由自动抓取并保留原文。

本文由采集器自动同步

原文发布于 The Decoder(Z.ai follows OpenAI into loop transformer territory with its new 750B flagship model),标题、摘要与正文由机器翻译,术语按行业惯例统一,未经人工逐句校订。

阅读原文 ↗