智谱 · MODEL SHEET
GLM 5.2
zhipu/glm-5-2-20260616
推理模型Agent / 工具调用 #25
输入价 / 1M$0.6200/1M≈ ¥4.15
输出价 / 1M$2.42/1M≈ ¥16.2
上下文1.0M最大输出 944K
上架日期2026-06-16OpenRouter 上架 · 文本 → 文本
各榜排名
同一模型可能只进入部分榜单;没有数据的榜不会显示 0 分。
| 榜单 | 排名 | 分数 | 口径 / 日期 |
|---|---|---|---|
| Agent / 工具调用 Artificial Analysis Agentic Index | #25 | 38.4 | Artificial Analysis Agentic Index 2026-10-18 · AA via OpenRouter |
| 编程 Artificial Analysis Coding Index | #27 | 68.8 | Artificial Analysis Coding Index 2026-10-18 · AA via OpenRouter |
| 文本综合 Artificial Analysis Intelligence Index | #42 | 33.7 | Artificial Analysis Intelligence Index 2026-10-18 · AA via OpenRouter |
价格
厂商官方价尚未核实。以下为第三方聚合参考价,仅作估算,不作为官方口径。
| 档位 | 输入 | 输出 | 缓存读 / 写 | 折算人民币 | 来源 / 日期 |
|---|---|---|---|---|---|
标准 OpenRouter 参考 · 默认 | $0.6200/1M | $2.42/1M | $0.1400/1M / — | ¥4.15 / ¥16.2 | 2026-10-18 路由页面 ↗ |
汇率 1 USD = 6.6985 CNY(2026-10-17)。折算价只用于估算, 实际结算以支付渠道和提供方账单为准。
调用方式
代码中只使用环境变量占位,不在页面暴露任何密钥。
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.2",
"messages": [{"role": "user", "content": "你好,请用三句话介绍你自己。"}],
"max_tokens": 512
}'将 OPENROUTER_API_KEY 设为你的密钥后运行。Python 与 Node 示例见 OpenRouter 接入指南。
来源描述(OpenRouter,英文)
GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...