Z.ai: GLM-5
z-ai/glm-5
GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading closed-source models. With advanced agentic planning, deep backend reasoning, and iterative self-correction, GLM-5 moves beyond code generation to full-system construction and autonomous execution.
上下文
200K
最大输出
128K
输入
$1.00/M
输出
$3.20/M
PROVIDER · SELL PRICE
公开卖价
输入 /M
$1.00/M
输出 /M
$3.20/M
媒体 /秒
—
图像
—
不展示上游成本。客户账只看卖价。
ROUTING RECEIPT
可解释路径(示意)
z-ai/glm-5
→ published sell_price
→ attempt 1 provider whitelist
→ customer ledger one charge
真实 attempt 在登录后的用户台查看;此处不伪造 Playground 对话。
PLAYGROUND
试用 Z.ai: GLM-5
对话不会被保存——离开或刷新页面后即清空。
代码示例(固定)
curl http://localhost:8080/v1/chat/completions \
-H "Authorization: Bearer sk-...xxxx" \
-H "Content-Type: application/json" \
-d '{"model":"z-ai/glm-5","messages":[{"role":"user","content":"hello"}]}'常见问题
在 TokenHub 上使用 Z.ai: GLM-5 需要多少钱?
公开卖价:输入 $1.00/M,输出 $3.20/M。以价目页实时数字为准。
Z.ai: GLM-5 的上下文窗口是多少?
上下文 200K,最大输出 128K。
如何调用 Z.ai: GLM-5?
注册拿 Key,把 base URL 换成品牌 API 域名,model 字段填 z-ai/glm-5。
支持哪些能力?
温度 · caps.top_p · caps.stop · 函数 · JSON · 推理