openopen-weightsReleased 2026-06
GLM-5.2
By Z.ai · Top open-weight coding, 1M context.
Input / 1M
$1.40
Output / 1M
$4.40
Context
1M tokens
Max output
131K tokens
GLM-5.2 pricing
GLM-5.2 costs $1.40 per million input tokens and $4.40 per million output tokens at standard API rates. That makes it cheaper than 11 of 25 other tracked models on input.
Estimate your monthly cost →GLM-5.2 benchmarks
SWE-bench Pro62.1%
Terminal-Bench 2.181%
Specs
- Maker
- Z.ai
- Category
- open
- Released
- 2026-06
- Modalities
- text
- Open weights
- Yes (MIT)
- Context window
- 1M tokens
- Max output
- 131K tokens
Compare GLM-5.2 with
Data verified 2026-06-20. Prices are standard USD API rates per 1M tokens.