Z.ai · Model
GLM 4.7 Flash pricing, context window and specs
GLM 4.7 Flash costs $0.0605 per million input tokens and $0.40 per million output tokens, and reads up to 131,072 tokens per request. By blended price it is the cheapest of Z.ai’s 7 current models here.
- Input / 1M
- $0.0605
- Output / 1M
- $0.40
- Cached / 1M
- –
- Context
- 131,072
- Max output
- Not published
- Released
- 2026-01-19
Estimate your cost with GLM 4.7 FlashCompare all Z.ai modelsCount tokens for GLM 4.7 Flash
Pricing
GLM 4.7 Flash API pricing
| Price per 1M tokens | Input | Output |
|---|---|---|
| Standard | $0.0605 | $0.40 |
Output costs 6.6× the input price, so long replies drive the bill more than long prompts. No cached-input price is published, so repeated prompt prefixes are billed at the full input price.
Examples
What GLM 4.7 Flash costs in practice
| Workload | Tokens in / out | Requests/day | Per request | Per month |
|---|---|---|---|---|
| Support chatbot | 1,500 / 400 | 1,000 | $0.000251 | $7.63 |
| RAG app | 6,000 / 500 | 500 | $0.000563 | $8.56 |
| Coding agent | 40,000 / 2,000 | 200 | $0.00322 | $19.59 |
| Document summariser | 8,000 / 600 | 300 | $0.000724 | $6.61 |
Change any number in the cost calculator.
Context
Context window
GLM 4.7 Flash accepts up to 131,072 tokens per request, roughly 98,304 English words or 197 pages. That budget is shared between your prompt and the reply, and no separate cap on the reply is published.
Filling the whole window with one prompt costs about $0.00793 at list price, so for repeated long-document work, retrieval (sending only the relevant parts) or prompt caching is usually much cheaper.
Features
Capabilities
- Image input
- No
- Tool / function calling
- Yes
- Reasoning mode
- Yes
- Prompt caching
- No
- Structured output
- Yes
- Open weights
- Yes
- Accepts
- text
- Knowledge cutoff
- Not published
As declared by the provider’s API. It shows a feature exists, not how well it works.
API
GLM 4.7 Flash model ID
- OpenRouter
z-ai/glm-4.7-flash- Open weights
- zai-org/GLM-4.7-Flash
Use the OpenRouter ID when calling it through OpenRouter; Z.ai’s own API may name it differently. See the model ID reference for the providers we document.
Z.ai
Where GLM 4.7 Flash sits in Z.ai’s line-up
Ranked by blended price (three parts input to one part output, $0.1454 per 1M for GLM 4.7 Flash), it is the cheapest of Z.ai’s 7 current models here. One step up, GLM 4.6V costs $0.45 (3.1× as much). Unlike GLM 4.7 Flash, it accepts images and video. See every Z.ai model and price
| Model | Input / 1M | Output / 1M | Context | Released |
|---|---|---|---|---|
| GLM 4.7 Flash (this page) | $0.0605 | $0.40 | 131,072 | 2026-01-19 |
| GLM 4.6V | $0.30 | $0.90 | 131,072 | 2025-12-08 |
| GLM 5.3 FlashX | $0.37 | $1.25 | 1,048,576 | 2026-09-18 |
| GLM 5 Turbo | $1.20 | $4 | 202,752 | 2026-03-15 |
| GLM 5V Turbo | $1.20 | $4 | 202,752 | 2026-04-01 |
| GLM 5.3 | $1.40 | $4.40 | 1,048,576 | 2026-08-18 |
| GLM 5.3 Prime | $2.80 | $8.80 | 1,000,000 | 2026-09-23 |
Z.ai’s current models with a page here, cheapest first. Older and superseded models are listed on the provider page and in the comparison table.
Save
Cheaper alternatives
- Nemotron 3.5 LightningNVIDIA29% cheaper
- Qwen3.5-9BQwen23% cheaper
- Seed 1.6 FlashByteDance Seed10% cheaper
- Gemma 4 26B A4BGoogle2% cheaper
Current models from major providers, one per provider, that keep tool calling, a reasoning mode, a usable context window and output limit. Compared by blended price.
Compare
Similarly priced models
- Gemma 4 26B A4BGoogle$0.09 / $0.30
- Ministral 3 8B 2512Mistral$0.15 / $0.15
- Seed 1.6 FlashByteDance Seed$0.075 / $0.30
- Nemotron 3 SuperNVIDIA$0.08 / $0.45
- Qwen3.5-9BQwen$0.10 / $0.15
Current models from other major providers, closest blended price.
FAQ
GLM 4.7 Flash questions
How much does GLM 4.7 Flash cost?
GLM 4.7 Flash costs $0.0605 per million input tokens and $0.40 per million output tokens. A typical chatbot reply (1,500 tokens in, 400 out) costs about $0.000251. Use the LLM cost calculator for your own workload.
What is GLM 4.7 Flash’s context window?
131,072 tokens, about 98,304 English words or 197 printed pages, shared between your prompt and the reply. No separate limit on the reply is published, so the window is the limit.
Does GLM 4.7 Flash support prompt caching and batch requests?
No cached-input price is published for it. No batch price is published for it.
What are cheaper alternatives to GLM 4.7 Flash?
With the same essentials (tool calling), the cheapest options are Nemotron 3.5 Lightning (29% cheaper), Qwen3.5-9B (23% cheaper), Seed 1.6 Flash (10% cheaper). Cheaper doesn’t mean equivalent, so test them on your own prompts.
What is the API model ID for GLM 4.7 Flash?
On OpenRouter it is z-ai/glm-4.7-flash. Z.ai’s own API may use a different name, so check its model list before you deploy. Pass the ID as the model value in each request.
Is GLM 4.7 Flash open source?
Yes, GLM 4.7 Flash has open weights, so you can run it yourself or choose between several hosting providers. The prices here are a typical hosted price.