AiCostCompare

GLM 4.7

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

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

GLM-4.7 is Z.ai’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution. It demonstrates significant improvements in executing complex agent tasks while...

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

Pricing

Input

$0.40

per 1M tokens

Output

$1.75

per 1M tokens

Blended (3:1)

$0.738

3 input : 1 output

Cache read

$0.08

per 1M cached tokens

Cache write

per 1M tokens

Cache & batch economics

Effective prices for GLM 4.7 with prompt caching.

Cache hit rateEffective blended $/1MExample request*vs no cache
0%$0.738$0.0426
50%$0.617$0.0266−38%
90%$0.521$0.0138−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.000725$0.725
Document summary8,0001,000$0.00495$4.95
Codebase question (RAG)30,0002,000$0.0155$15.50
Long-context analysis150,0005,000$0.0687$68.75

Performance

Intelligence Index

33.7

AA composite quality

Coding Index

45.3

Math Index

Agentic Index

25.4

Output speed

median

Time to first token

median

Time to first answer

after reasoning tokens

Design Arena Elo

CategoryElo
Website1,253
Full-stack1,108
Mobile apps1,183
Android native1,105
UI components1,240
Data viz1,231
SVG1,189
3D1,249
Game dev1,247
Godot game dev1,077
Code categories1,249
ASCII art1,208

Specs

Context window

205K

tokens

Max output

131K

tokens

Input modalities

text

Tokenizer

Other