glm-5.2

ChatGLM · 对话

对话工具

NixAPI 价格,低至

输入$1.183
输出$3.718

USD / 百万 Token · 分组 Self-Deployed-2 · 官方价 $1.4 / $4.4省 16%

获取 API Key →

关于 glm-5.2

GLM-5.2 is the flagship model built for the long-task era. It supports a truly usable 1M context capable of holding project-level engineering context, delivers more stable long-horizon task execution and more reliable adherence to engineering standards, and can complete the full development pipeline from requirements to multi-platform deployment in a single task.

各路由分组价格

创建 Key 时可在控制台选择分组,状态实时来自路由。 查看各分组实时状态 →

分组分组状态模型状态倍率输入输出缓存读取缓存写入
Self-Deployed-2…×0.845$1.183$3.718$0.2957—
Alibaba-2…×1.2675$1.774$5.577$0.4436—
Self-Deployed-3…×1.2675$1.774$5.577$0.4436—
Alibaba-3…×1.859$2.603$8.18$0.6506—
glm-1…×1.859$2.603$8.18$0.6506—

USD / 百万 Token

支持的接口

anthropicopenai

一个请求调用 glm-5.2

兼容 OpenAI SDK 及任何 OpenAI 格式的客户端,把 Key 换成你自己的即可。

curl https://api.nixapi.com/v1/chat/completions \
  -H "Authorization: Bearer $NIXAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.2",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

完整 API 文档 →

关于 glm-5.2 的常见问题

glm-5.2 在 NixAPI 上多少钱?

在 Self-Deployed-2 分组下,输入低至每百万 Token $1.183,输出低至每百万 Token $3.718,比官方价低约 16%。按量付费,以美元计价,没有月最低消费。

如何调用 glm-5.2?

把任意兼容 OpenAI 格式的客户端指向 https://api.nixapi.com/v1,使用你的 NixAPI Key,并把 model 设为 "glm-5.2" 即可。

哪些路由分组提供 glm-5.2?

glm-5.2 可在 5 个路由分组中使用:Self-Deployed-2、Alibaba-2、Self-Deployed-3、Alibaba-3、glm-1。其中 Self-Deployed-2 分组价格最低。

ChatGLM 的更多模型

对比 ChatGLM 全部模型 →