DeepSeek V4.1 Flash vs Gemma 4 31B IT
DeepSeek V4.1 Flash wins 5 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (159.4 vs 144.1). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price. DeepSeek V4.1 Flash has the larger context window (1M vs 256K).
| Spec | DeepSeek V4.1 Flash | Gemma 4 31B IT |
|---|---|---|
| Provider | DeepSeek | Google DeepMind |
| Released | Oct 17, 2026 (better) | Apr 2, 2026 |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | 763B | 31B |
| Context window | 1M (better) | 256K |
| Max output | 384K (better) | 32K |
| Input price / 1M | $0.15 | Free (better) |
| Output price / 1M | $0.6 | Free (better) |
| Input modalities | text, image | text, image, video (better) |
| Open weights | Yes | Yes |
| License | mit | apache-2.0 |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 137 (better) | 51 |
| Epoch Capabilities Index | 159.4 (better) | 144.1 |
| GPQA Diamond | 93.2% (better) | 75.8% |
| WebDev Arena | 1614 (better) | 1364 |
| OTIS Mock AIME | 99.4% (better) | 73.3% |
| FrontierMath | 71.2% | — |
| ARC-AGI-2 | 78.1% | — |
| SimpleQA Verified | 42.9% (better) | 10.4% |
Cost example
For a workload of 10M input + 2M output tokens per month: DeepSeek V4.1 Flash costs $2.70 and Gemma 4 31B IT costs $0.00 at list price (DeepSeek / google pricing).
About DeepSeek V4.1 Flash
DeepSeek V4.1 Flash is an open-weight reasoning llm from DeepSeek, released Oct 17, 2026. It has 763B parameters, a 1M-token context window and accepts text, image input. API pricing starts at $0.15 per million input tokens and $0.6 per million output tokens. It is available from 137 API providers. It scores 159.4 on the Epoch Capabilities Index. Full DeepSeek V4.1 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.1 Flash or Gemma 4 31B IT?
DeepSeek V4.1 Flash wins 5 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (159.4 vs 144.1). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price. DeepSeek V4.1 Flash has the larger context window (1M vs 256K).
Is DeepSeek V4.1 Flash cheaper than Gemma 4 31B IT?
DeepSeek V4.1 Flash costs $0.15 input / $0.6 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.1 Flash: 1,048,576 tokens. Gemma 4 31B IT: 262,144 tokens.
Are DeepSeek V4.1 Flash and Gemma 4 31B IT open source?
DeepSeek V4.1 Flash is open-weight; Gemma 4 31B IT is open-weight.