Z.ai (GLM)Open WeightsReasoning

GLM 5.2 API Pricing & Token Cost

z-ai/glm-5.2 — GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

Input / 1M
$0.0070
Output / 1M
$5.80
Blended / 1M
$1.46
Cache Read
$0.0060
Arena Elo
1470
Context
1.0M

Pricing Rates & Technical Specs

API Model IDz-ai/glm-5.2
Input / 1M$0.0070 (¥0.051)
Output / 1M$5.80 (¥42.05)
Blended / 1M (3:1)$1.46 (¥10.55)
Cache Read$0.0060 (-14%)
Batch Input / OutputNot listed
Context1,048,576 tokens
Max Completion Tokens943,718
Input Modalitiestext
Arena Elo / Coding Elo1470 / 1488
Released2026-06-16

Quick GLM 5.2 Cost Estimator

Adjust monthly token volume for instant spend

30M
10M
50%
Estimated Monthly Spend
—
—
Compare Side-by-Side with 3 Other Models →

Closest Alternatives to GLM 5.2

Selected by closest Arena Elo performance and blended price tier

ModelProviderArena EloInput / 1MOutput / 1MBlended / 1MContextCompare
Gemini 3.6 FlashGoogle1479$0.75$3.75$1.501.0MCompare
Muse Spark 1.1Meta1479$1.25$4.25$2.001.0MCompare
Kimi K2.6Moonshot (Kimi)1456$0.95$4.00$1.71262KCompare
Kimi K3.1 ProMoonshot (Kimi)1459$0.25$8.10$2.211.0MCompare
Claude Sonnet 5.5Anthropic1469$2.00$10.00$4.001MCompare
Muse Spark 1.2Meta1484$1.25$4.25$2.001.0MCompare