GLM-5
Summary
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.
General GLM flagship for coding, analysis, and tool-heavy engineering workflows
Last verified 4 Oct 2026. Every figure on this page links to its source.
Specifications
| Developer | Zhipu AI (Z.ai) |
|---|---|
| Release date | 12 Feb 2026 [models.dev] |
| Status | Generally available [models.dev] |
| Weights | Open weights [Hugging Face] |
| License | mit [Hugging Face] |
| Parameters | 754B [Hugging Face] |
| Context window | 205K (204,800 tokens) [models.dev] |
| Max output | 131K tokens [models.dev] |
| Knowledge cutoff | Dec 2025 [models.dev] |
| Input | Text [models.dev] |
| Output | Text [models.dev] |
| Reasoning mode | Yes [models.dev] |
| Tool calling | Yes [models.dev] |
| Hugging Face | zai-org/GLM-5 [Hugging Face] |
GLM-5 API pricing by provider
USD per million tokens. Sorted by input price.
| Provider | Input | Output | Cached input | Context | Source |
|---|---|---|---|---|---|
| OpenRouter z-ai/glm-5 | $0.60 | $1.92 | $0.12 | 198K | OpenRouter, 4 Oct 2026 |
| Baseten zai-org/GLM-5 | $0.95 | $3.15 | $0.20 | 203K | models.dev, 4 Oct 2026 |
| SiliconFlow zai-org/GLM-5 | $0.95 | $2.55 | $0.20 | 205K | models.dev, 4 Oct 2026 |
| Z.ai API glm-5 | $1 | $3.20 | $0.20 | 205K | models.dev, 4 Oct 2026 |
| Amazon Bedrock zai.glm-5 | $1 | $3.20 | – | 203K | models.dev, 4 Oct 2026 |
| Hugging Face Inference Providers zai-org/GLM-5 | $1 | $3.20 | $0.20 | 203K | models.dev, 4 Oct 2026 |
| Novita AI zai-org/glm-5 | $1 | $3.20 | $0.20 | 203K | models.dev, 4 Oct 2026 |
| Vercel AI Gateway zai/glm-5 | $1 | $3.20 | – | 203K | models.dev, 4 Oct 2026 |
Frequently asked questions
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.
Change history
No changes detected since we started tracking this model. We re-check every source daily.
Sources
- https://openrouter.ai/z-ai/glm-5
- https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.toml
- https://huggingface.co/zai-org/GLM-5
- https://github.com/sst/models.dev/blob/dev/providers/baseten/models/zai-org/GLM-5.toml
- https://github.com/sst/models.dev/blob/dev/providers/siliconflow/models/zai-org/GLM-5.toml
- https://github.com/sst/models.dev/blob/dev/providers/amazon-bedrock/models/zai.glm-5.toml
- https://github.com/sst/models.dev/blob/dev/providers/huggingface/models/zai-org/GLM-5.toml
- https://github.com/sst/models.dev/blob/dev/providers/novita-ai/models/zai-org/glm-5.toml
- https://github.com/sst/models.dev/blob/dev/providers/vercel/models/zai/glm-5.toml