# GLM-5

> GLM-5 is an open-weight language model from Zhipu AI (Z.ai), released on 12 Feb 2026. It accepts text and generates text, with a 205K-token context window and up to 131K output tokens per response. As of 4 Oct 2026, the lowest listed API price is $0.60 per million input tokens and $1.92 per million output tokens (OpenRouter), across 8 providers we track.

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

## Specifications

- **Developer:** Zhipu AI (Z.ai)
- **Release date:** 12 Feb 2026 (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.toml)
- **Status:** Generally available (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.toml)
- **Weights:** Open weights (source: Hugging Face, https://huggingface.co/zai-org/GLM-5)
- **License:** mit (source: Hugging Face, https://huggingface.co/zai-org/GLM-5)
- **Parameters:** 754B (source: Hugging Face, https://huggingface.co/zai-org/GLM-5)
- **Context window:** 205K (204,800 tokens) (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.toml)
- **Max output:** 131K tokens (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.toml)
- **Knowledge cutoff:** Dec 2025 (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.toml)
- **Input:** Text (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.toml)
- **Output:** Text (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.toml)
- **Reasoning mode:** Yes (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.toml)
- **Tool calling:** Yes (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.toml)
- **Hugging Face:** zai-org/GLM-5 (source: Hugging Face, https://huggingface.co/zai-org/GLM-5)

## API pricing (USD per 1M tokens)

| Provider | Input | Output | Cached input | Context |
|---|---|---|---|---|
| OpenRouter | $0.60 | $1.92 | $0.12 | 198K |
| Baseten | $0.95 | $3.15 | $0.20 | 203K |
| SiliconFlow | $0.95 | $2.55 | $0.20 | 205K |
| Z.ai API | $1 | $3.20 | $0.20 | 205K |
| Amazon Bedrock | $1 | $3.20 | – | 203K |
| Hugging Face Inference Providers | $1 | $3.20 | $0.20 | 203K |
| Novita AI | $1 | $3.20 | $0.20 | 203K |
| Vercel AI Gateway | $1 | $3.20 | – | 203K |

## FAQ

### What is the context window of GLM-5?

GLM-5 has a context window of 204,800 tokens (205K) and can generate up to 131,072 tokens in a single response, according to models.dev.

### How much does the GLM-5 API cost?

Through Z.ai API, GLM-5 costs $1 per million input tokens and $3.20 per million output tokens. The lowest listed price is $0.60 input / $1.92 output through OpenRouter. Prices last verified 4 Oct 2026.

### Is GLM-5 open source?

GLM-5 is an open-weight model: its weights are published on Hugging Face as zai-org/GLM-5 under the mit license. Check the license terms before commercial use.

### When was GLM-5 released?

Zhipu AI (Z.ai) released GLM-5 on 12 Feb 2026, according to models.dev.

### Which providers offer GLM-5?

We track GLM-5 on 8 providers: OpenRouter, Baseten, SiliconFlow, Z.ai API, Amazon Bedrock, Hugging Face Inference Providers, Novita AI, Vercel AI Gateway.

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