AiCostCompare

GLM 4.7 Flash

by Z.ai · z-ai/glm-4.7-flash · #44 cheapest of 325 paid models

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

As a 30B-class SOTA model, GLM-4.7-Flash offers a new option that balances performance and efficiency. It is further optimized for agentic coding use cases, strengthening coding capabilities, long-horizon task planning,...

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

Pricing

Input

$0.061

per 1M tokens

Output

$0.40

per 1M tokens

Blended (3:1)

$0.145

3 input : 1 output

Cache read

per 1M cached tokens

Cache write

per 1M tokens

Cache & batch economics

Effective prices for GLM 4.7 Flash (no cache-read rate published — hits billed as normal input).

Cache hit rateEffective blended $/1MExample request*vs no cache
0%$0.145$0.006571
50%$0.145$0.006571−0%
90%$0.145$0.006571−0%

*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.00015$0.1502
Document summary8,0001,000$0.000884$0.884
Codebase question (RAG)30,0002,000$0.002615$2.62
Long-context analysis150,0005,000$0.0111$11.07

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,221
UI components1,250
Data viz1,160
SVG1,085
3D1,179
Game dev1,193
Code categories1,211

Specs

Context window

203K

tokens

Max output

131K

tokens

Input modalities

text

Tokenizer

Other