# GLM-5.4

> 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.

Source page: https://www.aimodel.directory/models/glm-5-4
Last verified: 3 Dec 2026

## Specifications

- **Developer:** Zhipu AI (Z.ai)
- **Release date:** 23 Nov 2026 (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.4.toml)
- **Status:** Generally available (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.4.toml)
- **Weights:** Proprietary (API only) (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.4.toml)
- **Context window:** 1M (1,000,000 tokens) (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.4.toml)
- **Max output:** 131K tokens (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.4.toml)
- **Input:** Text, images, video and PDFs (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.4.toml)
- **Output:** Text (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.4.toml)
- **Reasoning mode:** Yes (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.4.toml)
- **Tool calling:** Yes (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.4.toml)
- **Structured output:** Yes (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.4.toml)
- **Hugging Face:** zai-org/GLM-5.4

## API pricing (USD per 1M tokens)

| Provider | Input | Output | Cached input | Context |
|---|---|---|---|---|
| Mistral API | $1.40 | $4.40 | $0.14 | 1M |
| Z.ai API | $1.40 | $4.40 | $0.26 | 1M |
| Baseten | $1.40 | $4.40 | $0.14 | 1M |
| Nebius AI Studio | $1.40 | $4.40 | $0.26 | 1M |
| FriendliAI | $1.40 | $4.40 | $0.26 | 1M |
| Vercel AI Gateway | $1.40 | $4.40 | $0.14 | 1M |
| OpenRouter | $1.40 | $4.40 | $0.26 | 1M |

## FAQ

### 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.

---
Data licensed CC BY 4.0. Cite as: AI Model Directory, "GLM-5.4", https://www.aimodel.directory/models/glm-5-4