Head to head
DeepSeek V3.1 vs Gemma 4 31B
Price, context window, capabilities and independently measured benchmark performance for two models you can call through the same [OI]-compatible endpoint.
2/4 selected
| Spec | DeepSeek V3.1deepseek-v3.1 | Gemma 4 31Bgemma-4-31b |
|---|---|---|
| Input / 1M | $0.087 | $0.042best |
| Output / 1M | $0.332 | $0.126best |
| Cache read / 1M(discounted cache hits) | — | — |
| Official price(publisher list) | $0.25 | $0.12 |
| Saving | 65% offbest | 65% offbest |
| Context window | 128K | 256Kbest |
| Max output | 8K | 131.1Kbest |
| Intelligence Index(Artificial Analysis) | not rated | 4.4 |
| Coding index | — | — |
| Output speed(median tok/s) | 97 tok/sbest | 35 tok/s |
| Time to first token | 1.30s | 1.08sbest |
| Modality | text | image |
| Prompt cache | Supported | Supported |
| Network fee(per request) | $0.00 | $0.00 |
Shareable link: https://relayrouter.org/compare/deepseek-v3.1-vs-gemma-4-31b
Is DeepSeek V3.1 cheaper than Gemma 4 31B?
No, on input tokens at list price: Gemma 4 31B is $0.042 per 1M input tokens versus $0.087 for DeepSeek V3.1. Output is $0.126 versus $0.332.
Which has the larger context window, DeepSeek V3.1 or Gemma 4 31B?
Gemma 4 31B has the larger context window at 256K tokens, against 128K for DeepSeek V3.1.
How do DeepSeek V3.1 and Gemma 4 31B score on benchmarks?
DeepSeek V3.1 scores no published score and Gemma 4 31B scores 4.4 on the Artificial Analysis Intelligence Index. Scores are sourced from Artificial Analysis and are only comparable within the same index version.
DeepSeek V3.1 vs DeepSeek V3.2DeepSeek V3.1 vs DeepSeek V4 Flash 0731DeepSeek V3.1 vs DeepSeek V4 ProDeepSeek V3.1 vs DeepSeek V4 Pro 0813DeepSeek V3.1 vs DeepSeek V4.1 FlashDeepSeek V3.1 vs DeepSeek V4.1 Flash 1017Gemma 4 31B vs DeepSeek V3.2Gemma 4 31B vs DeepSeek V4 Flash 0731Gemma 4 31B vs DeepSeek V4 Pro