Skip to content
codingcompare

GLM-5.2

Open weights

Z.AI · Open flagship GLM for long-horizon coding agents and million-token context work

Key facts

Provider
Z.AI
Context window
1M tokens
Max output
131.1K tokens
Input price
$1.4 / M tok
Output price
$4.4 / M tok
Knowledge cutoff
Released
Jun 13, 2026
License
Open weights

Capabilities

ReasoningTool callingStructured outputFile attachmentsTemperature controlOpen weights

Reasoning options

  • effort high · max

Pricing

USD per million tokens, list API rates.

Input
$1.4
Output
$4.4
Cache read
$0.26
Cache write
Free

Modalities

Input
Text
Output
Text

Links