Skip to content
llmmodels

DeepSeek V4 Flash vs Gemma 4 31B IT

DeepSeek V4 Flash wins 5 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (154.4 vs 144.1). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price. DeepSeek V4 Flash has the larger context window (1M vs 256K).

SpecDeepSeek V4 FlashGemma 4 31B IT
ProviderDeepSeekGoogle DeepMind
ReleasedApr 24, 2026 (better)Apr 2, 2026
TypeReasoning LLMReasoning LLM
Parameters304B31B
Context window1M (better)256K
Max output384K (better)32K
Input price / 1M$0.044Free (better)
Output price / 1M$0.3Free (better)
Input modalitiestexttext, image, video (better)
Open weightsYesYes
Licensemitapache-2.0
Reasoning modeYesYes
Tool callingYesYes
API providers107 (better)51
Epoch Capabilities Index154.4 (better)144.1
GPQA Diamond91.0% (better)75.8%
Aider Polyglot70.2%—
WebDev Arena1580 (better)1364
OTIS Mock AIME94.4% (better)73.3%
FrontierMath57.5%—
ARC-AGI-261.4%—
SimpleQA Verified33.6% (better)10.4%

Cost example

For a workload of 10M input + 2M output tokens per month: DeepSeek V4 Flash costs $1.04 and Gemma 4 31B IT costs $0.00 at list price (openrouter / google 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 Gemma 4 31B IT

Gemma 4 31B IT is an open-weight reasoning llm from Google DeepMind, released Apr 2, 2026. It has 31B parameters, a 256K-token context window and accepts text, image, video input. It can be used for free via API. It is available from 51 API providers. It scores 144.1 on the Epoch Capabilities Index. Full Gemma 4 31B IT specs →

Compare other models

FAQ

Which is better, DeepSeek V4 Flash or Gemma 4 31B IT?

DeepSeek V4 Flash wins 5 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (154.4 vs 144.1). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price. DeepSeek V4 Flash has the larger context window (1M vs 256K).

Is DeepSeek V4 Flash cheaper than Gemma 4 31B IT?

DeepSeek V4 Flash costs $0.044 input / $0.3 output per 1M tokens; Gemma 4 31B IT costs Free / Free. Gemma 4 31B IT is cheaper overall.

Which has a bigger context window?

DeepSeek V4 Flash: 1,048,576 tokens. Gemma 4 31B IT: 262,144 tokens.

Are DeepSeek V4 Flash and Gemma 4 31B IT open source?

DeepSeek V4 Flash is open-weight; Gemma 4 31B IT is open-weight.