Z.ai: GLM-4.7
GLM-4.7 is a reasoning model from Z.ai released on Dec 22, 2025. It reads text and writes text, with a 205K token context window and up to 131K tokens per reply.
Show moreShow less
It costs $0.4482 per million input tokens and $2.09 per million output tokens. Cached input bills at $0.0896, 80% 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.
25 providers serve it, including Deep Infra, Hugging Face and Novita AI. The lowest input price is $0.274 per million tokens at AIHubMix.
- Modalities
- In / out price
- $0.4482 / $2.09 per 1M
- Context
- 205K
- Max output
- 131K
- Released
- Dec 22, 2025
- Knowledge cutoff
- Apr 2025
- Tool calling
- Structured output
- Reasoning
- Prompt caching
- Open weights
- Free to use
GLM-4.7 pricing
USD, as listed on Nov 18, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.
| Input | $0.4482 / 1M tokens | |
|---|---|---|
| Output | $2.09 / 1M tokens | |
| Cached input (read) | $0.0896 / 1M tokens | 80% off input |
| Cache write | $0 / 1M tokens | |
| Prompts over 32K | $0.5976 in, $2.39 out | long context rate |
GLM-4.7 providers
25 providers serve it, including Deep Infra, Hugging Face and Novita AI. The lowest input price is $0.274 per million tokens at AIHubMix. 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.4482 | $2.09 | $0.0896 | 205K | 131K |
| Deep Infra | $0.40 | $1.75 | $0.08 | 203K | 16K |
| Hugging Face | $0.60 | $2.20 | $0.11 | 205K | 131K |
| Novita AI | $0.60 | $2.20 | $0.11 | 205K | 131K |
| Vercel AI Gateway | $0.60 | $2.20 | n/a | 200K | 120K |
| AIHubMix | $0.274 | $1.10 | $0.0548 | 200K | 131K |
| 302.AI | $0.286 | $1.14 | n/a | 205K | 131K |
| ZenMux | $0.2911 | $1.16 | $0.0582 | 200K | 128K |
| Kilo Gateway | $0.40 | $1.75 | $0.08 | 203K | 131K |
| Meganova | $0.40 | $1.75 | $0.08 | 203K | 131K |
| Ofox | $0.40 | $2.20 | $0.11 | 205K | 131K |
| NanoGPT | $0.4004 | $1.93 | $0.0801 | 200K | 66K |
Showing 12 of 25 providers: the lab first, then the major clouds, then the cheapest resellers.
What GLM-4.7 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 through an OpenAI compatible API.
- Tools
tools - Structured outputs
structured_outputs - Reasoning
reasoning - Temperature
temperature
Alternatives to GLM-4.7
Models that take the same inputs and call tools, closest in price, cheaper ones first.
- Index 22.2
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 31 providers.
by googleJul 21, 20261.05M context$0.30/M input tokens$2.50/M output tokens31 providers
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 25 providers.
by googleJun 17, 2025$0.30/M input tokens$2.50/M output tokens25 providers
- Index 25.2
Reads text, images and video. Tool calling, structured output, reasoning. Served by 27 providers.
by qwenJun 2, 20261M context$0.40/M input tokens$1.60/M output tokens27 providers
- Index 17.5
Reads text, images and files. Tool calling, structured output, reasoning. Served by 14 providers.
by metaAug 10, 2026131K context$0.35/M input tokens$1.50/M output tokens14 providers
- Index 13.1
Reads text and images. Tool calling, structured output, reasoning. Served by 2 providers.
by cohereMay 20, 2026192K context$0.30/M input tokens$1.50/M output tokens2 providers
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 4 providers.
by googleJul 21, 2026$0.30/M input tokens$2.50/M output tokens4 providers
More from Z.ai
- 1.05M context
Reads text, images and video. Tool calling, structured output, reasoning. Served by 3 providers.
by z-aiNov 2, 2026$0.37/M input tokens$1.25/M output tokens3 providers
- 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. Served by 2 providers.
by z-aiSep 23, 2026$1.68/M input tokens$5.28/M output tokens2 providers
- 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
GLM-4.7 questions
How much does the GLM-4.7 API cost?
$0.4482 per million input tokens and $2.09 per million output tokens, with cached input at $0.0896. Prompts over 32K tokens bill at $0.5976 input and $2.39 output. The estimator on this page turns that into a monthly bill for your own workload.
What is the context window of GLM-4.7?
204,800 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?
25 providers serve it, including Deep Infra, Hugging Face and Novita AI. The lowest input price is $0.274 per million tokens at AIHubMix. Prices differ by host, so the Providers table on this page lists each one with its input and output price.
Does GLM-4.7 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 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 released?
Dec 22, 2025, with training data up to Apr 2025.
Catalog data from models.dev (MIT licensed), refreshed daily, last on Nov 18, 2026. The summary is written from these facts.