Z.ai: GLM-4.7-Flash
GLM-4.7-Flash is a reasoning model from Z.ai released on Jan 19, 2026. It reads text and writes text, with a 200K token context window and up to 131K tokens per reply.
Show moreShow less
It costs $0.07 per million input tokens and $0.40 per million output tokens. Cached input bills at $0.035, 50% less than fresh input.
It supports tool calling, structured JSON output and prompt caching, and its weights are open, so you can host it yourself.
22 providers serve it, including Cloudflare Workers AI, Amazon Bedrock and Novita AI. The lowest input price is $0.06 per million tokens at DevPass (LLM Gateway).
- Modalities
- In / out price
- $0.07 / $0.40 per 1M
- Context
- 200K
- Max output
- 131K
- Released
- Jan 19, 2026
- Knowledge cutoff
- Apr 2025
- Tool calling
- Structured output
- Reasoning
- Prompt caching
- Open weights
- Free to use
GLM-4.7-Flash pricing
USD, as listed on Oct 15, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.
| Input | $0.07 / 1M tokens | |
|---|---|---|
| Output | $0.40 / 1M tokens | |
| Cached input (read) | $0.035 / 1M tokens | 50% off input |
GLM-4.7-Flash providers
22 providers serve it, including Cloudflare Workers AI, Amazon Bedrock and Novita AI. The lowest input price is $0.06 per million tokens at DevPass (LLM Gateway). Each host sets its own price and limits, so the cheapest one is not always the one with the longest context.
| Provider | Input /M | Output /M | Cache read /M | Context | Max output |
|---|---|---|---|---|---|
| Zhipu AI First party | $0 | $0 | $0 | 200K | 131K |
| Cloudflare Workers AI | $0.0605 | $0.40 | – | 131K | 131K |
| Amazon Bedrock | $0.07 | $0.40 | – | 203K | 131K |
| Novita AI | $0.07 | $0.40 | $0.01 | 200K | 128K |
| Vercel AI Gateway | $0.07 | $0.40 | – | 200K | 131K |
| DevPass (LLM Gateway) | $0.06 | $0.40 | $0.01 | 200K | 131K |
| Eden AI | $0.06 | $0.40 | $0.01 | 203K | 131K |
| LLM Gateway | $0.06 | $0.40 | $0.01 | 200K | 131K |
| Venice AI | $0.06 | $0.40 | $0.01 | 128K | 16K |
| Kilo Gateway | $0.0605 | $0.40 | – | 131K | 118K |
| Merge Gateway | $0.07 | $0.40 | – | 200K | 128K |
| NanoGPT | $0.07 | $0.40 | $0.035 | 200K | 128K |
Showing 12 of 22 providers: the lab first, then the major clouds, then the cheapest resellers.
What GLM-4.7-Flash costs per month
Pick a workload close to yours or type your own volumes.
Supported request parameters
What you can set when you call GLM-4.7-Flash through an OpenAI compatible API.
- Tools
tools - Structured outputs
structured_outputs - Reasoning
reasoning - Temperature
temperature
Alternatives to GLM-4.7-Flash
Models that take the same inputs and call tools, closest in price, cheaper ones first.
- Index 10
Reads text. Tool calling, structured output, reasoning. Served by 35 providers.
by openaiJun 1, 2024128K context$0.07/M input tokens$0.30/M output tokens35 providers
- 200K context
Reads text. Tool calling, reasoning. Served by 9 providers.
by z-aiJan 19, 2026$0.07/M input tokens$0.40/M output tokens9 providers
- 256K context
Reads text. Tool calling, structured output, reasoning. Served by 6 providers.
by stepfunApr 2, 2026$0.10/M input tokens$0.30/M output tokens6 providers
- 256K context
Reads text. Tool calling, structured output, reasoning. Served by 13 providers.
by stepfunJan 29, 2026$0.10/M input tokens$0.30/M output tokens13 providers
- 262K context
Reads text. Tool calling, reasoning. Served by 2 providers.
by xiaomiDec 16, 2025$0.10/M input tokens$0.30/M output tokens2 providers
- 33K context
Reads text. Tool calling, reasoning.
by qwenMar 31, 2025$0.15/M input tokens$0.15/M output tokens
More from Z.ai
- 1.05M context
Reads text and images. Tool calling, reasoning.
by z-aiOct 5, 2026$0.15/M input tokens$0.50/M output tokens
- 1.05M context
Reads text and images. Tool calling, reasoning.
by z-aiOct 5, 2026$0.15/M input tokens$0.50/M output tokens
- 1.05M context
Reads text. Tool calling, reasoning.
by z-aiSep 26, 2026$1.25/M input tokens$2.25/M output tokens
- 1M context
Reads text. Tool calling, reasoning.
by z-aiSep 23, 2026$2.80/M input tokens$8.80/M output tokens
- 1.05M context
Reads text and images. Tool calling, reasoning.
by z-aiSep 19, 2026$0.15/M input tokens$0.50/M output tokens
- 1.05M context
Reads text, images and video. Tool calling, reasoning.
by z-aiSep 18, 2026$0.37/M input tokens$1.25/M output tokens
GLM-4.7-Flash questions
How much does the GLM-4.7-Flash API cost?
$0.07 per million input tokens and $0.40 per million output tokens, with cached input at $0.035. The estimator on this page turns that into a monthly bill for your own workload.
What is the context window of GLM-4.7-Flash?
200,000 tokens of input, and it can write up to 131,072 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.
Which providers serve GLM-4.7-Flash?
22 providers serve it, including Cloudflare Workers AI, Amazon Bedrock and Novita AI. The lowest input price is $0.06 per million tokens at DevPass (LLM Gateway). Prices differ by host, so the Providers table on this page lists each one with its input and output price.
Does GLM-4.7-Flash support tool calling?
Yes. It accepts tool definitions and can return JSON that matches a schema, which is what an agent needs to call your APIs.
Is GLM-4.7-Flash open source?
Its weights are published, so you can run it on your own hardware or a cloud of your choice. Read the license before commercial use.
When was GLM-4.7-Flash released?
Jan 19, 2026, with training data up to Apr 2025.
Catalog data from models.dev (MIT licensed), refreshed daily, last on Oct 15, 2026. The summary is written from these facts.
Building on GLM-4.7-Flash?
I test your real tasks on it and the two closest alternatives, then ship the agent on whichever wins on cost and accuracy.
Book Meeting