DeepSeek-V3.1 vs Gemma 4 31B IT
Price and specs side by side · USD per 1M tokens · verified 2026-10-11
// side by side
| metric | DeepSeek-V3.1 | Gemma 4 31B IT |
|---|
| input / 1M | $0.25 | $0.14 |
| output / 1M | $0.95 | $0.40 |
| blended (3:1) | $0.425 | $0.205 |
| cache read / 1M | $0.13 | — |
| context | 163.8K | 262.1K |
| max output | 8.2K | 32.8K |
| input types | text | text · image · video |
| reasoning | yes | yes |
| tool calling | yes | yes |
| structured output | yes | yes |
| open weights | yes | yes |
| released | 2025-08-21 | 2026-04-02 |
| knowledge cutoff | n/a | n/a |
| lab | DeepSeek | Google |
// monthly cost scenarios
| workload | tokens in / out | DeepSeek-V3.1 | Gemma 4 31B IT |
|---|
| Chatbot | 10M / 2M | $4.40 | $2.20 |
| RAG app | 50M / 5M | $17.25 | $9.00 |
| Coding agent | 20M / 10M | $14.50 | $6.80 |
// verdict
- Gemma 4 31B IT is 51.8% cheaper than DeepSeek-V3.1 on a blended 3:1 input/output basis.
- Gemma 4 31B IT has the larger context window (262.1K vs 163.8K tokens).
- Only Gemma 4 31B IT accepts image input.