GLM-5.4
Summary
GLM-5.4 is a proprietary language model from Zhipu AI (Z.ai), released on 23 Nov 2026. It accepts text, images, video and PDFs and generates text, with a 1M-token context window and up to 131K output tokens per response. As of 3 Dec 2026, the lowest listed API price is $1.40 per million input tokens and $4.40 per million output tokens (Mistral API), across 7 providers we track.
Multimodal GLM flagship model for coding, agents, and complex project delivery
Last verified 3 Dec 2026. Every figure on this page links to its source.
Specifications
| Developer | Zhipu AI (Z.ai) |
|---|---|
| Release date | 23 Nov 2026 [models.dev] |
| Status | Generally available [models.dev] |
| Weights | Proprietary (API only) [models.dev] |
| Context window | 1M (1,000,000 tokens) [models.dev] |
| Max output | 131K tokens [models.dev] |
| Input | Text, images, video and PDFs [models.dev] |
| Output | Text [models.dev] |
| Reasoning mode | Yes [models.dev] |
| Tool calling | Yes [models.dev] |
| Structured output | Yes [models.dev] |
| Hugging Face | zai-org/GLM-5.4 |
GLM-5.4 API pricing by provider
USD per million tokens. Sorted by input price.
| Provider | Input | Output | Cached input | Context | Source |
|---|---|---|---|---|---|
| Mistral API zai-glm-5-4 | $1.40 | $4.40 | $0.14 | 1M | models.dev, 3 Dec 2026 |
| Z.ai API glm-5.4 | $1.40 | $4.40 | $0.26 | 1M | models.dev, 3 Dec 2026 |
| Baseten zai-org/GLM-5.4 | $1.40 | $4.40 | $0.14 | 1M | models.dev, 3 Dec 2026 |
| Nebius AI Studio zai-org/GLM-5.4 | $1.40 | $4.40 | $0.26 | 1M | models.dev, 3 Dec 2026 |
| FriendliAI zai-org/GLM-5.4 | $1.40 | $4.40 | $0.26 | 1M | models.dev, 3 Dec 2026 |
| Vercel AI Gateway zai/glm-5.4 | $1.40 | $4.40 | $0.14 | 1M | models.dev, 3 Dec 2026 |
| OpenRouter z-ai/glm-5.4 | $1.40 | $4.40 | $0.26 | 1M | OpenRouter, 3 Dec 2026 |
Frequently asked questions
What is the context window of GLM-5.4?
GLM-5.4 has a context window of 1,000,000 tokens (1M) and can generate up to 131,072 tokens in a single response, according to models.dev.
How much does the GLM-5.4 API cost?
Through Mistral API, GLM-5.4 costs $1.40 per million input tokens and $4.40 per million output tokens. Prices last verified 3 Dec 2026.
Is GLM-5.4 open source?
No. GLM-5.4 is a proprietary model; Zhipu AI (Z.ai) has not released its weights. It is available through APIs including Mistral API, Z.ai API, Baseten, Nebius AI Studio.
When was GLM-5.4 released?
Zhipu AI (Z.ai) released GLM-5.4 on 23 Nov 2026, according to models.dev.
Which providers offer GLM-5.4?
We track GLM-5.4 on 7 providers: Mistral API, Z.ai API, Baseten, Nebius AI Studio, FriendliAI, Vercel AI Gateway, OpenRouter.
Similar models from other labs
Comparable on output type, weights, release date, price and context window. Prices are the lowest listed, USD per million tokens.
| Model | Lab | Released | Context | Input $/1M | Output $/1M | Weights |
|---|---|---|---|---|---|---|
| Qwen4 Max | Alibaba (Qwen) | 16 Nov 2026 | 1M | $1.41 | $4.24 | Closed |
| ERNIE-Light-DT-1.0 | Baidu | 10 Nov 2026 | 1M | $1.13 | $3.94 | – |
| GPT-6.1 Terra | OpenAI | 26 Oct 2026 | 1.1M | $1 | $5 | Closed |
| Step 5 | StepFun | 1 Dec 2026 | 1M | $1 | $2.70 | Closed |
| Gemini 4 Hydrogen | Google DeepMind | 12 Nov 2026 | 1M | $1.50 | $7.50 | Closed |
| Muse Spark 1.3 | Meta | 2 Sept 2026 | 1M | $1.25 | $4.25 | Closed |
Change history
- Now listed on OpenRouter
- Now listed on Z.ai API
- Input modalities changed from text to text, image, video, pdf
- Now listed on Mistral API
- Now listed on Vercel AI Gateway
- Now listed on FriendliAI
- Now listed on Baseten
- Now listed on Nebius AI Studio
- Input modalities changed from text, image, video, pdf to text
- Input modalities changed from text to text, image, video, pdf
- Input modalities changed from text, image, video, pdf to text
- Input modalities changed from text to text, image, video, pdf
- Input modalities changed from text, image, video, pdf to text
- Added to the directory
Sources
- https://openrouter.ai/z-ai/glm-5.4
- https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.4.toml
- https://github.com/sst/models.dev/blob/dev/providers/mistral/models/zai-glm-5-4.toml
- https://github.com/sst/models.dev/blob/dev/providers/baseten/models/zai-org/GLM-5.4.toml
- https://github.com/sst/models.dev/blob/dev/providers/nebius/models/zai-org/GLM-5.4.toml
- https://github.com/sst/models.dev/blob/dev/providers/friendli/models/zai-org/GLM-5.4.toml
- https://github.com/sst/models.dev/blob/dev/providers/vercel/models/zai/glm-5.4.toml