当前 GLM 价格
表中每一行都是模型目录的实时价格。
| 模型 | 输入 | 缓存输入 | 输出 | 上下文 |
|---|---|---|---|---|
| GLM 5.3glm-5.3Z.ai | $0.3276官方价 $1.092 | $0.068官方价 $0.2028 | $1.0296官方价 $3.432 | 1,000,000 |
| GLM 5.4glm-5.4Z.ai | $0.42官方价 $1.40 | $0.078官方价 $0.26 | $1.32官方价 $4.40 | 1,000,000 |
| GLM 5.3 Flashglm-5.3-flashZ.ai | $0.09官方价 $0.15 | $0.0112官方价 $0.03 | $0.15官方价 $0.50 | 1,000,000 |
| GLM 5.3 FlashXglm-5.3-flashxZ.ai | $0.0479官方价 $0.075 | $0.045 | $0.1596官方价 $0.25 | 1,048,576 |
| GLM-5.3 Flash Cybersecurityglm-5.3-flash-cybersecurityZ.ai | $0.525 | $0.2625 | $1.75 | 1,048,576 |
| GLM 5.2glm-5.2Z.ai | $0.24官方价 $0.60 | $0.068官方价 $0.15 | $0.60官方价 $2.00 | 1,000,000 |
| GLM 5.1glm-5.1Z.ai | $0.3824官方价 $0.966 | $0.325官方价 $0.1794 | $1.2017官方价 $3.036 | 200,000 |
| GLM 5glm-5Z.ai | $0.3824 | $0.0765 | $1.2235 | 198,000 |
| GLM-4.6 Derestricted v5glm-4.6-derestricted-v5Z.ai | $1.40 | $1.40 | $5.25 | 131,072 |
| GLM 4.5glm-4.5Z.ai | $1.92 | $0.352 | $7.04 | 128,000 |
美元 / 百万 token
调用 GLM
用 curl 或任何 OpenAI 兼容客户端,填 GLM 的 ID 即可。
curl
curl https://api.uplinkswitch.com/v1/chat/completions \
-H "Authorization: Bearer sk-uplink-live-..." \
-H "content-type: application/json" \
-d '{"model": "glm-5.3", "messages": [{"role": "user", "content": "Reply with ok"}]}'GLM 适合做什么
- 编程智能体,GLM 的工具调用能力强。
- 高并发对话,flash 系列价格很低。
- 长 prompt,选用长上下文版本。
对比
价格总览列出 GLM 和其他所有对话模型。
常见问题
不需要,一个 UplinkSwitch 密钥就能调用所有 GLM 模型。
能,它在这里兼容 Anthropic 格式。
每一行都实时列出我们的价格和官方价。
没有,按 token 预付。