{
  "schemaVersion": 1,
  "slug": "glm-5-4",
  "locale": "zh",
  "pageClass": "entity",
  "entityType": "SoftwareApplication",
  "field": "technology",
  "title": "GLM-5.4",
  "subtitle": "由智谱（Z.ai）开发、采用循环 Transformer 架构的多模态编程与推理语言模型",
  "aliases": [
    "GLM 5.4",
    "zai/glm-5.4",
    "Z.ai GLM-5.4"
  ],
  "lead": {
    "definition": "GLM-5.4 是智谱（Z.ai）面向编程、推理和智能体工作流开发的旗舰多模态语言模型，也是首个采用循环 Transformer（Loop Transformer）架构的 GLM 模型。据智谱开发者文档介绍，GLM-5.4 在每次前向传播中对 GLM-5 基础模型的 28 层进行两轮复用，支持 100 万个词元（token）的上下文窗口，最多可输出 128K 个词元，并接受文本、图像、视频和文件输入。2026 年 12 月初，GLM-5.4 陆续上线智谱 API、ZCode 和 AutoClaw，以及 Vercel AI Gateway 和 Mistral Cloud 等第三方平台。",
    "answerSummary": "GLM-5.4 是智谱面向软件开发、推理和智能体任务推出的旗舰多模态语言模型。它采用循环 Transformer 架构，在两轮迭代中共享 GLM-5 的 28 层，支持 100 万词元上下文、最多 128K 词元输出及原生视觉输入。截至 2026 年 12 月 3 日，可通过智谱 API、ZCode、AutoClaw、Vercel AI Gateway 和 Mistral Cloud 使用。",
    "keyFacts": [
      {
        "label": "开发者",
        "value": "智谱（Z.ai）",
        "ref": "s1"
      },
      {
        "label": "架构",
        "value": "循环 Transformer（28 层复用两轮）",
        "ref": "s1"
      },
      {
        "label": "上下文窗口",
        "value": "100 万词元（最多输出 128K 词元）",
        "ref": "s1",
        "asOf": "2026-12-03"
      },
      {
        "label": "Vercel AI Gateway 价格",
        "value": "每 100 万词元起价：输入 1.40 美元，输出 4.40 美元",
        "ref": "s4",
        "asOf": "2026-12-03"
      }
    ]
  },
  "infobox": [
    {
      "label": "开发者",
      "value": "智谱（Z.ai）",
      "ref": "s1"
    },
    {
      "label": "模型代码",
      "value": "glm-5.4",
      "ref": "s1"
    },
    {
      "label": "架构",
      "value": "循环 Transformer（Loop Transformer）",
      "ref": "s1"
    },
    {
      "label": "输入模态",
      "value": "文本、图像、视频、文件",
      "ref": "s1"
    },
    {
      "label": "输出模态",
      "value": "文本",
      "ref": "s1"
    },
    {
      "label": "上下文长度",
      "value": "100 万词元",
      "ref": "s1",
      "asOf": "2026-12-03"
    },
    {
      "label": "最大输出词元数",
      "value": "128K 词元",
      "ref": "s1",
      "asOf": "2026-12-03"
    },
    {
      "label": "可用的合作平台",
      "value": "Vercel AI Gateway、Mistral Cloud",
      "ref": "s2",
      "asOf": "2026-12-03"
    }
  ],
  "sections": [
    {
      "id": "architecture-and-capabilities",
      "heading": "GLM-5.4 的循环 Transformer 架构与规格",
      "bodyMd": "GLM-5.4 是智谱首个采用循环 Transformer 架构的模型。该架构在一次前向传播中对 GLM-5 基础模型的 28 层进行两轮复用，在保持参数量的同时增加推理深度。[^s1][^s3] 智谱文档指出，循环复用模型层与优化后的键值缓存（KV cache）及稀疏注意力相结合，使模型在支持 100 万词元上下文和最多 128K 词元输出的同时，将部署成本控制在一定范围内。[^s1]\n\nGLM-5.4 在智谱 API 中的模型代码为 `glm-5.4`，支持思考模式、流式消息、函数调用、上下文缓存和 JSON 等结构化输出。[^s1] 智谱称，部分推理过程从显式输出词元转移到循环内部的隐式计算中，并给出流式输出吞吐量：非高峰时段最高每秒 200 个词元，高峰负载时每秒 70 至 80 个词元。[^s1][^s3]"
    },
    {
      "id": "multimodal-and-generalized-coding",
      "heading": "GLM-5.4 的多模态输入与广义编程",
      "bodyMd": "AutoClaw 中的上一代模型 GLM-5.3 仅支持文本。GLM-5.4 新增原生视觉能力，并支持文本、视频和文件输入。同一个模型可以读取截图、图表或设计稿，再进行分析或生成代码，无需切换模型。[^s1][^s6] 开发者可通过 Chat Completion API 的 `image_url` 内容块传入图像，取值可以是 URL 或 Base64 编码的 Data URL。[^s1]\n\n智谱将 GLM-5.4 描述为广义编程的起点，即将代码生成从传统软件工程扩展到视频生成与编辑、游戏开发、三维场景创建和类似 CAD 的机械设计。[^s1][^s3] 智谱推荐的 API 设置为 `temperature: 1`、`top_p: 0.95`、`reasoning_effort: max`、`thinking.type: enabled` 和 `thinking.clear_thinking: false`。[^s1]"
    },
    {
      "id": "zai-ecosystem-rollout",
      "heading": "GLM-5.4 在智谱 GLM Coding Plan、ZCode 和 AutoClaw 上线",
      "bodyMd": "智谱通过模型 API 和 GLM Coding Plan 订阅（个人版和团队版）提供 GLM-5.4。对于采用每周额度的订阅用户，GLM-5.4 的可用周额度为 GLM-5.3 的 1.5 倍。[^s1] 2026 年 12 月 1 日，智谱发布 ZCode v4.1.2，新增对 GLM-5.4 担任主智能体的支持。内置子智能体设为 Default 时，系统会自动为其选择 GLM-5.3-Flash。[^s5]\n\n2026 年 12 月 3 日，AutoClaw 团队宣布 GLM-5.4 已在 AutoClaw 上线，并介绍了它的几项能力：直接处理网页或报告截图，将整个项目的文档载入 100 万词元的上下文窗口而无需分批摘要，以及反复检查自身输出。[^s6]"
    },
    {
      "id": "partner-platforms-and-limits",
      "heading": "第三方平台可用性与待确认事项",
      "bodyMd": "2026 年 12 月初，第三方云服务和网关提供商宣布开放 GLM-5.4 的访问。[^s2][^s3] 2026 年 12 月 1 日，Vercel 在 Vercel AI Gateway 上线 GLM-5.4，并为其提供零数据保留（Zero Data Retention，ZDR）路由支持。截至 2026 年 12 月 3 日，Vercel AI Gateway 的模型页面显示，每 100 万输入词元起价为 1.40 美元，每 100 万输出词元起价为 4.40 美元。[^s3][^s4]\n\n2026 年 12 月 2 日，Mistral 宣布 GLM-5.4 已在发布首日登陆由欧洲基础设施承载的 Mistral Cloud，面向开发编程智能体和运行主权 AI 工作负载的客户。Mistral 同时指出，Mistral Cloud 通过同一套 API 提供其自有模型及部分第三方开放权重模型。[^s2] 截至 2026 年 12 月 3 日，所查阅的一手文档尚未确认 GLM-5.4 可下载模型权重的正式公开发布日期、许可证条款或第三方独立复现的基准测试结果。[^s1][^s2]"
    }
  ],
  "faqs": [
    {
      "q": "GLM-5.4 采用的循环 Transformer 架构是什么？",
      "a": "据智谱文档介绍，GLM-5.4 的循环 Transformer 在每次前向传播中对 GLM-5 基础模型的 28 层进行两轮复用，在保持参数量的同时增加推理深度。",
      "refs": [
        "s1",
        "s3"
      ]
    },
    {
      "q": "GLM-5.4 的上下文窗口有多大，支持哪些输入和输出模态？",
      "a": "GLM-5.4 支持 100 万词元的上下文窗口和最多 128K 词元的输出，接受文本、图像、视频和文件输入，输出格式为文本。",
      "refs": [
        "s1"
      ]
    },
    {
      "q": "截至 2026 年 12 月 3 日，开发者可通过哪些渠道使用 GLM-5.4？",
      "a": "开发者可通过智谱的模型 API、GLM Coding Plan、ZCode 和 AutoClaw 使用 GLM-5.4，也可通过 Vercel AI Gateway 和 Mistral Cloud 等第三方平台访问。Vercel AI Gateway 每 100 万词元的输入和输出起价分别为 1.40 美元和 4.40 美元。",
      "refs": [
        "s1",
        "s2",
        "s4",
        "s5",
        "s6"
      ]
    },
    {
      "q": "截至 2026 年 12 月 3 日，GLM-5.4 的模型权重是否已公开供下载？",
      "a": "Mistral Cloud 称其模型目录包含 Mistral 自有模型和部分第三方开放权重模型。截至 2026 年 12 月 3 日，所查阅的智谱文档尚未说明 GLM-5.4 可下载权重文件的正式发布日期和分发条款。",
      "refs": [
        "s1",
        "s2"
      ]
    }
  ],
  "claims": [
    {
      "text": "GLM-5.4 是智谱首个采用循环 Transformer 架构的旗舰模型，在两轮迭代中复用 GLM-5 基础模型的 28 层。",
      "refs": [
        "s1"
      ]
    },
    {
      "text": "GLM-5.4 支持 100 万词元的上下文窗口，最多可输出 128K 词元，并接受文本、图像、视频和文件输入。",
      "refs": [
        "s1"
      ]
    },
    {
      "text": "Vercel 于 2026 年 12 月 1 日在 Vercel AI Gateway 上线 GLM-5.4，并提供零数据保留支持。截至 2026 年 12 月 3 日，每 100 万词元的输入和输出起价分别为 1.40 美元和 4.40 美元。",
      "refs": [
        "s3",
        "s4"
      ]
    },
    {
      "text": "2026 年 12 月 2 日，Mistral 宣布 GLM-5.4 已在发布首日登陆由欧洲基础设施承载的 Mistral Cloud。",
      "refs": [
        "s2"
      ]
    },
    {
      "text": "2026 年 12 月 1 日发布的 ZCode v4.1.2 支持以 GLM-5.4 为主智能体，并为设为默认模式的内置子智能体使用 GLM-5.3-Flash。",
      "refs": [
        "s5"
      ]
    },
    {
      "text": "2026 年 12 月 3 日，AutoClaw 团队宣布 GLM-5.4 已上线，成为 AutoClaw 首个具备原生视觉能力的旗舰模型。",
      "refs": [
        "s6"
      ]
    }
  ],
  "timeline": [
    {
      "date": "2026-12-01",
      "text": "Vercel 宣布 GLM-5.4 已在 Vercel AI Gateway 上线并支持零数据保留。智谱发布集成 GLM-5.4 的 ZCode v4.1.2。",
      "refs": [
        "s3",
        "s5"
      ]
    },
    {
      "date": "2026-12-02",
      "text": "Mistral 宣布 GLM-5.4 已在发布首日登陆由欧洲基础设施承载的 Mistral Cloud。",
      "refs": [
        "s2"
      ]
    },
    {
      "date": "2026-12-03",
      "text": "AutoClaw 团队宣布 GLM-5.4 已在 AutoClaw 上线，支持原生视觉和 100 万词元上下文。",
      "refs": [
        "s6"
      ]
    }
  ],
  "sources": [
    {
      "key": "s1",
      "url": "https://docs.z.ai/guides/llm/glm-5.4",
      "tier": 3,
      "title": "GLM-5.4 - Overview - Z.AI DEVELOPER DOCUMENT",
      "publisher": "Z.ai",
      "accessedAt": "2026-12-03"
    },
    {
      "key": "s2",
      "url": "https://mistral.ai/news/glm-5-4/",
      "tier": 3,
      "title": "GLM-5.4 is now available on Mistral Cloud, on day zero.",
      "publisher": "Mistral AI",
      "publishedAt": "2026-12-02",
      "accessedAt": "2026-12-03"
    },
    {
      "key": "s3",
      "url": "https://vercel.com/changelog/glm-5-4-now-available-on-ai-gateway",
      "tier": 3,
      "title": "GLM 5.4 now available on AI Gateway",
      "publisher": "Vercel",
      "publishedAt": "2026-12-01",
      "accessedAt": "2026-12-03"
    },
    {
      "key": "s4",
      "url": "https://vercel.com/ai-gateway/models/zai/glm-5.4",
      "tier": 3,
      "title": "GLM 5.4 API, Pricing & Playground | Vercel AI Gateway",
      "publisher": "Vercel",
      "accessedAt": "2026-12-03"
    },
    {
      "key": "s5",
      "url": "https://zcode.z.ai/en/changelog",
      "tier": 3,
      "title": "ZCode Releases & Updates | GLM-5.4 Coding Agent",
      "publisher": "Z.ai",
      "publishedAt": "2026-12-01",
      "accessedAt": "2026-12-03"
    },
    {
      "key": "s6",
      "url": "https://autoclaw.z.ai/en/blog/model/GLM-5.4/",
      "tier": 3,
      "title": "GLM-5.4 Is Live in AutoClaw: Z.ai's Flagship That Sees, Reads More and Thinks Deeper",
      "publisher": "AutoClaw Team (Z.ai)",
      "publishedAt": "2026-12-03",
      "accessedAt": "2026-12-03"
    }
  ],
  "links": [
    {
      "predicate": "developedBy",
      "toSlug": "z-ai",
      "label": "Z.ai"
    }
  ],
  "sameAs": [
    "https://docs.z.ai/guides/llm/glm-5.4",
    "https://vercel.com/ai-gateway/models/zai/glm-5.4"
  ],
  "disclaimer": null,
  "status": {
    "review": "awaiting_review",
    "provenance": "prefill",
    "autoWritten": true
  },
  "dateCreated": "2026-12-03",
  "dateModified": "2026-12-03",
  "_meta": {
    "canonicalUrl": "https://mimirwiki.com/zh/wiki/glm-5-4",
    "revision": {
      "sha256": "e1e1f6ce58d5534e7ba9a961e57ed7325294fb33863828076e988d955952862b",
      "short": "e1e1f6ce",
      "hashedFields": "all fields except status and _meta, RFC 8785 canonical form"
    },
    "formats": {
      "md": "https://mimirwiki.com/zh/wiki/glm-5-4.md",
      "txt": "https://mimirwiki.com/zh/wiki/glm-5-4.txt",
      "json": "https://mimirwiki.com/zh/wiki/glm-5-4.json",
      "jsonld": "https://mimirwiki.com/zh/wiki/glm-5-4.jsonld"
    },
    "translations": {
      "en": "https://mimirwiki.com/wiki/glm-5-4",
      "ko": "https://mimirwiki.com/ko/wiki/glm-5-4",
      "ja": "https://mimirwiki.com/ja/wiki/glm-5-4",
      "zh": "https://mimirwiki.com/zh/wiki/glm-5-4",
      "es": "https://mimirwiki.com/es/wiki/glm-5-4",
      "de": "https://mimirwiki.com/de/wiki/glm-5-4",
      "fr": "https://mimirwiki.com/fr/wiki/glm-5-4",
      "pt": "https://mimirwiki.com/pt/wiki/glm-5-4",
      "ru": "https://mimirwiki.com/ru/wiki/glm-5-4",
      "it": "https://mimirwiki.com/it/wiki/glm-5-4",
      "hi": "https://mimirwiki.com/hi/wiki/glm-5-4",
      "ar": "https://mimirwiki.com/ar/wiki/glm-5-4"
    }
  }
}
