Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview vs Gemini 3.5 Flash

Updated October 21, 2026. 107 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
44
Gemini 3.5 FlashGoogle
Coding
42.8
Overall
33.6
Output $/M
$9.00
59
vs boards won of 107 shared, 4 tied

Decision reading

Pick Gemini 3.5 Flash for coding: it scores 42.8 on the Vibe Coding Index against 35.3 for Gemini 3.1 Pro Preview.

Pick Gemini 3.1 Pro Preview when a solved task costs $0.99 against $1.21, or when what matters is LiveCodeBench (Vals AI) or SciCode, where it leads.

Shared results
107
Gemini 3.1 Pro Preview only
24
Gemini 3.5 Flash only
3
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, Gemini 3.5 Flash 42.8 from 1 benchmark.
Widest category
Agentic work, 11.4 points apart on average over 16 shared benchmarks.
Widest single gap
Vending-Bench 2: Gemini 3.1 Pro Preview $911 against Gemini 3.5 Flash $5,396, 28.0 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Pro Preview $12.00 against Gemini 3.5 Flash $9.00 per million output tokens, 1.3x apart.
Context window
Both take 1.05M tokens.

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 PreviewBarsGemini 3.5 FlashTies
Coding5102 ties
Intelligence01
Agentic work3121 tie
Reasoning106
Math141 tie
Knowledge74
Web design26
General1616
All shared boards44594 ties
CodingLike-for-likeFour of these boards feed the Vibe Coding Index510
Coding benchmarks for Gemini 3.1 Pro Preview and Gemini 3.5 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.5 FlashLeader
LMArena WebDev14471499Gemini 3.5 Flash
AA Coding Index68.8Not measuredOnly Gemini 3.1 Pro Preview measured
LiveCodeBench (Vals AI)88.5%87.6%Gemini 3.1 Pro Preview
SWE-bench Verified (Vals AI)78.8%78.8%Tie
Terminal-Bench 4 (Vals AI)2.5%6.1%Gemini 3.5 Flash
Vibe Code Bench (Vals AI)32.0%48.7%Gemini 3.5 Flash
Code migration (Vals AI)17.3%26.8%Gemini 3.5 Flash
ProgramBench (Vals AI)0.0%0.0%Tie
IOI (Vals AI)51.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench 2.1 (Vals AI)70.8%74.2%Gemini 3.5 Flash
Vibe Code Bench 1-100 (Vals AI)6.7%Not measuredOnly Gemini 3.1 Pro Preview measured
SkillsBench (Vals AI)Not measured52.7%Only Gemini 3.5 Flash measured
SciCode58.7%53.9%Gemini 3.1 Pro Preview
Terminal-Bench Hard (Artificial Analysis run)53.8%46.2%Gemini 3.1 Pro Preview
Terminal-Bench80.2%Not measuredOnly Gemini 3.1 Pro Preview measured
GSO-Bench22.6%Not measuredOnly Gemini 3.1 Pro Preview measured
WeirdML72.1%62.6%Gemini 3.1 Pro Preview
MirrorCode8.9%Not measuredOnly Gemini 3.1 Pro Preview measured
ALE-Bench1160.6911.0Gemini 3.1 Pro Preview
LMArena Text: coding14841493Gemini 3.5 Flash
LMArena Text: software and IT14871494Gemini 3.5 Flash
LMArena WebDev: React14381495Gemini 3.5 Flash
LMArena WebDev: HTML14901522Gemini 3.5 Flash
LMArena WebDev: from an image14811504Gemini 3.5 Flash
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemini 3.1 Pro Preview and Gemini 3.5 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.5 FlashLeader
AA Intelligence Index29.733.6Gemini 3.5 Flash
Epoch Capabilities IndexNot measured154.9Only Gemini 3.5 Flash measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index312
Agentic work benchmarks for Gemini 3.1 Pro Preview and Gemini 3.5 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.5 FlashLeader
AA Agentic Index8.2Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building web apps11251202Gemini 3.5 Flash
Design Arena: agents building full-stack apps10681197Gemini 3.5 Flash
Design Arena: agents building mobile apps10941175Gemini 3.5 Flash
Design Arena: agents building Android apps10551190Gemini 3.5 Flash
Design Arena: agents building Godot games12361098Gemini 3.1 Pro Preview
Design Arena: agents building games11141180Gemini 3.5 Flash
Design Arena: HTML slides11531142Gemini 3.1 Pro Preview
Design Arena: PowerPoint slides10641178Gemini 3.5 Flash
SREBench (Vals AI)0.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Finance Agent (Vals AI)43.0%57.9%Gemini 3.5 Flash
Tax Agent Bench (Vals AI)9.3%21.6%Gemini 3.5 Flash
Legal Research Bench (Vals AI)20.7%30.8%Gemini 3.5 Flash
Excel Modeling Benchmark (Vals AI)52.6%63.5%Gemini 3.5 Flash
BioMysteryBench (Vals AI)60.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench-Science (Vals AI)1.4%5.7%Gemini 3.5 Flash
Vals Science Index27.4%Not measuredOnly Gemini 3.1 Pro Preview measured
τ²-Bench Telecom95.6%95.6%Tie
APEX-Agents35.1%27.5%Gemini 3.1 Pro Preview
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$5,396Gemini 3.5 Flash
Neither model has a result on the other 15 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index106
Reasoning benchmarks for Gemini 3.1 Pro Preview and Gemini 3.5 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.5 FlashLeader
GPQA Diamond95.5%92.7%Gemini 3.1 Pro Preview
MysteryMechanism (Vals AI)20.7%Not measuredOnly Gemini 3.1 Pro Preview measured
MMMU Pro (Vals AI)88.2%88.3%Gemini 3.5 Flash
GPQA Diamond (Artificial Analysis run)94.1%92.2%Gemini 3.1 Pro Preview
Humanity's Last Exam (Artificial Analysis run)47.0%42.7%Gemini 3.1 Pro Preview
GPQA Diamond (Epoch AI run)94.4%92.8%Gemini 3.1 Pro Preview
ARC-AGI98.0%92.5%Gemini 3.1 Pro Preview
ARC-AGI-277.1%72.1%Gemini 3.1 Pro Preview
SimpleBench79.6%76.7%Gemini 3.1 Pro Preview
Chess puzzles51.0%45.0%Gemini 3.1 Pro Preview
Mystery game puzzles34.0%32.0%Gemini 3.1 Pro Preview
EBR-bench14.3%4.8%Gemini 3.1 Pro Preview
LMArena Text: hard prompts14851488Gemini 3.5 Flash
LMArena Text: expert14831495Gemini 3.5 Flash
LMArena Text: hard prompts in English14801483Gemini 3.5 Flash
LMArena Vision: diagrams13111323Gemini 3.5 Flash
LMArena Vision: homework13161330Gemini 3.5 Flash
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index14
Math benchmarks for Gemini 3.1 Pro Preview and Gemini 3.5 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.5 FlashLeader
AIME98.1%Not measuredOnly Gemini 3.1 Pro Preview measured
OTIS Mock AIME95.6%95.6%Gemini 3.1 Pro Preview
FrontierMath, tiers 1 to 359.6%62.8%Gemini 3.5 Flash
FrontierMath, tier 426.8%26.8%Tie
ProofBench26.0%31.0%Gemini 3.5 Flash
LMArena Text: math14861504Gemini 3.5 Flash
LMArena Text: mathematical work14781495Gemini 3.5 Flash
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index74
Knowledge benchmarks for Gemini 3.1 Pro Preview and Gemini 3.5 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.5 FlashLeader
MMLU Pro91.0%89.5%Gemini 3.1 Pro Preview
LegalBench (Vals AI)87.4%83.6%Gemini 3.1 Pro Preview
CaseLaw (Vals AI)64.8%Not measuredOnly Gemini 3.1 Pro Preview measured
CorpFin (Vals AI)64.5%64.7%Gemini 3.5 Flash
TaxEval (Vals AI)72.9%74.4%Gemini 3.5 Flash
MortgageTax (Vals AI)69.4%68.1%Gemini 3.1 Pro Preview
MedQA (Vals AI)96.4%Not measuredOnly Gemini 3.1 Pro Preview measured
MedCode (Vals AI)59.1%55.8%Gemini 3.1 Pro Preview
SimpleQA Verified73.5%66.2%Gemini 3.1 Pro Preview
LMArena Text: science14971495Gemini 3.1 Pro Preview
LMArena Text: medicine and healthcare14861483Gemini 3.1 Pro Preview
LMArena Text: legal and government14871488Gemini 3.5 Flash
LMArena Text: business and finance14591467Gemini 3.5 Flash
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index26
Web design benchmarks for Gemini 3.1 Pro Preview and Gemini 3.5 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.5 FlashLeader
Design Arena: websites12341268Gemini 3.5 Flash
Design Arena: UI components12261272Gemini 3.5 Flash
Design Arena: game dev12031263Gemini 3.5 Flash
Design Arena: data viz12091236Gemini 3.5 Flash
Design Arena: 3D12341244Gemini 3.5 Flash
Design Arena: all code categories12311266Gemini 3.5 Flash
Design Arena: SVG12851254Gemini 3.1 Pro Preview
Design Arena: ASCII art12701253Gemini 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 index1616
General benchmarks for Gemini 3.1 Pro Preview and Gemini 3.5 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.5 FlashLeader
Public Benefits Bench (Vals AI)53.8%59.5%Gemini 3.5 Flash
SAGE (Vals AI)48.7%49.9%Gemini 3.5 Flash
MedScribe (Vals AI)76.1%76.6%Gemini 3.5 Flash
Vals Multimodal Index56.1%62.9%Gemini 3.5 Flash
IFBench77.1%76.3%Gemini 3.1 Pro Preview
Long context reasoning (AA-LCR)82.0%74.3%Gemini 3.1 Pro Preview
DTBench97.1%94.7%Gemini 3.1 Pro Preview
LMCA53.8%47.1%Gemini 3.1 Pro Preview
CL-bench20.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Surface Evolver BenchNot measured58.1%Only Gemini 3.5 Flash 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 Text14801482Gemini 3.5 Flash
LMArena Text: instruction following14661467Gemini 3.5 Flash
LMArena Text: creative writing14821470Gemini 3.1 Pro Preview
LMArena Vision12961308Gemini 3.5 Flash
LMArena Text: English14781481Gemini 3.5 Flash
LMArena Text: non-English14761475Gemini 3.1 Pro Preview
LMArena Text: Chinese15271527Gemini 3.1 Pro Preview
LMArena Text: German14901494Gemini 3.5 Flash
LMArena Text: Japanese14911486Gemini 3.1 Pro Preview
LMArena Text: Korean14551448Gemini 3.1 Pro Preview
LMArena Text: French14871490Gemini 3.5 Flash
LMArena Text: Spanish14811480Gemini 3.1 Pro Preview
LMArena Text: Russian14971493Gemini 3.1 Pro Preview
LMArena Text: Polish14981516Gemini 3.5 Flash
LMArena Text: multi-turn14871481Gemini 3.1 Pro Preview
LMArena Text: longer queries14821483Gemini 3.5 Flash
LMArena Text: writing and language14811478Gemini 3.1 Pro Preview
LMArena Text: entertainment and media14651459Gemini 3.1 Pro Preview
LMArena Vision: English12871305Gemini 3.5 Flash
LMArena Vision: Chinese13641377Gemini 3.5 Flash
LMArena Vision: reading text13041317Gemini 3.5 Flash
LMArena Vision: humor13221321Gemini 3.1 Pro Preview
LMArena Vision: captioning1345Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: recognizing things1330Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Vision: creative writing13241301Gemini 3.1 Pro Preview
LMArena Document14441463Gemini 3.5 Flash
Neither model has a result on the other 7 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 Gemini 3.5 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.5 FlashLeader
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
Gemini 3.5 Flash$0.0060Fits in one request

