Z.ai: GLM-5
GLM-5 is a reasoning model from Z.ai released on Feb 11, 2026. It reads text and writes text, with a 205K token context window and up to 131K tokens per reply.
Show moreShow less
It costs $1 per million input tokens and $3.20 per million output tokens. Cached input bills at $0.20, 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.
30 providers serve it, including Amazon Bedrock, Novita AI and Vercel AI Gateway. The lowest input price is $0.40 per million tokens at Vultr.
- Modalities
- In / out price
- $1 / $3.20 per 1M
- Context
- 205K
- Max output
- 131K
- Released
- Feb 11, 2026
- Knowledge cutoff
- n/a
- Tool calling
- Structured output
- Reasoning
- Prompt caching
- Open weights
- Free to use
GLM-5 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 | $1 / 1M tokens | |
|---|---|---|
| Output | $3.20 / 1M tokens | |
| Cached input (read) | $0.20 / 1M tokens | 80% off input |
| Cache write | $0 / 1M tokens |
GLM-5 providers
30 providers serve it, including Amazon Bedrock, Novita AI and Vercel AI Gateway. The lowest input price is $0.40 per million tokens at Vultr. 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 | $1 | $3.20 | $0.20 | 205K | 131K |
| Amazon Bedrock | $1 | $3.20 | – | 203K | 131K |
| Novita AI | $1 | $3.20 | $0.20 | 203K | 131K |
| Vercel AI Gateway | $1 | $3.20 | – | 203K | 131K |
| Vultr | $0.40 | $1.75 | – | 203K | 131K |
| Alibaba (China) | $0.573 | $2.58 | – | 203K | 16K |
| ZenMux | $0.58 | $2.60 | $0.14 | 200K | 128K |
| 302.AI | $0.60 | $2.60 | – | 205K | 131K |
| CrossModel | $0.60 | $3 | $0.16 | 200K | 128K |
| GMI Cloud | $0.60 | $1.92 | $0.12 | 203K | 131K |
| NanoGPT | $0.60 | $1.90 | $0.10 | 200K | 128K |
| DevPass (LLM Gateway) | $0.72 | $2.30 | $0.144 | 203K | 131K |
Showing 12 of 30 providers: the lab first, then the major clouds, then the cheapest resellers.
What GLM-5 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-5 through an OpenAI compatible API.
- Tools
tools - Structured outputs
structured_outputs - Reasoning
reasoning - Temperature
temperature
Alternatives to GLM-5
Models that take the same inputs and call tools, closest in price, cheaper ones first.
- Index 40.9
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 24 providers.
by googleSep 2, 20261.05M context$0.75/M input tokens$3.75/M output tokens24 providers
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 25 providers.
by googleJul 9, 2026$0.75/M input tokens$3.75/M output tokens25 providers
- 1.05M context
Reads text. Tool calling, structured output, reasoning. Served by 14 providers.
by tencentAug 28, 2026$0.834/M input tokens$2.50/M output tokens14 providers
- 256K context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 18 providers.
by x-aiApr 16, 2026$1/M input tokens$2/M output tokens18 providers
- Index 33.7
Reads text, images and video. Tool calling, structured output, reasoning. Served by 45 providers.
by qwenAug 14, 2026262K context$0.45/M input tokens$3.20/M output tokens45 providers
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 27 providers.
by googleDec 17, 2025$0.50/M input tokens$3/M output tokens27 providers
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-5 questions
How much does the GLM-5 API cost?
$1 per million input tokens and $3.20 per million output tokens, with cached input at $0.20. The estimator on this page turns that into a monthly bill for your own workload.
What is the context window of GLM-5?
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-5?
30 providers serve it, including Amazon Bedrock, Novita AI and Vercel AI Gateway. The lowest input price is $0.40 per million tokens at Vultr. Prices differ by host, so the Providers table on this page lists each one with its input and output price.
Does GLM-5 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-5 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-5 released?
Feb 11, 2026.
Catalog data from models.dev (MIT licensed), refreshed daily, last on Oct 15, 2026. The summary is written from these facts.
Building on GLM-5?
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