GLM-4.7
Summary
GLM-4.7 is an open-weight language model from Zhipu AI (Z.ai), released on 22 Dec 2025. 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.40 per million input tokens and $1.75 per million output tokens (DeepInfra), across 8 providers we track. It is scheduled for retirement on 31 Dec 2026.
Mature GLM model for dependable coding, reasoning, and structured agent tasks
Last verified 4 Oct 2026. Every figure on this page links to its source.
Specifications
| Developer | Zhipu AI (Z.ai) |
|---|---|
| Release date | 22 Dec 2025 [models.dev] |
| Status | Generally available [models.dev] |
| Weights | Open weights [Hugging Face] |
| License | mit [Hugging Face] |
| Parameters | 358B [Hugging Face] |
| Context window | 205K (204,800 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] |
| Retirement date | 31 Dec 2026 [OpenRouter] |
| Hugging Face | zai-org/GLM-4.7 [Hugging Face] |
GLM-4.7 API pricing by provider
USD per million tokens. Sorted by input price.
| Provider | Input | Output | Cached input | Context | Source |
|---|---|---|---|---|---|
| DeepInfra zai-org/GLM-4.7 | $0.40 | $1.75 | $0.08 | 203K | models.dev, 4 Oct 2026 |
| Z.ai API glm-4.7 | $0.60 | $2.20 | $0.11 | 205K | models.dev, 4 Oct 2026 |
| Amazon Bedrock zai.glm-4.7 | $0.60 | $2.20 | – | 203K | models.dev, 4 Oct 2026 |
| Baseten zai-org/GLM-4.7 | $0.60 | $2.20 | $0.12 | 200K | models.dev, 4 Oct 2026 |
| Novita AI zai-org/glm-4.7 | $0.60 | $2.20 | $0.11 | 205K | models.dev, 4 Oct 2026 |
| Hugging Face Inference Providers zai-org/GLM-4.7 | $0.60 | $2.20 | $0.11 | 205K | models.dev, 4 Oct 2026 |
| OpenRouter z-ai/glm-4.7 | $0.60 | $2.20 | $0.11 | 203K | OpenRouter, 4 Oct 2026 |
| Vercel AI Gateway zai/glm-4.7 | $0.60 | $2.20 | – | 200K | models.dev, 4 Oct 2026 |
Frequently asked questions
What is the context window of GLM-4.7?
GLM-4.7 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-4.7 API cost?
Through Z.ai API, GLM-4.7 costs $0.60 per million input tokens and $2.20 per million output tokens. The lowest listed price is $0.40 input / $1.75 output through DeepInfra. Prices last verified 4 Oct 2026.
Is GLM-4.7 open source?
GLM-4.7 is an open-weight model: its weights are published on Hugging Face as zai-org/GLM-4.7 under the mit license. Check the license terms before commercial use.
When was GLM-4.7 released?
Zhipu AI (Z.ai) released GLM-4.7 on 22 Dec 2025, according to models.dev.
Which providers offer GLM-4.7?
We track GLM-4.7 on 8 providers: DeepInfra, Z.ai API, Amazon Bedrock, Baseten, Novita AI, Hugging Face Inference Providers, OpenRouter, 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-4.7
- https://github.com/sst/models.dev/blob/dev/providers/zai/models/glm-4.7.toml
- https://huggingface.co/zai-org/GLM-4.7
- https://github.com/sst/models.dev/blob/dev/providers/deepinfra/models/zai-org/GLM-4.7.toml
- https://github.com/sst/models.dev/blob/dev/providers/amazon-bedrock/models/zai.glm-4.7.toml
- https://github.com/sst/models.dev/blob/dev/providers/baseten/models/zai-org/GLM-4.7.toml
- https://github.com/sst/models.dev/blob/dev/providers/novita-ai/models/zai-org/glm-4.7.toml
- https://github.com/sst/models.dev/blob/dev/providers/huggingface/models/zai-org/GLM-4.7.toml
- https://github.com/sst/models.dev/blob/dev/providers/vercel/models/zai/glm-4.7.toml