LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemma 4 31B vs Mistral Large 4

Updated October 21, 2026. 50 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Gemma 4 31BGoogle
Coding
38.3
Overall
14.7
Output $/M
$0.40
22
Mistral Large 4Mistral AI
Coding
55.3
Overall
38.4
Output $/M
$4.18
28
vs boards won of 50 shared

Decision reading

Pick Mistral Large 4 for coding: it scores 55.3 on the Vibe Coding Index against 38.3 for Gemma 4 31B.

Pick Gemma 4 31B when output tokens cost 10.4x less, or when what matters is LiveBench research or LiveBench long agentic, where it leads.

Shared results
50
Gemma 4 31B only
18
Mistral Large 4 only
31
Like-for-like categories
8 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
Gemma 4 31B 38.3 from 2 benchmarks, Mistral Large 4 55.3 from 2 benchmarks.
Widest category
Intelligence, 16.2 points apart on average over 2 shared benchmarks.
Widest single gap
LMArena WebDev: React: Gemma 4 31B 1359 against Mistral Large 4 1559, 33.2 points apart on a 0 to 100 scale.
Output price
Gemma 4 31B $0.40 against Mistral Large 4 $4.18 per million output tokens, 10.4x apart.
Context window
Gemma 4 31B takes 262K tokens, Mistral Large 4 1.05M.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryGemma 4 31BBarsMistral Large 4Ties
Coding08
Intelligence02
Agentic work21
Reasoning34
Math12
Knowledge32
Web design01
General138
All shared boards2228
CodingLike-for-likeFour of these boards feed the Vibe Coding Index08
Coding benchmarks for Gemma 4 31B and Mistral Large 4
BenchmarkGemma 4 31BMistral Large 4Leader
LiveBench coding49.0%60.0%Mistral Large 4
LMArena WebDev13671543Mistral Large 4
AA Coding Index43.4Not measuredOnly Gemma 4 31B measured
Terminal-Bench 4 (Vals AI)Not measured27.8%Only Mistral Large 4 measured
Vibe Code Bench (Vals AI)Not measured78.4%Only Mistral Large 4 measured
Code migration (Vals AI)Not measured30.6%Only Mistral Large 4 measured
IOI (Vals AI)Not measured45.3%Only Mistral Large 4 measured
SWE-bench Multimodal (Vals AI)Not measured33.1%Only Mistral Large 4 measured
Vibe Code Bench 1-100 (Vals AI)Not measured14.3%Only Mistral Large 4 measured
SciCode45.5%54.2%Mistral Large 4
Terminal-Bench Hard (Artificial Analysis run)36.4%Not measuredOnly Gemma 4 31B measured
FrontierCodeNot measured39.4%Only Mistral Large 4 measured
WeirdML52.3%Not measuredOnly Gemma 4 31B measured
ALE-Bench925.51213.2Mistral Large 4
LMArena Text: coding14591478Mistral Large 4
LMArena Text: software and IT14631467Mistral Large 4
LMArena WebDev: React13591559Mistral Large 4
LMArena WebDev: HTML13801487Mistral Large 4
Neither model has a result on the other 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemma 4 31B and Mistral Large 4
BenchmarkGemma 4 31BMistral Large 4Leader
AA Intelligence Index14.738.4Mistral Large 4
Epoch Capabilities Index143.0150.0Mistral Large 4
Agentic workLike-for-likePublic boards, shown as published, kept out of the index21
Agentic work benchmarks for Gemma 4 31B and Mistral Large 4
BenchmarkGemma 4 31BMistral Large 4Leader
AA Agentic Index4.2Not measuredOnly Gemma 4 31B measured
LiveBench research44.4%28.1%Gemma 4 31B
LiveBench browser4.0%8.0%Mistral Large 4
LiveBench long agentic13.3%11.8%Gemma 4 31B
Finance Agent (Vals AI)Not measured54.7%Only Mistral Large 4 measured
Tax Agent Bench (Vals AI)Not measured30.4%Only Mistral Large 4 measured
Legal Research Bench (Vals AI)Not measured31.7%Only Mistral Large 4 measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured17.5%Only Mistral Large 4 measured
Excel Modeling Benchmark (Vals AI)Not measured56.2%Only Mistral Large 4 measured
BioMysteryBench (Vals AI)Not measured67.0%Only Mistral Large 4 measured
τ²-Bench Telecom65.5%Not measuredOnly Gemma 4 31B measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index34
Reasoning benchmarks for Gemma 4 31B and Mistral Large 4
BenchmarkGemma 4 31BMistral Large 4Leader
LiveBench reasoning68.3%83.9%Mistral Large 4
MysteryMechanism (Vals AI)Not measured12.2%Only Mistral Large 4 measured
GPQA Diamond (Artificial Analysis run)85.7%Not measuredOnly Gemma 4 31B measured
Humanity's Last Exam (Artificial Analysis run)23.6%35.0%Mistral Large 4
GPQA Diamond (Epoch AI run)75.8%88.1%Mistral Large 4
Chess puzzlesNot measured33.0%Only Mistral Large 4 measured
Mystery game puzzlesNot measured17.0%Only Mistral Large 4 measured
LMArena Text: hard prompts14481444Gemma 4 31B
LMArena Text: expert14641444Gemma 4 31B
LMArena Text: hard prompts in English14561442Gemma 4 31B
LMArena Vision: diagrams12831288Mistral Large 4
LMArena Vision: homework1310Not measuredOnly Gemma 4 31B measured
Neither model has a result on the other 9 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index12
Math benchmarks for Gemma 4 31B and Mistral Large 4
BenchmarkGemma 4 31BMistral Large 4Leader
OTIS Mock AIME73.3%98.3%Mistral Large 4
FrontierMath, tiers 1 to 3Not measured58.6%Only Mistral Large 4 measured
FrontierMath, tier 4Not measured26.8%Only Mistral Large 4 measured
ProofBenchNot measured10.0%Only Mistral Large 4 measured
LMArena Text: math14631469Mistral Large 4
LMArena Text: mathematical work14651462Gemma 4 31B
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index32
Knowledge benchmarks for Gemma 4 31B and Mistral Large 4
BenchmarkGemma 4 31BMistral Large 4Leader
CaseLaw (Vals AI)52.6%Not measuredOnly Gemma 4 31B measured
MortgageTax (Vals AI)61.4%Not measuredOnly Gemma 4 31B measured
MedCode (Vals AI)Not measured40.7%Only Mistral Large 4 measured
SimpleQA Verified10.4%20.0%Mistral Large 4
LMArena Text: science14571448Gemma 4 31B
LMArena Text: medicine and healthcare14511433Gemma 4 31B
LMArena Text: legal and government14381425Gemma 4 31B
LMArena Text: business and finance14301439Mistral Large 4
Neither model has a result on the other 9 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index01
Web design benchmarks for Gemma 4 31B and Mistral Large 4
BenchmarkGemma 4 31BMistral Large 4Leader
Design Arena: websitesNot measured1258Only Mistral Large 4 measured
Design Arena: UI componentsNot measured1275Only Mistral Large 4 measured
Design Arena: game devNot measured1226Only Mistral Large 4 measured
Design Arena: data vizNot measured1274Only Mistral Large 4 measured
Design Arena: 3DNot measured1253Only Mistral Large 4 measured
Design Arena: all code categoriesNot measured1259Only Mistral Large 4 measured
Design Arena: SVGNot measured1232Only Mistral Large 4 measured
Design Arena: ASCII artNot measured1203Only Mistral Large 4 measured
LiveBench design58.4%65.6%Mistral Large 4
GeneralLike-for-likePublic boards, shown as published, kept out of the index138
General benchmarks for Gemma 4 31B and Mistral Large 4
BenchmarkGemma 4 31BMistral Large 4Leader
LiveBench data analysis53.3%76.5%Mistral Large 4
SAGE (Vals AI)55.0%Not measuredOnly Gemma 4 31B measured
MedScribe (Vals AI)Not measured80.4%Only Mistral Large 4 measured
IFBench75.6%Not measuredOnly Gemma 4 31B measured
Long context reasoning (AA-LCR)69.7%81.3%Mistral Large 4
DTBench82.7%88.2%Mistral Large 4
LMCA39.3%35.8%Gemma 4 31B
Surface Evolver Bench30.6%28.1%Gemma 4 31B
Furniture assemblyNot measured20.8%Only Mistral Large 4 measured
LMArena Text14431431Gemma 4 31B
LMArena Text: instruction following14331422Gemma 4 31B
LMArena Text: creative writing14171363Gemma 4 31B
LMArena Vision12761272Gemma 4 31B
LMArena Text: English14511433Gemma 4 31B
LMArena Text: non-English14301422Gemma 4 31B
LMArena Text: Chinese14751492Mistral Large 4
LMArena Text: JapaneseNot measured1415Only Mistral Large 4 measured
LMArena Text: French14361492Mistral Large 4
LMArena Text: Spanish14421455Mistral Large 4
LMArena Text: Russian14601417Gemma 4 31B
LMArena Text: Polish1433Not measuredOnly Gemma 4 31B measured
LMArena Text: multi-turn14521435Gemma 4 31B
LMArena Text: longer queries14461428Gemma 4 31B
LMArena Text: writing and language14321386Gemma 4 31B
LMArena Text: entertainment and media14051378Gemma 4 31B
LMArena Vision: English12711283Mistral Large 4
LMArena Vision: Chinese1326Not measuredOnly Gemma 4 31B measured
LMArena Vision: reading text12821284Mistral Large 4
LMArena Vision: humor1280Not measuredOnly Gemma 4 31B measured
LMArena Vision: captioning1218Not measuredOnly Gemma 4 31B measured
LMArena Vision: recognizing things1226Not measuredOnly Gemma 4 31B measured
LMArena Vision: creative writing1285Not measuredOnly Gemma 4 31B measured
LMArena Document1425Not measuredOnly Gemma 4 31B measured
Neither model has a result on the other 13 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemma 4 31B and Mistral Large 4
BenchmarkGemma 4 31BMistral Large 4Leader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

