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 $0.5976 per million input tokens and $2.69 per million output tokens. Cached input bills at $0.1494, 75% 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.
31 providers serve it, including SiliconFlow, Amazon Bedrock and Hugging Face. The lowest input price is $0.40 per million tokens at Vultr.
- Modalities
- In / out price
- $0.5976 / $2.69 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 Nov 29, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.
| Input | $0.5976 / 1M tokens | |
|---|---|---|
| Output | $2.69 / 1M tokens | |
| Cached input (read) | $0.1494 / 1M tokens | 75% off input |
| Cache write | $0 / 1M tokens | |
| Prompts over 32K | $0.8964 in, $3.29 out | long context rate |
GLM-5 providers
31 providers serve it, including SiliconFlow, Amazon Bedrock and Hugging Face. 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 | $0.5976 | $2.69 | $0.1494 | 205K | 131K |
| SiliconFlow | $0.95 | $2.55 | $0.20 | 205K | 131K |
| Amazon Bedrock | $1 | $3.20 | n/a | 203K | 131K |
| Hugging Face | $1 | $3.20 | n/a | 203K | 131K |
| Novita AI | $1 | $3.20 | $0.20 | 203K | 131K |
| Vercel AI Gateway | $1 | $3.20 | n/a | 203K | 131K |
| Vultr | $0.40 | $1.75 | n/a | 203K | 131K |
| Alibaba (China) | $0.573 | $2.58 | n/a | 203K | 16K |
| DevPass (LLM Gateway) | $0.573 | $2.58 | $0.144 | 203K | 131K |
| Qiniu | $0.5797 | $2.61 | n/a | 200K | 128K |
| ZenMux | $0.58 | $2.60 | $0.14 | 200K | 128K |
| 302.AI | $0.60 | $2.60 | n/a | 205K | 131K |
Showing 12 of 31 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 38.4
Reads text, images and files. Tool calling, structured output, reasoning. Served by 14 providers.
by mistralaiOct 5, 20261.05M context$0.70/M input tokens$2.10/M output tokens14 providers
- Index 36
Reads text. Tool calling, structured output, reasoning. Served by 75 providers.
by deepseekApr 24, 20261.05M context$0.66/M input tokens$1.98/M output tokens75 providers
- Index 13.4
Reads text, images and files. Tool calling, structured output, reasoning. Served by 5 providers.
by amazonDec 2, 20251M context$0.33/M input tokens$2.75/M output tokens5 providers
- Index 22.9
Reads text. Tool calling, structured output, reasoning. Served by 25 providers.
by nvidiaJun 4, 20261M context$0.50/M input tokens$2.20/M output tokens25 providers
- Index 22.2
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 33 providers.
by googleJul 21, 20261.05M context$0.30/M input tokens$2.50/M output tokens33 providers
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 24 providers.
by googleJun 17, 2025$0.30/M input tokens$2.50/M output tokens24 providers
More from Z.ai
- 1M context
Reads text and images. Tool calling, structured output, reasoning.
by z-aiNov 23, 2026$1.20/M input tokens$4.20/M output tokens
- 262K context
Reads text. Tool calling, reasoning.
by z-aiNov 14, 2026$0.429/M input tokens$1.45/M output tokens
- 262K context
Reads text. Tool calling, reasoning.
by z-aiNov 14, 2026$0.242/M input tokens$0.88/M output tokens
- 1M context
Reads text, images, files and video. Tool calling, structured output, reasoning. Served by 7 providers.
by z-aiNov 2, 2026$0.2994/M input tokens$1.05/M output tokens7 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
GLM-5 questions
How much does the GLM-5 API cost?
$0.5976 per million input tokens and $2.69 per million output tokens, with cached input at $0.1494. Prompts over 32K tokens bill at $0.8964 input and $3.29 output. 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?
31 providers serve it, including SiliconFlow, Amazon Bedrock and Hugging Face. 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 Nov 29, 2026. The summary is written from these facts.