Gemini 3.5 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview$0.136Fits in one request
Gemini 3.5 Flash$0.102Fits in one request

Gemini 3.5 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview$0.520Fits in one request
Gemini 3.5 Flash$0.390Fits in one request

Gemini 3.5 Flash 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 Gemini 3.5 Flash
SpecificationGoogle Gemini 3.1 Pro PreviewGoogle Gemini 3.5 Flash
MakerGoogleGoogle
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 19, 2026May 19, 2026
Context window1.05M1.05M
Input $/Mtok$2.00$1.50
Output $/Mtok$12.00$9.00
Coding index35.342.8
Independent measurements behind it11
Cost per solved task$0.99$1.21
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.1 Pro Preview better than Gemini 3.5 Flash for coding?

Pick Gemini 3.5 Flash for coding: it scores 42.8 on the Vibe Coding Index against 35.3 for Gemini 3.1 Pro Preview. Pick Gemini 3.1 Pro Preview when a solved task costs $0.99 against $1.21, or when what matters is LiveCodeBench (Vals AI) or SciCode, where it leads.

Which is cheaper, Gemini 3.1 Pro Preview or Gemini 3.5 Flash?

Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; Gemini 3.5 Flash costs $1.50 and $9.00. Per solved SWE-bench Verified task, Gemini 3.1 Pro Preview costs $0.99 and Gemini 3.5 Flash $1.21.

Which has the bigger context window, Gemini 3.1 Pro Preview or Gemini 3.5 Flash?

Neither: both take 1.05M tokens.

How many benchmarks is the Gemini 3.1 Pro Preview vs Gemini 3.5 Flash comparison based on?

107 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 Gemini 3.5 Flash's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next