DeepSeek-V3.1 vs GLM-5.1
GLM-5.1 wins 1 of 1 benchmarks both models report and has a higher Epoch Capabilities Index (150.7 vs 140.9). DeepSeek-V3.1 is about 5× cheaper on a blended (3:1 input:output) token price. GLM-5.1 has the larger context window (200K vs 128K).
| Spec | DeepSeek-V3.1 | GLM-5.1 |
|---|---|---|
| Provider | DeepSeek | Zhipu AI (Z.ai) |
| Released | Aug 21, 2025 | Apr 7, 2026 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | 685B | 754B |
| Context window | 128K | 200K (better) |
| Max output | 8K | 128K (better) |
| Input price / 1M | $0.2 (better) | $0.896 |
| Output price / 1M | $0.7 (better) | $3.59 |
| Input modalities | text | text |
| Open weights | Yes | Yes |
| License | mit | mit |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 16 | 48 (better) |
| Epoch Capabilities Index | 140.9 | 150.7 (better) |
| GPQA Diamond | — | 89.9% |
| SWE-bench Verified | — | 74.2% |
| WebDev Arena | — | 1508 |
| OTIS Mock AIME | — | 93.3% |
| FrontierMath | — | 36.8% |
| SimpleQA Verified | — | 34.0% |
Cost example
For a workload of 10M input + 2M output tokens per month: DeepSeek-V3.1 costs $3.40 and GLM-5.1 costs $16.13 at list price (nano-gpt / zhipuai pricing).
About DeepSeek-V3.1
DeepSeek-V3.1 is an open-weight reasoning llm from DeepSeek, released Aug 21, 2025. It has 685B parameters and a 128K-token context window. API pricing starts at $0.2 per million input tokens and $0.7 per million output tokens. It is available from 16 API providers. It scores 140.9 on the Epoch Capabilities Index. Full DeepSeek-V3.1 specs →
About GLM-5.1
GLM-5.1 is an open-weight reasoning llm from Zhipu AI (Z.ai), released Apr 7, 2026. It has 754B parameters and a 200K-token context window. API pricing starts at $0.896 per million input tokens and $3.59 per million output tokens. It is available from 48 API providers. It scores 150.7 on the Epoch Capabilities Index. Full GLM-5.1 specs →
Compare other models
FAQ
Which is better, DeepSeek-V3.1 or GLM-5.1?
GLM-5.1 wins 1 of 1 benchmarks both models report and has a higher Epoch Capabilities Index (150.7 vs 140.9). DeepSeek-V3.1 is about 5× cheaper on a blended (3:1 input:output) token price. GLM-5.1 has the larger context window (200K vs 128K).
Is DeepSeek-V3.1 cheaper than GLM-5.1?
DeepSeek-V3.1 costs $0.2 input / $0.7 output per 1M tokens; GLM-5.1 costs $0.896 / $3.59. DeepSeek-V3.1 is cheaper overall.
Which has a bigger context window?
DeepSeek-V3.1: 131,072 tokens. GLM-5.1: 200,000 tokens.
Are DeepSeek-V3.1 and GLM-5.1 open source?
DeepSeek-V3.1 is open-weight; GLM-5.1 is open-weight.