Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview vs GPT-5 Mini

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

Gemini 3.1 Pro PreviewGoogle
Coding
35.3
Overall
29.7
Output $/M
$12.00
82
GPT-5 MiniOpenAI
Coding
59.8
Overall
20.6
Output $/M
$2.00
3
vs boards won of 85 shared

Decision reading

Pick GPT-5 Mini for coding: it scores 59.8 on the Vibe Coding Index against 35.3 for Gemini 3.1 Pro Preview.

Pick Gemini 3.1 Pro Preview when the context window is larger, 1.05M against 400K tokens, or when what matters is LiveCodeBench (Vals AI) or SWE-bench Verified (Vals AI), where it leads.

Shared results
85
Gemini 3.1 Pro Preview only
46
GPT-5 Mini only
13
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
Gemini 3.1 Pro Preview 35.3 from 1 benchmark, GPT-5 Mini 59.8 from 1 benchmark.
Widest category
Reasoning, 23.9 points apart on average over 14 shared benchmarks.
Widest single gap
ARC-AGI-2: Gemini 3.1 Pro Preview 77.1% against GPT-5 Mini 4.4%, 72.7 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Pro Preview $12.00 against GPT-5 Mini $2.00 per million output tokens, 6.0x apart.
Context window
Gemini 3.1 Pro Preview takes 1.05M tokens, GPT-5 Mini 400K.

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
CategoryGemini 3.1 Pro PreviewBarsGPT-5 MiniTies
Coding90
Intelligence10
Agentic work20
Reasoning140
Math70
Knowledge112
Web design80
General301
All shared boards823
CodingLike-for-likeFour of these boards feed the Vibe Coding Index90
Coding benchmarks for Gemini 3.1 Pro Preview and GPT-5 Mini
BenchmarkGemini 3.1 Pro PreviewGPT-5 MiniLeader
SWE-bench VerifiedNot measured59.8%Only GPT-5 Mini measured
SWE-bench MultilingualNot measured39.7%Only GPT-5 Mini measured
LMArena WebDev1447Not measuredOnly Gemini 3.1 Pro Preview measured
AA Coding Index68.8Not measuredOnly Gemini 3.1 Pro Preview measured
LiveCodeBench (Vals AI)88.5%86.6%Gemini 3.1 Pro Preview
SWE-bench Verified (Vals AI)78.8%60.8%Gemini 3.1 Pro Preview
Terminal-Bench 4 (Vals AI)2.5%Not measuredOnly Gemini 3.1 Pro Preview measured
Vibe Code Bench (Vals AI)32.0%14.2%Gemini 3.1 Pro Preview
Code migration (Vals AI)17.3%Not measuredOnly Gemini 3.1 Pro Preview measured
ProgramBench (Vals AI)0.0%Not measuredOnly Gemini 3.1 Pro Preview measured
IOI (Vals AI)51.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench 2.1 (Vals AI)70.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Vibe Code Bench 1-100 (Vals AI)6.7%Not measuredOnly Gemini 3.1 Pro Preview measured
LiveCodeBench (Artificial Analysis run)Not measured83.8%Only GPT-5 Mini measured
SciCode58.7%39.0%Gemini 3.1 Pro Preview
Terminal-Bench Hard (Artificial Analysis run)53.8%33.3%Gemini 3.1 Pro Preview
Terminal-Bench80.2%34.8%Gemini 3.1 Pro Preview
GSO-Bench22.6%Not measuredOnly Gemini 3.1 Pro Preview measured
WeirdML72.1%52.7%Gemini 3.1 Pro Preview
MirrorCode8.9%Not measuredOnly Gemini 3.1 Pro Preview measured
ALE-Bench1160.6Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: coding14841406Gemini 3.1 Pro Preview
LMArena Text: software and IT14871394Gemini 3.1 Pro Preview
LMArena WebDev: React1438Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena WebDev: HTML1490Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena WebDev: from an image1481Not measuredOnly Gemini 3.1 Pro Preview measured
Neither model has a result on the other 12 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Gemini 3.1 Pro Preview and GPT-5 Mini
BenchmarkGemini 3.1 Pro PreviewGPT-5 MiniLeader
AA Intelligence Index29.720.6Gemini 3.1 Pro Preview
Epoch Capabilities IndexNot measured145.3Only GPT-5 Mini measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
Agentic work benchmarks for Gemini 3.1 Pro Preview and GPT-5 Mini
BenchmarkGemini 3.1 Pro PreviewGPT-5 MiniLeader
AA Agentic Index8.2Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building web apps1125Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building full-stack apps1068Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building mobile apps1094Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building Android apps1055Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building Godot games1236Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building games1114Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: HTML slides1153Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: PowerPoint slides1064Not measuredOnly Gemini 3.1 Pro Preview measured
SREBench (Vals AI)0.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Finance Agent (Vals AI)43.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Tax Agent Bench (Vals AI)9.3%Not measuredOnly Gemini 3.1 Pro Preview measured
Legal Research Bench (Vals AI)20.7%Not measuredOnly Gemini 3.1 Pro Preview measured
Excel Modeling Benchmark (Vals AI)52.6%Not measuredOnly Gemini 3.1 Pro Preview measured
BioMysteryBench (Vals AI)60.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench-Science (Vals AI)1.4%Not measuredOnly Gemini 3.1 Pro Preview measured
Vals Science Index27.4%Not measuredOnly Gemini 3.1 Pro Preview measured
τ²-Bench Telecom95.6%71.1%Gemini 3.1 Pro Preview
APEX-Agents35.1%Not measuredOnly Gemini 3.1 Pro Preview measured
METR time horizons77.0%Not measuredOnly Gemini 3.1 Pro Preview measured
BALROG57.0%Not measuredOnly Gemini 3.1 Pro Preview measured
DeepResearch Bench47.8%Not measuredOnly Gemini 3.1 Pro Preview measured
PostTrainBench22.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Vending-Bench 2$911-$31Gemini 3.1 Pro Preview
Neither model has a result on the other 15 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index140
Reasoning benchmarks for Gemini 3.1 Pro Preview and GPT-5 Mini
BenchmarkGemini 3.1 Pro PreviewGPT-5 MiniLeader
GPQA Diamond95.5%80.3%Gemini 3.1 Pro Preview
MysteryMechanism (Vals AI)20.7%Not measuredOnly Gemini 3.1 Pro Preview measured
MMMU Pro (Vals AI)88.2%78.9%Gemini 3.1 Pro Preview
GPQA Diamond (Artificial Analysis run)94.1%82.8%Gemini 3.1 Pro Preview
Humanity's Last Exam (Artificial Analysis run)47.0%21.5%Gemini 3.1 Pro Preview
GPQA Diamond (Epoch AI run)94.4%75.0%Gemini 3.1 Pro Preview
ARC-AGI98.0%54.3%Gemini 3.1 Pro Preview
ARC-AGI-277.1%4.4%Gemini 3.1 Pro Preview
SimpleBench79.6%Not measuredOnly Gemini 3.1 Pro Preview measured
Chess puzzles51.0%24.0%Gemini 3.1 Pro Preview
Mystery game puzzles34.0%10.0%Gemini 3.1 Pro Preview
EBR-bench14.3%Not measuredOnly Gemini 3.1 Pro Preview measured
VPCTNot measured40.2%Only GPT-5 Mini measured
LMArena Text: hard prompts14851380Gemini 3.1 Pro Preview
LMArena Text: expert14831379Gemini 3.1 Pro Preview
LMArena Text: hard prompts in English14801383Gemini 3.1 Pro Preview
LMArena Vision: diagrams13111202Gemini 3.1 Pro Preview
LMArena Vision: homework13161210Gemini 3.1 Pro Preview
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index70
Math benchmarks for Gemini 3.1 Pro Preview and GPT-5 Mini
BenchmarkGemini 3.1 Pro PreviewGPT-5 MiniLeader
AIME98.1%91.5%Gemini 3.1 Pro Preview
MATH 500 (Vals AI)Not measured94.8%Only GPT-5 Mini measured
MGSM (Vals AI)Not measured92.6%Only GPT-5 Mini measured
AA Math IndexNot measured90.7Only GPT-5 Mini measured
AIME 2025 (Artificial Analysis run)Not measured90.7%Only GPT-5 Mini measured
OTIS Mock AIME95.6%86.7%Gemini 3.1 Pro Preview
FrontierMath, tiers 1 to 359.6%46.7%Gemini 3.1 Pro Preview
FrontierMath, tier 426.8%12.2%Gemini 3.1 Pro Preview
ProofBench26.0%9.0%Gemini 3.1 Pro Preview
MATH level 5Not measured97.8%Only GPT-5 Mini measured
LMArena Text: math14861378Gemini 3.1 Pro Preview
LMArena Text: mathematical work14781380Gemini 3.1 Pro Preview
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index112
Knowledge benchmarks for Gemini 3.1 Pro Preview and GPT-5 Mini
BenchmarkGemini 3.1 Pro PreviewGPT-5 MiniLeader
MMLU Pro91.0%82.2%Gemini 3.1 Pro Preview
LegalBench (Vals AI)87.4%81.8%Gemini 3.1 Pro Preview
CaseLaw (Vals AI)64.8%68.5%GPT-5 Mini
CorpFin (Vals AI)64.5%60.2%Gemini 3.1 Pro Preview
TaxEval (Vals AI)72.9%75.2%GPT-5 Mini
MortgageTax (Vals AI)69.4%66.9%Gemini 3.1 Pro Preview
MedQA (Vals AI)96.4%96.1%Gemini 3.1 Pro Preview
MedCode (Vals AI)59.1%43.0%Gemini 3.1 Pro Preview
MMLU Pro (Artificial Analysis run)Not measured83.7%Only GPT-5 Mini measured
SimpleQA Verified73.5%21.6%Gemini 3.1 Pro Preview
LMArena Text: science14971371Gemini 3.1 Pro Preview
LMArena Text: medicine and healthcare14861380Gemini 3.1 Pro Preview
LMArena Text: legal and government14871375Gemini 3.1 Pro Preview
LMArena Text: business and finance14591358Gemini 3.1 Pro Preview
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index80
Web design benchmarks for Gemini 3.1 Pro Preview and GPT-5 Mini
BenchmarkGemini 3.1 Pro PreviewGPT-5 MiniLeader
Design Arena: websites12341125Gemini 3.1 Pro Preview
Design Arena: UI components12261106Gemini 3.1 Pro Preview
Design Arena: game dev12031130Gemini 3.1 Pro Preview
Design Arena: data viz12091131Gemini 3.1 Pro Preview
Design Arena: 3D12341037Gemini 3.1 Pro Preview
Design Arena: all code categories12311115Gemini 3.1 Pro Preview
Design Arena: SVG12851091Gemini 3.1 Pro Preview
Design Arena: ASCII art12701124Gemini 3.1 Pro Preview
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index301
General benchmarks for Gemini 3.1 Pro Preview and GPT-5 Mini
BenchmarkGemini 3.1 Pro PreviewGPT-5 MiniLeader
Public Benefits Bench (Vals AI)53.8%Not measuredOnly Gemini 3.1 Pro Preview measured
SAGE (Vals AI)48.7%43.0%Gemini 3.1 Pro Preview
MedScribe (Vals AI)76.1%80.6%GPT-5 Mini
Vals Multimodal Index56.1%Not measuredOnly Gemini 3.1 Pro Preview measured
IFBench77.1%75.4%Gemini 3.1 Pro Preview
Long context reasoning (AA-LCR)82.0%72.3%Gemini 3.1 Pro Preview
DTBench97.1%80.5%Gemini 3.1 Pro Preview
LMCA53.8%34.2%Gemini 3.1 Pro Preview
Fiction.LiveBenchNot measured69.4%Only GPT-5 Mini measured
Creative writing (Lech Mazur)Not measured83.1%Only GPT-5 Mini measured
CL-bench20.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Furniture assembly26.7%Not measuredOnly Gemini 3.1 Pro Preview measured
ExploitBench26.1%Not measuredOnly Gemini 3.1 Pro Preview measured
CL-bench Life16.9%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text14801373Gemini 3.1 Pro Preview
LMArena Text: instruction following14661357Gemini 3.1 Pro Preview
LMArena Text: creative writing14821325Gemini 3.1 Pro Preview
LMArena Vision12961202Gemini 3.1 Pro Preview
LMArena Text: English14781379Gemini 3.1 Pro Preview
LMArena Text: non-English14761363Gemini 3.1 Pro Preview
LMArena Text: Chinese15271386Gemini 3.1 Pro Preview
LMArena Text: German14901366Gemini 3.1 Pro Preview
LMArena Text: Japanese14911341Gemini 3.1 Pro Preview
LMArena Text: Korean14551308Gemini 3.1 Pro Preview
LMArena Text: French14871386Gemini 3.1 Pro Preview
LMArena Text: Spanish14811354Gemini 3.1 Pro Preview
LMArena Text: Russian14971362Gemini 3.1 Pro Preview
LMArena Text: Polish14981378Gemini 3.1 Pro Preview
LMArena Text: multi-turn14871363Gemini 3.1 Pro Preview
LMArena Text: longer queries14821355Gemini 3.1 Pro Preview
LMArena Text: writing and language14811344Gemini 3.1 Pro Preview
LMArena Text: entertainment and media14651340Gemini 3.1 Pro Preview
LMArena Vision: English12871216Gemini 3.1 Pro Preview
LMArena Vision: Chinese13641214Gemini 3.1 Pro Preview
LMArena Vision: reading text13041199Gemini 3.1 Pro Preview
LMArena Vision: humor13221205Gemini 3.1 Pro Preview
LMArena Vision: captioning13451217Gemini 3.1 Pro Preview
LMArena Vision: recognizing things13301226Gemini 3.1 Pro Preview
LMArena Vision: creative writing13241181Gemini 3.1 Pro Preview
LMArena Document1444Not measuredOnly Gemini 3.1 Pro Preview measured
Neither model has a result on the other 6 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 3.1 Pro Preview and GPT-5 Mini
BenchmarkGemini 3.1 Pro PreviewGPT-5 MiniLeader
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

