Gemma 4 31B vs Qwen3.7 Flash

Price, context window & benchmark comparison

Google

Gemma 4 31B

Google
$0.20 / $0.40
Input / Output · per 1M tokens
VS
Qwen (Alibaba)

Qwen3.7 Flash

Qwen (Alibaba)
$0.03 / $0.13
Input / Output · per 1M tokens
Compare different models
Google
Qwen (Alibaba)
Verdict: Qwen3.7 Flash is 4.5× cheaper than Gemma 4 31B on a typical 3:1 input/output mix. Qwen3.7 Flash has the larger context window (1M vs 262K).
Gemma 4 31BQwen3.7 Flash
Input price / 1M$0.20$0.03
Output price / 1M$0.40$0.13
Blended price (3:1)$0.25$0.055
Cached input / 1M—$0.006
Context window262K1M
Max output16K66K
Intelligence index4.4—
Coding index43.4—
Providers——
Best provider uptime (30m)——
Vision inputYesYes
ReasoningYesYes
Tool callingYesYes
Released2026-04-022026-07-27
Retirement——

Cost calculator

FAQ

Which is cheaper, Gemma 4 31B or Qwen3.7 Flash?

Qwen3.7 Flash is 4.5× cheaper than Gemma 4 31B on a typical 3:1 input/output mix.

Gemma 4 31B vs Qwen3.7 Flash: which has a bigger context window?

Gemma 4 31B: 262,144 tokens. Qwen3.7 Flash: 1,000,000 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Gemma 4 31B ≈ $600.00, Qwen3.7 Flash ≈ $125.00.

More comparisons