LLMCost
z-ai

Z.ai: GLM 4.7 Flash API Pricing

Z.ai: GLM 4.7 Flash costs $0.060 per 1M input tokens and $0.400 per 1M output tokens. Context window: 200K. Prices verified 2026-10-21 · source

🔔 Price alerts coming soon

Alternatives to consider

💰 Save money
inclusionAI: Ling 3.0 Flash
$0.021 in / $0.063 out
Quality score: 20.1

78% cheaper with nearly identical quality (20.1 vs 14.9)

⬆️ Upgrade smart
Xiaomi: MiMo-V2.5
$0.119 in / $0.238 out
Quality score: 38

+23.1 quality points for 2% more

🏠 Same provider
Z.ai: GLM 5.3 Flash (batch)
$0.050 in / $0.180 out
Quality score: 41.8

Cheapest z-ai model — 43% less per month

Price history
2026-08-23 → 2026-10-21 · 59 daily snapshots
inputoutputinput +0.8% over window

Rebuilt daily from our snapshot archive — the chart appears once a model has 5+ snapshots of history.

Community adoption
1.1M
HF downloads
2K
Likes

High adoption means battle-tested weights, more fine-tunes/quants, and faster bug fixes. View on HuggingFace →

Pricing behavior
1 price change in the last 59 daily snapshots
Last move (2026-09-08): input +0.8%
Net input drift: +0.8% since 2026-08-23

From our own daily snapshot archive — independent of provider announcements.

Intelligence & capability
via Artificial Analysis
14.9
Intelligence index · top 62% of 288 scored
$0.1454
Blended $/1M (3:1 in:out)

Intelligence measures reasoning/knowledge/coding benchmarks. A high score with a low blended price = value pick; check the value chart to see where this model lands.

Input / 1M tokens
$0.060
Output / 1M tokens
$0.400
Context window
200K
Max output
118K
Reasoning behavior
Mode: On by default (toggleable)

Higher effort = deeper thinking = more reasoning tokens billed as output.

What would Z.ai: GLM 4.7 Flash cost you per month?

WorkloadRequests/moAvg tokens (in/out)Est. monthly cost
Light chatbot10,000800 / 400$2.08
Coding agent5,0008,000 / 2,000$6.42
RAG pipeline30,0004,000 / 500$13.26
Doc summarizer2,00020,000 / 1,000$3.22

Estimates use list prices without prompt caching. Caching can cut input cost by up to 90% on repeated context.

About Z.ai: GLM 4.7 Flash

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 Z.ai: GLM 4.7 Flash with

Popular head-to-heads — see all on the comparisons index.

Frequently asked questions

How much does Z.ai: GLM 4.7 Flash cost?

Z.ai: GLM 4.7 Flash costs $0.060 per 1M input tokens and $0.400 per 1M output tokens. Verified 2026-10-21 — provider source.

What is the context window?

200K tokens, with up to 118K output tokens per response. That's roughly 250 pages of text in a single request.

Does it support prompt caching?

Prompt-caching pricing is not published for this model via OpenRouter.

What's a cheaper alternative?

Mistral: Mistral Nemo saves about 81% on a typical workload with comparable quality.

Official resources