GLM-5.2 API Pricing — $1.40/M input, $4.40/M output
Open-weights coding-first flagship with a 1M-token context window. Beats larger frontier models on long-horizon coding at a fraction of the cost.
Speed
Not yet measured — see the speed benchmark leaderboard for models we do track.
Cost at scale
| Tokens / month | Est. cost (blended 3:1) |
|---|---|
| 100,000 | $0.21 |
| 1,000,000 | $2.15 |
| 10,000,000 | $21.50 |
| 100,000,000 | $215.00 |
How GLM-5.2 compares
Head-to-head comparisons
FAQ
Is GLM-5.2 cheaper than Claude Haiku 4.5?
GLM-5.2 costs $2.15/M blended tokens, Claude Haiku 4.5 costs $2.00/M — Claude Haiku 4.5 is cheaper.
How much does 1 million tokens cost with GLM-5.2?
At a 3:1 input:output ratio, 1 million blended tokens costs approximately $2.15. Pure input costs $1.40/M; pure output costs $4.40/M.
Who provides GLM-5.2?
GLM-5.2 is served by Z.ai. Pricing was last verified on 2026-06-19 against https://z.ai/model-api.
