TokenHub
登录
textAVAILABLE

Z.ai: GLM-5.2

z-ai/glm-5.2

GLM-5.2 是 z.ai 国际站 (api.z.ai) 旗舰推理模型, MoE 架构 open-weights, 1M context, 内嵌 thinking (reasoning_content), 支持 prompt caching / tool calling / web search. 强编码与长程自治执行. 通过 OpenAI-compatible + Anthropic 双协议接入 (无 responses 端点).

温度caps.top_pcaps.stop函数JSON推理

上下文

1.0M

最大输出

128K

输入

$1.40/M

输出

$4.40/M

PROVIDER · SELL PRICE

公开卖价

输入 /M

$1.40/M

输出 /M

$4.40/M

媒体 /秒

图像

不展示上游成本。客户账只看卖价。

ROUTING RECEIPT

可解释路径(示意)

z-ai/glm-5.2
→ published sell_price
→ attempt 1 provider whitelist
→ customer ledger one charge

真实 attempt 在登录后的用户台查看;此处不伪造 Playground 对话。

PLAYGROUND

试用 Z.ai: GLM-5.2

对话不会被保存——离开或刷新页面后即清空。

登录后试用模态 · text

代码示例(固定)

curl http://localhost:8080/v1/chat/completions \
  -H "Authorization: Bearer sk-...xxxx" \
  -H "Content-Type: application/json" \
  -d '{"model":"z-ai/glm-5.2","messages":[{"role":"user","content":"hello"}]}'

常见问题

在 TokenHub 上使用 Z.ai: GLM-5.2 需要多少钱?

公开卖价:输入 $1.40/M,输出 $4.40/M。以价目页实时数字为准。

Z.ai: GLM-5.2 的上下文窗口是多少?

上下文 1.0M,最大输出 128K。

如何调用 Z.ai: GLM-5.2?

注册拿 Key,把 base URL 换成品牌 API 域名,model 字段填 z-ai/glm-5.2。

支持哪些能力?

温度 · caps.top_p · caps.stop · 函数 · JSON · 推理

更多 z-ai 模型

类似模型