Gemini 3.1 Pro Preview$0.0080Fits in one request
GPT-5 Mini$0.0013Fits in one request

GPT-5 Mini costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview$0.136Fits in one request
GPT-5 Mini$0.018Fits in one request

GPT-5 Mini costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview$0.520Fits in one request
GPT-5 Mini$0.070Fits in one request

GPT-5 Mini 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 Gemini 3.1 Pro Preview and GPT-5 Mini
SpecificationGoogle Gemini 3.1 Pro PreviewOpenAI GPT-5 Mini
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 19, 2026August 7, 2025
Context window1.05M400K
Input $/Mtok$2.00$0.25
Output $/Mtok$12.00$2.00
Coding index35.359.8
Independent measurements behind it11
Cost per solved task$0.99$0.08
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.1 Pro Preview better than GPT-5 Mini for coding?

Pick GPT-5 Mini for coding: it scores 59.8 on the Vibe Coding Index against 35.3 for Gemini 3.1 Pro Preview. Pick Gemini 3.1 Pro Preview when the context window is larger, 1.05M against 400K tokens, or when what matters is LiveCodeBench (Vals AI) or SWE-bench Verified (Vals AI), where it leads.

Which is cheaper, Gemini 3.1 Pro Preview or GPT-5 Mini?

Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; GPT-5 Mini costs $0.25 and $2.00. Per solved SWE-bench Verified task, Gemini 3.1 Pro Preview costs $0.99 and GPT-5 Mini $0.08.

Which has the bigger context window, Gemini 3.1 Pro Preview or GPT-5 Mini?

Gemini 3.1 Pro Preview, with 1.05M tokens against 400K.

How many benchmarks is the Gemini 3.1 Pro Preview vs GPT-5 Mini comparison based on?

85 benchmarks have a result for both models as of October 21, 2026. Gemini 3.1 Pro Preview's coding index rests on 1 independent benchmark and GPT-5 Mini's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next