AiCostCompare

GLM 5

by Z.ai · z-ai/glm-5 · #278 cheapest of 457 paid models

Prices updated Nov 18, 2026, 1:36 PM UTC · refreshed nightly

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading...

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

Pricing

Input

$1.00

per 1M tokens

Output

$3.20

per 1M tokens

Blended (3:1)

$1.55

3 input : 1 output

Cache read

$0.20

per 1M cached tokens

Cache write

—

per 1M tokens

Cache & batch economics

Effective prices for GLM 5 with prompt caching.

Cache hit rateEffective blended $/1MExample request*vs no cache
0%$1.55$0.1052—
50%$1.25$0.0652−38%
90%$1.01$0.0332−68%

*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.00146$1.46
Document summary8,0001,000$0.0112$11.20
Codebase question (RAG)30,0002,000$0.0364$36.40
Long-context analysis150,0005,000$0.166$166.00

Performance

Intelligence Index

—

AA composite quality

Coding Index

—

Math Index

—

Agentic Index

—

Output speed

—

median

Time to first token

—

median

Time to first answer

—

after reasoning tokens

Design Arena Elo

CategoryElo
Website1,238
Full-stack1,096
Mobile apps1,128
Android native1,135
UI components1,219
Data viz1,224
SVG1,157
3D1,209
Game dev1,223
Godot game dev1,144
HTML slides1,044
Code categories1,235
ASCII art1,130

Specs

Context window

205K

tokens

Max output

131K

tokens

Input modalities

text

Tokenizer

Other