DeepSeek R1 vs Gemma 4 31B IT
Gemma 4 31B IT wins 2 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (144.1 vs 138.6). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price. Gemma 4 31B IT has the larger context window (256K vs 160K).
| Spec | DeepSeek R1 | Gemma 4 31B IT |
|---|---|---|
| Provider | DeepSeek | Google DeepMind |
| Released | May 28, 2025 | Apr 2, 2026 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | 684B | 31B |
| Context window | 160K | 256K (better) |
| Max output | 32K | 32K (better) |
| Input price / 1M | $0.571 | Free (better) |
| Output price / 1M | $2.29 | 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 | 23 | 51 (better) |
| Epoch Capabilities Index | 138.6 | 144.1 (better) |
| GPQA Diamond | 76.3% (better) | 75.8% |
| Aider Polyglot | 71.4% | — |
| WebDev Arena | — | 1364 |
| OTIS Mock AIME | 66.4% | 73.3% (better) |
| MATH Level 5 | 96.6% | — |
| ARC-AGI-2 | 1.3% | — |
| SimpleQA Verified | — | 10.4% |
| LiveBench | 71.6% | — |
| METR Time Horizon | 31 min | — |
Cost example
For a workload of 10M input + 2M output tokens per month: DeepSeek R1 costs $10.28 and Gemma 4 31B IT costs $0.00 at list price (openrouter / google 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 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 R1 or Gemma 4 31B IT?
Gemma 4 31B IT wins 2 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (144.1 vs 138.6). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price. Gemma 4 31B IT has the larger context window (256K vs 160K).
Is DeepSeek R1 cheaper than Gemma 4 31B IT?
DeepSeek R1 costs $0.571 input / $2.29 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 R1: 163,840 tokens. Gemma 4 31B IT: 262,144 tokens.
Are DeepSeek R1 and Gemma 4 31B IT open source?
DeepSeek R1 is open-weight; Gemma 4 31B IT is open-weight.