Z.ai (GLM)Open WeightsReasoning

GLM 5.1 API Pricing & Token Cost

z-ai/glm-5.1 — GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

Input / 1M
$1.40
Output / 1M
$4.40
Blended / 1M
$2.15
Cache Read
$0.26
Arena Elo
1462
Context
205K

Pricing Rates & Technical Specs

API Model IDz-ai/glm-5.1
Input / 1M$1.40 (¥10.15)
Output / 1M$4.40 (¥31.90)
Blended / 1M (3:1)$2.15 (¥15.59)
Cache Read$0.26 (-81%)
Batch Input / OutputNot listed
Context204,800 tokens
Max Completion Tokens131,072
Input Modalitiestext
Arena Elo / Coding Elo1462 / 1485
Released2026-04-07

Quick GLM 5.1 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.1

Selected by closest Arena Elo performance and blended price tier

ModelProviderArena EloInput / 1MOutput / 1MBlended / 1MContextCompare
Kimi K3.1 ProMoonshot (Kimi)1459$0.25$8.10$2.211.0MCompare
Kimi K2.6Moonshot (Kimi)1456$0.95$4.00$1.71262KCompare
Claude Sonnet 5.5Anthropic1469$2.00$10.00$4.001MCompare
Muse Spark 1.1Meta1479$1.25$4.25$2.001.0MCompare
Grok 4.5xAI1448$2.00$6.00$3.00500KCompare
InklingThinkingmachines1444$1.00$4.05$1.761.0MCompare