GLM-5.1
Summary
GLM-5.1 is an open-weight language model from Zhipu AI (Z.ai), released on 7 Apr 2026. It accepts text and generates text, with a 200K-token context window and up to 131K output tokens per response. As of 4 Oct 2026, the lowest listed API price is $1 per million input tokens and $3.20 per million output tokens (Hugging Face Inference Providers), across 8 providers we track.
Strong GLM coding model for agentic engineering, terminals, and repository generation
Last verified 4 Oct 2026. Every figure on this page links to its source.
Specifications
| Developer | Zhipu AI (Z.ai) |
|---|---|
| Release date | 7 Apr 2026 [models.dev] |
| Status | Generally available [models.dev] |
| Weights | Open weights [Hugging Face] |
| License | mit [Hugging Face] |
| Parameters | 754B [Hugging Face] |
| Context window | 200K (200,000 tokens) [models.dev] |
| Max output | 131K tokens [models.dev] |
| Knowledge cutoff | Apr 2025 [models.dev] |
| Input | Text [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.1 [Hugging Face] |
GLM-5.1 API pricing by provider
USD per million tokens. Sorted by input price.
| Provider | Input | Output | Cached input | Context | Source |
|---|---|---|---|---|---|
| Hugging Face Inference Providers zai-org/GLM-5.1 | $1 | $3.20 | $0.20 | 203K | models.dev, 4 Oct 2026 |
| SiliconFlow zai-org/GLM-5.1 | $1.19 | $3.74 | $0.60 | 205K | models.dev, 4 Oct 2026 |
| Baseten zai-org/GLM-5.1 | $1.30 | $4.30 | $0.26 | 203K | models.dev, 4 Oct 2026 |
| Novita AI zai-org/glm-5.1 | $1.38 | $4.40 | $0.26 | 205K | models.dev, 4 Oct 2026 |
| Z.ai API glm-5.1 | $1.40 | $4.40 | $0.26 | 200K | models.dev, 4 Oct 2026 |
| FriendliAI zai-org/GLM-5.1 | $1.40 | $4.40 | $0.26 | 203K | models.dev, 4 Oct 2026 |
| Vercel AI Gateway zai/glm-5.1 | $1.40 | $4.40 | $0.26 | 203K | models.dev, 4 Oct 2026 |
| OpenRouter z-ai/glm-5.1 | $1.40 | $4.40 | $0.26 | 203K | OpenRouter, 4 Oct 2026 |
Frequently asked questions
What is the context window of GLM-5.1?
GLM-5.1 has a context window of 200,000 tokens (200K) and can generate up to 131,072 tokens in a single response, according to models.dev.
How much does the GLM-5.1 API cost?
Through Z.ai API, GLM-5.1 costs $1.40 per million input tokens and $4.40 per million output tokens. The lowest listed price is $1 input / $3.20 output through Hugging Face Inference Providers. Prices last verified 4 Oct 2026.
Is GLM-5.1 open source?
GLM-5.1 is an open-weight model: its weights are published on Hugging Face as zai-org/GLM-5.1 under the mit license. Check the license terms before commercial use.
When was GLM-5.1 released?
Zhipu AI (Z.ai) released GLM-5.1 on 7 Apr 2026, according to models.dev.
Which providers offer GLM-5.1?
We track GLM-5.1 on 8 providers: Hugging Face Inference Providers, SiliconFlow, Baseten, Novita AI, Z.ai API, FriendliAI, Vercel AI Gateway, OpenRouter.
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.1
- https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-5.1.toml
- https://huggingface.co/zai-org/GLM-5.1
- https://github.com/sst/models.dev/blob/dev/providers/huggingface/models/zai-org/GLM-5.1.toml
- https://github.com/sst/models.dev/blob/dev/providers/siliconflow/models/zai-org/GLM-5.1.toml
- https://github.com/sst/models.dev/blob/dev/providers/baseten/models/zai-org/GLM-5.1.toml
- https://github.com/sst/models.dev/blob/dev/providers/novita-ai/models/zai-org/glm-5.1.toml
- https://github.com/sst/models.dev/blob/dev/providers/friendli/models/zai-org/GLM-5.1.toml
- https://github.com/sst/models.dev/blob/dev/providers/vercel/models/zai/glm-5.1.toml