Models/DeepSeek V4.1 Flash 1017 vs Gemma 4 31B

DeepSeek V4.1 Flash 1017 vs Gemma 4 31B

API pricing, context, and independently measured performance, side by side. DeepSeek V4.1 Flash 1017 starts 42% cheaper on input than Gemma 4 31B at list prices.

DeepSeek V4.1 Flash 1017
DeepSeek · released Oct 17, 2026
Best input$0.058 / MTok
Best output$0.294 / MTok
Context1.05M
Providers15
Fastest measured0.69s° TTFT · 131 tok/s
Open weightsVisionToolsReasoningStructured outputPrompt caching
Gemma 4 31B
Google · released Apr 2, 2026
Best input$0.10 / MTok
Best output$0.34 / MTok
Context262K
Providers17
Fastest measured1.4s° TTFT · 20 tok/s
Open weightsVisionToolsReasoningStructured outputPrompt caching
Cheapest providers, measuredUSD / MTOK
MODELPROVIDERINPUTOUTPUTTTFTTPSSMOKE
DeepSeek V4.1 Flash 1017Morph logoMorph$0.058$0.60———
DeepSeek V4.1 Flash 1017InferenceNet logoInferenceNet$0.08$0.50———
DeepSeek V4.1 Flash 1017DeepInfra logoDeepInfra$0.098$0.294———
Gemma 4 31BCoreWeave logoCoreWeave$0.10$0.343.1s°23° tok/s5/5
Gemma 4 31BVenice logoVenice$0.12$0.36——5/5
Gemma 4 31BChutes logoChutes$0.12$0.374.2s°29° tok/s5/5
TTFT/TPS: ModelIndex-measured medians (P50, trailing 21d) · chat10k profile (~10K in / 200 out) · ° = measured via OpenRouter routing (adds a hop) · SMOKE: of 5 programmatic capability probes passed · methodology v1.1 — full details on each model page
All 15 providers for DeepSeek V4.1 Flash 1017All 17 providers for Gemma 4 31BOpen in comparator