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 rate | Effective blended $/1M | Example 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
| Workload | Input tokens | Output tokens | Cost / request | Cost / 1K requests |
|---|---|---|---|---|
| Short chat message | 500 | 300 | $0.00015 | $0.1502 |
| Document summary | 8,000 | 1,000 | $0.000884 | $0.884 |
| Codebase question (RAG) | 30,000 | 2,000 | $0.002615 | $2.62 |
| Long-context analysis | 150,000 | 5,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
| Category | Elo |
|---|---|
| Website | 1,221 |
| UI components | 1,250 |
| Data viz | 1,160 |
| SVG | 1,085 |
| 3D | 1,179 |
| Game dev | 1,193 |
| Code categories | 1,211 |
Specs
Context window
203K
tokens
Max output
131K
tokens
Input modalities
text
Tokenizer
Other