Skip to content

Head to head

DeepSeek V4.1 Flash 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
DeepSeek V4.1 Flashdeepseek-v4.1-flash
Gemma 4 31Bgemma-4-31b
Input / 1M$0.016best$0.042
Output / 1M$0.175$0.126best
Cache read / 1M(discounted cache hits)$0.005 −68%—
Official price(publisher list)$0.045$0.12
Saving65% offbest65% offbest
Context window1.0Mbest256K
Max output384Kbest131.1K
Intelligence Index(Artificial Analysis)not rated4.4
Coding index——
Output speed(median tok/s)230 tok/sbest35 tok/s
Time to first token0.62sbest1.08s
Modalityimageimage
Prompt cacheSupportedSupported
Network fee(per request)$0.00$0.00

Shareable link: https://relayrouter.org/compare/deepseek-v4.1-flash-vs-gemma-4-31b

Is DeepSeek V4.1 Flash cheaper than Gemma 4 31B?

Yes, on input tokens at list price: DeepSeek V4.1 Flash is $0.016 per 1M input tokens versus $0.042 for Gemma 4 31B. Output is $0.175 versus $0.126.

Which has the larger context window, DeepSeek V4.1 Flash or Gemma 4 31B?

DeepSeek V4.1 Flash has the larger context window at 1.0M tokens, against 256K for Gemma 4 31B.

How do DeepSeek V4.1 Flash and Gemma 4 31B score on benchmarks?

DeepSeek V4.1 Flash 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.