Skip to content
llmmodels

DeepSeek-V3.1 vs GLM-5.2

GLM-5.2 wins 1 of 1 benchmarks both models report and has a higher Epoch Capabilities Index (153.1 vs 140.9). DeepSeek-V3.1 is about 6× cheaper on a blended (3:1 input:output) token price. GLM-5.2 has the larger context window (1M vs 128K).

SpecDeepSeek-V3.1GLM-5.2
ProviderDeepSeekZhipu AI (Z.ai)
ReleasedAug 21, 2025Jun 13, 2026 (better)
TypeReasoning LLMReasoning LLM
Parameters685B753B
Context window128K1M (better)
Max output8K128K (better)
Input price / 1M$0.2 (better)$1.20
Output price / 1M$0.7 (better)$4.18
Input modalitiestexttext
Open weightsYesYes
Licensemitmit
Reasoning modeYesYes
Tool callingYesYes
API providers1695 (better)
Epoch Capabilities Index140.9153.1 (better)
GPQA Diamond—91.9%
SWE-bench Verified—78.7%
WebDev Arena—1593
OTIS Mock AIME—86.4%
FrontierMath—59.2%
ARC-AGI-2—22.8%
SimpleQA Verified—34.2%

Cost example

For a workload of 10M input + 2M output tokens per month: DeepSeek-V3.1 costs $3.40 and GLM-5.2 costs $20.32 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.2

GLM-5.2 is an open-weight reasoning llm from Zhipu AI (Z.ai), released Jun 13, 2026. It has 753B parameters and a 1M-token context window. API pricing starts at $1.20 per million input tokens and $4.18 per million output tokens. It is available from 95 API providers. It scores 153.1 on the Epoch Capabilities Index. Full GLM-5.2 specs →

Compare other models

FAQ

Which is better, DeepSeek-V3.1 or GLM-5.2?

GLM-5.2 wins 1 of 1 benchmarks both models report and has a higher Epoch Capabilities Index (153.1 vs 140.9). DeepSeek-V3.1 is about 6× cheaper on a blended (3:1 input:output) token price. GLM-5.2 has the larger context window (1M vs 128K).

Is DeepSeek-V3.1 cheaper than GLM-5.2?

DeepSeek-V3.1 costs $0.2 input / $0.7 output per 1M tokens; GLM-5.2 costs $1.20 / $4.18. DeepSeek-V3.1 is cheaper overall.

Which has a bigger context window?

DeepSeek-V3.1: 131,072 tokens. GLM-5.2: 1,000,000 tokens.

Are DeepSeek-V3.1 and GLM-5.2 open source?

DeepSeek-V3.1 is open-weight; GLM-5.2 is open-weight.