Skip to content
llmmodels

DeepSeek R1 vs GLM-5.1

GLM-5.1 wins 3 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (150.7 vs 138.6). DeepSeek R1 is about 1.6× cheaper on a blended (3:1 input:output) token price. GLM-5.1 has the larger context window (200K vs 160K).

SpecDeepSeek R1GLM-5.1
ProviderDeepSeekZhipu AI (Z.ai)
ReleasedMay 28, 2025Apr 7, 2026 (better)
TypeReasoning LLMReasoning LLM
Parameters684B754B
Context window160K200K (better)
Max output32K128K (better)
Input price / 1M$0.571 (better)$0.896
Output price / 1M$2.29 (better)$3.59
Input modalitiestexttext
Open weightsYesYes
Licensemitmit
Reasoning modeYesYes
Tool callingYesYes
API providers2348 (better)
Epoch Capabilities Index138.6150.7 (better)
GPQA Diamond76.3%89.9% (better)
SWE-bench Verified—74.2%
Aider Polyglot71.4%—
WebDev Arena—1508
OTIS Mock AIME66.4%93.3% (better)
MATH Level 596.6%—
FrontierMath—36.8%
ARC-AGI-21.3%—
SimpleQA Verified—34.0%
LiveBench71.6%—
METR Time Horizon31 min—

Cost example

For a workload of 10M input + 2M output tokens per month: DeepSeek R1 costs $10.28 and GLM-5.1 costs $16.13 at list price (openrouter / zhipuai pricing).

About DeepSeek R1

DeepSeek R1 is an open-weight reasoning llm from DeepSeek, released May 28, 2025. It has 684B parameters and a 160K-token context window. API pricing starts at $0.571 per million input tokens and $2.29 per million output tokens. It is available from 23 API providers. It scores 138.6 on the Epoch Capabilities Index. Full DeepSeek R1 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 R1 or GLM-5.1?

GLM-5.1 wins 3 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (150.7 vs 138.6). DeepSeek R1 is about 1.6× cheaper on a blended (3:1 input:output) token price. GLM-5.1 has the larger context window (200K vs 160K).

Is DeepSeek R1 cheaper than GLM-5.1?

DeepSeek R1 costs $0.571 input / $2.29 output per 1M tokens; GLM-5.1 costs $0.896 / $3.59. DeepSeek R1 is cheaper overall.

Which has a bigger context window?

DeepSeek R1: 163,840 tokens. GLM-5.1: 200,000 tokens.

Are DeepSeek R1 and GLM-5.1 open source?

DeepSeek R1 is open-weight; GLM-5.1 is open-weight.