Skip to content
TopLLM
Head to head

Gemma 4 31B vs Mistral Large 4

Verdict
  • Choose Gemma 4 31B for lower token price.
  • Choose Mistral Large 4 for LiveBench Coding, agent work, longer context.
  • Budget alternative: GLM 5.3 Flash ($0.036/$0.082 per 1M tokens).

Checked December 1, 2026

Side by side

Results from the same published benchmark can earn a score advantage. The benchmark rows below show shared tests and scores reported for only one model.

MetricGemma 4 31BGoogleMistral Large 4MistralEdge
Input $/1M$0.20$0.70Gemma 4 31B
Output $/1M$0.40$2.10Gemma 4 31B
Cached input $/1MN/AN/ANo comparison
Context256K1MMistral Large 4
Price jumpNone listedNone listed
Coding scoreN/A19.7No comparison
Reasoning scoreN/AN/ANo comparison
Agent score8.59.2Mistral Large 4
LiveBench32.440.9Mistral Large 4
LiveBench Long Agentic8.59.2Mistral Large 4
LiveBench Coding20.344.4Mistral Large 4
FrontierCode 2.0N/A19.7No comparison
10K coding agent runs$3,300$12,075Gemma 4 31B
AvailabilityOpen weightsOpen weights

What three real workloads cost

Monthly totals with each model's own cache price where published.

Everyday chat

10,000 a month · 2,000 in / 500 out

Gemma 4 31B
$6.00
Mistral Large 4
$24.50

Coding agent

2,000 a month · 30,000 in / 1,500 out · 50 steps

Gemma 4 31B
$660
Mistral Large 4
$2,415

200K document summary

1,000 a month · 200,000 in / 1,000 out

Gemma 4 31B
$40.40
Mistral Large 4
$142

Gemma 4 31B vs Mistral Large 4

Is Gemma 4 31B better than Mistral Large 4?

Gemma 4 31B wins on lower token price; Mistral Large 4 wins on LiveBench Coding, agent work, longer context. Which matters depends on your work.

Which is cheaper, Gemma 4 31B or Mistral Large 4?

Gemma 4 31B costs less per token. For 10,000 coding agent runs a month, Gemma 4 31B comes to about $3,300 and Mistral Large 4 about $12,075.

Which has the bigger context window?

Gemma 4 31B reads 256K tokens and Mistral Large 4 reads 1M.