GLM 5.2

clod/glm-5p2

GLM 5.2 is ZAI's flagship reasoning model for long-horizon coding agents, with configurable thinking effort, native function calling, and a 131K output budget.

Context size
1M
Max output
131K
Type
Text to text
Reads images
No
Precision
FP4
Capabilities
Thinks before answeringCan use toolsAlways replies in JSONReads long documents
Price per 1M tokens
Input
$1.40 / 1M tokens
Cached
$0.26
Cached input
$0.26 / 1M tokens
Output
$4.40 / 1M tokens
Rate limits apply per API key. When you go over a limit the API answers with 429 and a Retry-After header: wait that many seconds, then retry.