Skip to content
llmmodels

DeepSeek V3.1 vs GLM-4.7

DeepSeek V3.1 is about 2.0× cheaper on a blended (3:1 input:output) token price. GLM-4.7 has the larger context window (200K vs 160K).

SpecDeepSeek V3.1GLM-4.7
ProviderDeepSeekZhipu AI (Z.ai)
ReleasedAug 21, 2025Dec 22, 2025 (better)
TypeReasoning LLMReasoning LLM
Parameters685B358B
Context window160K200K (better)
Max output144K (better)128K
Input price / 1M$0.25 (better)$0.448
Output price / 1M$0.95 (better)$2.09
Input modalitiestexttext
Open weightsYesYes
Licensemitmit
Reasoning modeYesYes
Tool callingYesYes
API providers232 (better)
Epoch Capabilities Index—143.3
GPQA Diamond—83.3%
Terminal-Bench—33.4%
WebDev Arena—1435
OTIS Mock AIME—83.3%
SimpleQA Verified—32.2%

Cost example

For a workload of 10M input + 2M output tokens per month: DeepSeek V3.1 costs $4.40 and GLM-4.7 costs $8.66 at list price (openrouter / 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 160K-token context window. API pricing starts at $0.25 per million input tokens and $0.95 per million output tokens. It is available from 2 API providers. Full DeepSeek V3.1 specs →

About GLM-4.7

GLM-4.7 is an open-weight reasoning llm from Zhipu AI (Z.ai), released Dec 22, 2025. It has 358B parameters and a 200K-token context window. API pricing starts at $0.448 per million input tokens and $2.09 per million output tokens. It is available from 32 API providers. It scores 143.3 on the Epoch Capabilities Index. Full GLM-4.7 specs →

Compare other models

FAQ

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

DeepSeek V3.1 is about 2.0× cheaper on a blended (3:1 input:output) token price. GLM-4.7 has the larger context window (200K vs 160K).

Is DeepSeek V3.1 cheaper than GLM-4.7?

DeepSeek V3.1 costs $0.25 input / $0.95 output per 1M tokens; GLM-4.7 costs $0.448 / $2.09. DeepSeek V3.1 is cheaper overall.

Which has a bigger context window?

DeepSeek V3.1: 163,840 tokens. GLM-4.7: 204,800 tokens.

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

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