Z.ai: GLM-5.4
GLM-5.4 is a reasoning model from Z.ai released on Nov 23, 2026. It reads text and images and writes text, with a 1M token context window and up to 128K tokens per reply.
Show moreShow less
It costs $1.20 per million input tokens and $4.20 per million output tokens. Cached input bills at $0.30, 75% less than fresh input.
It supports tool calling, structured JSON output and prompt caching.
- Modalities
- In / out price
- $1.20 / $4.20 per 1M
- Context
- 1M
- Max output
- 128K
- Released
- Nov 23, 2026
- Knowledge cutoff
- n/a
- Tool calling
- Structured output
- Reasoning
- Prompt caching
- Open weights
- Free to use
GLM-5.4 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 | $1.20 / 1M tokens | |
|---|---|---|
| Output | $4.20 / 1M tokens | |
| Cached input (read) | $0.30 / 1M tokens | 75% off input |
What GLM-5.4 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.4 through an OpenAI compatible API.
- Tools
tools - Structured outputs
structured_outputs - Reasoning
reasoning - Temperature
temperature
Alternatives to GLM-5.4
Models that take the same inputs and call tools, closest in price, cheaper ones first.
- Index 25.8
Reads text, images and video. Tool calling, structured output, reasoning. Served by 45 providers.
by moonshotaiJun 12, 2026262K context$0.95/M input tokens$4/M output tokens45 providers
- 1M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 30 providers.
by x-aiApr 17, 2026$1.25/M input tokens$2.50/M output tokens30 providers
- 1M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 13 providers.
by x-aiMar 9, 2026$1.25/M input tokens$2.50/M output tokens13 providers
- Index 40.9
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 42 providers.
by googleSep 2, 20261.05M context$0.75/M input tokens$3.75/M output tokens42 providers
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 28 providers.
by googleJul 21, 2026$0.75/M input tokens$3.75/M output tokens28 providers
- 200K context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 10 providers.
by openaiApr 16, 2025$1.10/M input tokens$4.40/M output tokens10 providers
More from Z.ai
- 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
- 1.05M context
Reads text. Tool calling, reasoning.
by z-aiSep 26, 2026$0.55/M input tokens$1.40/M output tokens
GLM-5.4 questions
How much does the GLM-5.4 API cost?
$1.20 per million input tokens and $4.20 per million output tokens, with cached input at $0.30. The estimator on this page turns that into a monthly bill for your own workload.
What is the context window of GLM-5.4?
1,000,000 tokens of input, and it can write up to 128,000 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.
Does GLM-5.4 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.4 open source?
No. Z.ai serves it through an API only, so you cannot download the weights or host it yourself.
When was GLM-5.4 released?
Nov 23, 2026.
Catalog data from models.dev (MIT licensed), refreshed daily, last on Nov 29, 2026. The summary is written from these facts.