AiCostCompare

GLM 5.2

by Z.ai · z-ai/glm-5.2 · #200 cheapest of 325 paid models

Prices updated Jul 22, 2026, 1:31 AM UTC · refreshed hourly

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,...

Compare vs:Claude Sonnet 5Claude Opus 4.6Claude Haiku 4.5GPT-5.6 Sol

Pricing

Input

$0.825

per 1M tokens

Output

$2.59

per 1M tokens

Blended (3:1)

$1.27

3 input : 1 output

Cache read

$0.153

per 1M cached tokens

Cache write

per 1M tokens

Cache & batch economics

Effective prices for GLM 5.2 with prompt caching.

Cache hit rateEffective blended $/1MExample request*vs no cache
0%$1.27$0.0867
50%$1.01$0.0531−39%
90%$0.813$0.0263−70%

*Example: 100K sticky context + 2K new input + 1K output. Batch discount is an approximate 50% off list rates (available for OpenAI / Anthropic / Google — not flagged for this creator). Confirm on the vendor’s pricing page.

What a request costs

WorkloadInput tokensOutput tokensCost / requestCost / 1K requests
Short chat message500300$0.00119$1.19
Document summary8,0001,000$0.009188$9.19
Codebase question (RAG)30,0002,000$0.0299$29.92
Long-context analysis150,0005,000$0.1366$136.65

Performance

Intelligence Index

51.1

AA composite quality

Coding Index

68.8

Math Index

Agentic Index

43.1

Output speed

median

Time to first token

median

Time to first answer

after reasoning tokens

Design Arena Elo

CategoryElo
Website1,338
Web apps1,273
Full-stack1,289
Mobile apps1,237
Android native1,235
UI components1,335
Data viz1,310
SVG1,252
3D1,353
Game dev1,350
Agentic game dev1,193
Godot game dev1,143
HTML slides1,204
Python→PPTX slides1,187
Code categories1,341
ASCII art1,217

Specs

Context window

1.05M

tokens

Max output

131K

tokens

Input modalities

text

Tokenizer

Other