Gemma 4 31B vs Qwen3.8 Max Prime

Price, context window & benchmark comparison

G

Gemma 4 31B

Google
$0.09 / $0.34
Input / Output · per 1M tokens
VS
Q

Qwen3.8 Max Prime

Qwen (Alibaba)
$4.00 / $12.00
Input / Output · per 1M tokens
Compare different models
G
Q
Verdict: Gemma 4 31B is 39.3× cheaper than Qwen3.8 Max Prime on a typical 3:1 input/output mix. Qwen3.8 Max Prime has the larger context window (1M vs 262K).
Gemma 4 31BQwen3.8 Max Prime
Input price / 1M$0.09$4.00
Output price / 1M$0.34$12.00
Blended price (3:1)$0.15$6.00
Cached input / 1M$0.05$0.50
Context window262K1M
Max output16K131K
Intelligence index
Coding index43.4
Providers1
Best provider uptime (30m)100.0%
Vision inputYesYes
ReasoningYesYes
Tool callingYesYes
Released2026-04-022026-09-23
Retirement

Cost calculator

FAQ

Which is cheaper, Gemma 4 31B or Qwen3.8 Max Prime?

Gemma 4 31B is 39.3× cheaper than Qwen3.8 Max Prime on a typical 3:1 input/output mix.

Gemma 4 31B vs Qwen3.8 Max Prime: which has a bigger context window?

Gemma 4 31B: 262,144 tokens. Qwen3.8 Max Prime: 1,000,000 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Gemma 4 31B ≈ $350.00, Qwen3.8 Max Prime ≈ $14,000.

More comparisons