Skip to content
llmmodels

DeepSeek V4 Flash vs GLM-5.2

GLM-5.2 wins 4 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (153.1 vs 154.4). DeepSeek V4 Flash is about 18× cheaper on a blended (3:1 input:output) token price. DeepSeek V4 Flash has the larger context window (1M vs 1M).

SpecDeepSeek V4 FlashGLM-5.2
ProviderDeepSeekZhipu AI (Z.ai)
ReleasedApr 24, 2026Jun 13, 2026 (better)
TypeReasoning LLMReasoning LLM
Parameters304B753B
Context window1M (better)1M
Max output384K (better)128K
Input price / 1M$0.044 (better)$1.20
Output price / 1M$0.3 (better)$4.18
Input modalitiestexttext
Open weightsYesYes
Licensemitmit
Reasoning modeYesYes
Tool callingYesYes
API providers107 (better)95
Epoch Capabilities Index154.4 (better)153.1
GPQA Diamond91.0%91.9% (better)
SWE-bench Verified—78.7%
Aider Polyglot70.2%—
WebDev Arena15801593 (better)
OTIS Mock AIME94.4% (better)86.4%
FrontierMath57.5%59.2% (better)
ARC-AGI-261.4% (better)22.8%
SimpleQA Verified33.6%34.2% (better)

Cost example

For a workload of 10M input + 2M output tokens per month: DeepSeek V4 Flash costs $1.04 and GLM-5.2 costs $20.32 at list price (openrouter / zhipuai pricing).

About DeepSeek V4 Flash

DeepSeek V4 Flash is an open-weight reasoning llm from DeepSeek, released Apr 24, 2026. It has 304B parameters and a 1M-token context window. API pricing starts at $0.044 per million input tokens and $0.3 per million output tokens. It is available from 107 API providers. It scores 154.4 on the Epoch Capabilities Index. Full DeepSeek V4 Flash 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 V4 Flash or GLM-5.2?

GLM-5.2 wins 4 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (153.1 vs 154.4). DeepSeek V4 Flash is about 18× cheaper on a blended (3:1 input:output) token price. DeepSeek V4 Flash has the larger context window (1M vs 1M).

Is DeepSeek V4 Flash cheaper than GLM-5.2?

DeepSeek V4 Flash costs $0.044 input / $0.3 output per 1M tokens; GLM-5.2 costs $1.20 / $4.18. DeepSeek V4 Flash is cheaper overall.

Which has a bigger context window?

DeepSeek V4 Flash: 1,048,576 tokens. GLM-5.2: 1,000,000 tokens.

Are DeepSeek V4 Flash and GLM-5.2 open source?

DeepSeek V4 Flash is open-weight; GLM-5.2 is open-weight.