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).
| Spec | DeepSeek V4 Flash | Gemma 4 31B IT |
|---|---|---|
| Provider | DeepSeek | Google DeepMind |
| Released | Apr 24, 2026 (better) | Apr 2, 2026 |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | 304B | 31B |
| Context window | 1M (better) | 256K |
| Max output | 384K (better) | 32K |
| Input price / 1M | $0.044 | Free (better) |
| Output price / 1M | $0.3 | Free (better) |
| Input modalities | text | text, image, video (better) |
| Open weights | Yes | Yes |
| License | mit | apache-2.0 |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 107 (better) | 51 |
| Epoch Capabilities Index | 154.4 (better) | 144.1 |
| GPQA Diamond | 91.0% (better) | 75.8% |
| Aider Polyglot | 70.2% | — |
| WebDev Arena | 1580 (better) | 1364 |
| OTIS Mock AIME | 94.4% (better) | 73.3% |
| FrontierMath | 57.5% | — |
| ARC-AGI-2 | 61.4% | — |
| SimpleQA Verified | 33.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.