Head to head
DeepSeek V4.1 Flash 1017 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 V4.1 Flash 1017deepseek-v4.1-flash-1017 | Gemma 4 31Bgemma-4-31b |
|---|---|---|
| Input / 1M | $0.052 | $0.042best |
| Output / 1M | $0.21 | $0.126best |
| Cache read / 1M(discounted cache hits) | $0.004 −92% | — |
| Official price(publisher list) | $0.15 | $0.12 |
| Saving | 65% offbest | 65% offbest |
| Context window | 1.0Mbest | 256K |
| Max output | 393.2Kbest | 131.1K |
| Intelligence Index(Artificial Analysis) | 32.4best | 4.4 |
| Coding index | — | — |
| Output speed(median tok/s) | 187 tok/sbest | 35 tok/s |
| Time to first token | 0.79sbest | 1.08s |
| Modality | image | image |
| Prompt cache | Supported | Supported |
| Network fee(per request) | $0.00 | $0.00 |
Shareable link: https://relayrouter.org/compare/deepseek-v4.1-flash-1017-vs-gemma-4-31b
Is DeepSeek V4.1 Flash 1017 cheaper than Gemma 4 31B?
No, on input tokens at list price: Gemma 4 31B is $0.042 per 1M input tokens versus $0.052 for DeepSeek V4.1 Flash 1017. Output is $0.126 versus $0.21.
Which has the larger context window, DeepSeek V4.1 Flash 1017 or Gemma 4 31B?
DeepSeek V4.1 Flash 1017 has the larger context window at 1.0M tokens, against 256K for Gemma 4 31B.
How do DeepSeek V4.1 Flash 1017 and Gemma 4 31B score on benchmarks?
DeepSeek V4.1 Flash 1017 scores 32.4 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 V4.1 Flash 1017$0.052 in · $0.21 out · 1.0M contextGemma 4 31B$0.042 in · $0.126 out · 256K context
DeepSeek V4.1 Flash 1017 vs DeepSeek V3.1DeepSeek V4.1 Flash 1017 vs DeepSeek V3.2DeepSeek V4.1 Flash 1017 vs DeepSeek V4 Flash 0731DeepSeek V4.1 Flash 1017 vs DeepSeek V4 ProDeepSeek V4.1 Flash 1017 vs DeepSeek V4 Pro 0813DeepSeek V4.1 Flash 1017 vs DeepSeek V4.1 FlashGemma 4 31B vs DeepSeek V3.1Gemma 4 31B vs DeepSeek V3.2Gemma 4 31B vs DeepSeek V4 Flash 0731