Z-ai model
GLM 4.7 Flash API cost calculator
GLM 4.7 Flash costs $0.06 per 1M input tokens and $0.40 per 1M output tokens on the Z-ai API, with a 203K-token context window. A typical request (2K input, 500 output tokens) costs $0.0003 — about $9.60/month at 1,000 requests per day. Use the calculator below to model your exact workload.
Find me a cheaper modelWhat real workloads cost on GLM 4.7 Flash
| Workload | Tokens (in / out) | Per request | Per 1K requests |
|---|---|---|---|
| Chatbot message | 500 / 300 | $0.0001 | $0.15 |
| RAG query with context | 4,000 / 500 | $0.0004 | $0.44 |
| Document summarization | 20,000 / 1,000 | $0.0016 | $1.60 |
| Agent coding session | 100,000 / 5,000 | $0.0080 | $8.00 |
GLM 4.7 Flash vs other Z-ai models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| GLM 4.7 Flash | $0.06 | $0.40 | 203K |
| GLM 5.3 | $1.40 | $4.40 | 1.0M |
| GLM 5.2 | $0.97 | $3.04 | 1.0M |
| GLM 5.1 | $0.97 | $3.04 | 205K |
| GLM 5V Turbo | $1.20 | $4 | 203K |
Frequently asked questions
How much does GLM 4.7 Flash cost per 1M tokens?
According to current pricing data, GLM 4.7 Flash costs $0.06 per 1M input tokens and $0.40 per 1M output tokens. Processing 1M tokens each way costs $0.46.
What does a typical API request to GLM 4.7 Flash cost?
A typical request with 2,000 input tokens and 500 output tokens costs $0.0003. At 1,000 requests per day that is $0.32 daily, or about $9.60 per month.
What is GLM 4.7 Flash's context window?
GLM 4.7 Flash supports a 203K-token context window (202,752 tokens).
Does GLM 4.7 Flash support prompt caching?
Yes. Cached input tokens cost $0.01 per 1M — a 83% discount versus the standard input rate, which matters for agents and chat apps that resend the same system prompt.
What is a cheaper alternative to GLM 4.7 Flash?
Ling-2.6-flash from Inclusionai is currently the cheapest comparable option at $0.01 per 1M input tokens versus $0.06 for GLM 4.7 Flash — roughly 6x cheaper on input.
Compare all current prices on the live model pricing dashboard, see GLM 4.7 Flash vs Ling-2.6-flash pricing, or run GLM 4.7 Flash head-to-head against other models in the side-by-side comparison playground.
Pricing data via the OpenRouter models API.