Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

GLM 5.2

10% 折扣z-ai/glm-5.2

GLM-5.2 is Z.ai's open-weight flagship text model released in June 2026 for long-horizon tasks, and the first GLM model to deliver that capability on a usable 1M-token context. Z.ai positions it for project-scale software engineering, deep debugging and full development workflows from requirements to deployable products, with steadier long-task execution and closer adherence to engineering standards. GLM-5.3 builds on the same base model with further post-training for coding.

阅读更多
输入价格
$1.26$1.40美元 / 100 万 token
输出价格
$3.96$4.40美元 / 100 万 token
缓存读取
$0.23$0.26美元 / 100 万 token
上下文窗口
1M
最大输出
32.8K

规格

能力聊天推理结构化输出函数调用
输入
文本
输出
文本
可用

关于此模型

GLM-5.2 is Z.ai's open-weight flagship text model released in June 2026 for long-horizon tasks, and the first GLM model to deliver that capability on a usable 1M-token context. Z.ai positions it for project-scale software engineering, deep debugging and full development workflows from requirements to deployable products, with steadier long-task execution and closer adherence to engineering standards. GLM-5.3 builds on the same base model with further post-training for coding.

问题

常见问题

如何通过 SandBase 调用 Z.ai GLM 5.2?

先创建一个 SandBase API key,然后向 https://api.sandbase.ai 的 Chat Completions API (/v1/chat/completions) 发送请求,模型 ID 使用“z-ai/glm-5.2”。本页的请求示例展示了准确的请求负载。

Z.ai GLM 5.2 的价格是多少?

每 100 万输入 token $1.26、每 100 万输出 token $3.96,按当前 10% 折扣计算(标价 $1.40 / $4.40),并按请求从您的 SandBase 余额中扣费。

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

上下文为 1M 个 token,每次响应最多输出 32.8K 个 token。

Z.ai GLM 5.2 支持哪些功能?

Z.ai GLM 5.2 支持 推理, 函数调用, 结构化输出。完整列表请参见上方 Specifications。

我需要单独的 Z.ai 账户吗?

不需要。一个 SandBase API key 和余额即可让您使用 Z.ai GLM 5.2 以及目录中的其他模型;您无需单独注册 Z.ai。