智谱 · MODEL SHEET

GLM 5.1

zhipu/glm-5-1-20260406
推理模型Agent / 工具调用 #35
Agent / 工具调用
23.9
AA Agentic Index · 查看榜单 →
输入价 / 1M$0.9660/1M≈ ¥6.47
输出价 / 1M$3.04/1M≈ ¥20.3
上下文205K最大输出 128K
上架日期2026-04-07OpenRouter 上架 · 文本 → 文本

各榜排名

同一模型可能只进入部分榜单;没有数据的榜不会显示 0 分。

3 个榜
榜单排名分数口径 / 日期
Agent / 工具调用
Artificial Analysis Agentic Index
#3523.9
Artificial Analysis Agentic Index
2026-10-18 · AA via OpenRouter
编程
Artificial Analysis Coding Index
#4555.8
Artificial Analysis Coding Index
2026-10-18 · AA via OpenRouter
文本综合
Artificial Analysis Intelligence Index
#6426.1
Artificial Analysis Intelligence Index
2026-10-18 · AA via OpenRouter

价格

厂商官方价尚未核实。以下为第三方聚合参考价,仅作估算,不作为官方口径。

档位输入输出缓存读 / 写折算人民币来源 / 日期
标准
OpenRouter 参考 · 默认
$0.9660/1M$3.04/1M$0.1794/1M / —¥6.47 / ¥20.3
2026-10-18
路由页面 ↗

汇率 1 USD = 6.6985 CNY(2026-10-17)。折算价只用于估算, 实际结算以支付渠道和提供方账单为准。

调用方式

代码中只使用环境变量占位,不在页面暴露任何密钥。

OpenRouter
OpenAI 兼容 · https://openrouter.ai/api/v1
z-ai/glm-5.1
环境变量 OPENROUTER_API_KEY
cURL · OpenRouter
curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-ai/glm-5.1",
    "messages": [{"role": "user", "content": "你好,请用三句话介绍你自己。"}],
    "max_tokens": 512
  }'

将 OPENROUTER_API_KEY 设为你的密钥后运行。Python 与 Node 示例见 OpenRouter 接入指南。

来源描述(OpenRouter,英文)

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...