Gemma 4 31B$0.0004Fits in one request
Mistral Large 4$0.0034Fits in one request

Gemma 4 31B costs less

Repository review

50K input + 3K output tokens

Gemma 4 31B$0.011Fits in one request
Mistral Large 4$0.081Fits in one request

Gemma 4 31B costs less

Agent loop

200K input + 10K output tokens

Gemma 4 31B$0.044Fits in one request
Mistral Large 4$0.314Fits in one request

Gemma 4 31B costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of Gemma 4 31B and Mistral Large 4
SpecificationGoogle Gemma 4 31BMistral Large 4
MakerGoogleMistral AI
WeightsOpen weightsNo public weights listed
ReleasedApril 2, 2026October 6, 2026
Context window262K1.05M
Input $/Mtok$0.20$1.36
Output $/Mtok$0.40$4.18
Coding index38.355.3
Independent measurements behind it22
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 4 31B better than Mistral Large 4 for coding?

Pick Mistral Large 4 for coding: it scores 55.3 on the Vibe Coding Index against 38.3 for Gemma 4 31B. Pick Gemma 4 31B when output tokens cost 10.4x less, or when what matters is LiveBench research or LiveBench long agentic, where it leads.

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

Gemma 4 31B costs $0.20 per million input tokens and $0.40 per million output tokens; Mistral Large 4 costs $1.36 and $4.18. Cost per solved task is known for neither of them.

Which has the bigger context window, Gemma 4 31B or Mistral Large 4?

Mistral Large 4, with 1.05M tokens against 262K.

How many benchmarks is the Gemma 4 31B vs Mistral Large 4 comparison based on?

50 benchmarks have a result for both models as of October 21, 2026. Gemma 4 31B's coding index rests on 2 independent benchmarks and Mistral Large 4's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/gemma-4-31b-it-vs-mistral-large-4-0" title="Gemma 4 31B vs Mistral Large 4, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/gemma-4-31b-it-vs-mistral-large-4-0">LLMBenchmark.ai, Gemma 4 31B vs Mistral Large 4</a></p>