Gemma 4 31B vs MiniMax M3.1 Flash

Price, context window & benchmark comparison

Google

Gemma 4 31B

Google
$0.20 / $0.40
Input / Output · per 1M tokens
VS
MiniMax

MiniMax M3.1 Flash

MiniMax
$0.15 / $0.60
Input / Output · per 1M tokens
Compare different models
Google
MiniMax
Verdict: Gemma 4 31B is 5% cheaper than MiniMax M3.1 Flash on a typical 3:1 input/output mix. MiniMax M3.1 Flash scores higher on the Artificial Analysis Intelligence Index (29.1 vs 4.4). MiniMax M3.1 Flash has the larger context window (1M vs 262K).
Gemma 4 31BMiniMax M3.1 Flash
Input price / 1M$0.20$0.15
Output price / 1M$0.40$0.60
Blended price (3:1)$0.25$0.26
Cached input / 1M—$0.015
Context window262K1M
Max output16K524K
Intelligence index4.429.1
Coding index43.4—
Providers—11
Best provider uptime (30m)—100.0%
Vision inputYesYes
ReasoningYesYes
Tool callingYesYes
Released2026-04-022026-10-19
Retirement——

Cost calculator

FAQ

Which is cheaper, Gemma 4 31B or MiniMax M3.1 Flash?

Gemma 4 31B is 5% cheaper than MiniMax M3.1 Flash on a typical 3:1 input/output mix.

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

Gemma 4 31B: 262,144 tokens. MiniMax M3.1 Flash: 1,048,576 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Gemma 4 31B ≈ $600.00, MiniMax M3.1 Flash ≈ $600.00.

More comparisons