DeepSeek V4.1 Flash vs Gemma 4 31B

Price, context window & benchmark comparison

DeepSeek

DeepSeek V4.1 Flash

DeepSeek
$0.14 / $0.42
Input / Output · per 1M tokens
VS
Google

Gemma 4 31B

Google
$0.09 / $0.34
Input / Output · per 1M tokens
Compare different models
DeepSeek
Google
Verdict: Gemma 4 31B is 27% cheaper than DeepSeek V4.1 Flash on a typical 3:1 input/output mix. DeepSeek V4.1 Flash has the larger context window (1M vs 262K).
DeepSeek V4.1 FlashGemma 4 31B
Input price / 1M$0.14$0.09
Output price / 1M$0.42$0.34
Blended price (3:1)$0.21$0.15
Cached input / 1M$0.0042$0.05
Context window1M262K
Max output131K16K
Intelligence index39.5
Coding index43.4
Providers26
Best provider uptime (30m)100.0%
Vision inputYesYes
ReasoningYesYes
Tool callingYesYes
Released2026-09-102026-04-02
Retirement

Cost calculator

FAQ

Which is cheaper, DeepSeek V4.1 Flash or Gemma 4 31B?

Gemma 4 31B is 27% cheaper than DeepSeek V4.1 Flash on a typical 3:1 input/output mix.

DeepSeek V4.1 Flash vs Gemma 4 31B: which has a bigger context window?

DeepSeek V4.1 Flash: 1,048,576 tokens. Gemma 4 31B: 262,144 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: DeepSeek V4.1 Flash ≈ $490.00, Gemma 4 31B ≈ $350.00.

More comparisons