← Back to all pricing

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.

Input
$1.40/M
Output
$4.40/M
Blended
$2.15/M
Provider
Verified 2026-06-19source

Speed

Not yet measured — see the speed benchmark leaderboard for models we do track.

Cost at scale

Tokens / monthEst. 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

GLM-5.1$1.00/MClaude Haiku 4.5$2.00/Mo3-Mini$1.93/MGLM 4.7 (Cerebras)$2.38/M
See all Z.ai models →

Head-to-head comparisons

GLM-5.2 vs Claude Opus 4.8GLM-5.2 vs Grok 4.3GLM-5.2 vs Gemini 3.1 ProGLM-5.2 vs GLM-5.1

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.

Try GLM-5.2 for free

Run real prompts against GLM-5.2 and every other model on this page in one workspace.

Try GLM-5.2 Free