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 金鑰,接著使用模型 ID「z-ai/glm-5.2」向 https://api.sandbase.ai 的 Chat Completions API (/v1/chat/completions) 發送請求。此頁的請求範例會顯示完整的 payload。

Z.ai GLM 5.2 的費用是多少?

每 100 萬個輸入 token $1.26、每 100 萬個輸出 token $3.96,並套用目前 10% 折扣(定價為 $1.40/$4.40),費用會依每次請求從您的 SandBase 餘額中扣除。

Z.ai GLM 5.2 的 context window 是多少?

1M 個 context token,每次回應最多可輸出 32.8K 個 output token。

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

Z.ai GLM 5.2 支援 推理, 函式呼叫, 結構化輸出。完整清單請參閱上方的 Specifications。

我需要另外申請 Z.ai 帳號嗎?

不需要。一組 SandBase API 金鑰與餘額即可讓您存取 Z.ai GLM 5.2 以及目錄中的其他模型;您不需要另外註冊 Z.ai。