Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview vs Gemini 3.7 Flash

Updated October 21, 2026. 98 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
14
Gemini 3.7 FlashGoogle
Coding
69.9
Overall
39.6
Output $/M
$3.75
82
vs boards won of 98 shared, 2 tied

Decision reading

Pick Gemini 3.7 Flash for coding: it scores 69.9 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.78, or when what matters is ALE-Bench or GPQA Diamond, where it leads.

Shared results
98
Gemini 3.1 Pro Preview only
33
Gemini 3.7 Flash only
14
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.7 Flash 69.9 from 2 benchmarks.
Widest category
Agentic work, 15.0 points apart on average over 13 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Gemini 3.1 Pro Preview 32.0% against Gemini 3.7 Flash 70.4%, 38.4 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Pro Preview $12.00 against Gemini 3.7 Flash $3.75 per million output tokens, 3.2x 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.7 FlashTies
Coding1151 tie
Intelligence01
Agentic work013
Reasoning212
Math06
Knowledge55
Web design17
General5231 tie
All shared boards14822 ties
CodingLike-for-likeFour of these boards feed the Vibe Coding Index115
Coding benchmarks for Gemini 3.1 Pro Preview and Gemini 3.7 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.7 FlashLeader
LiveBench codingNot measured80.5%Only Gemini 3.7 Flash measured
LMArena WebDev14471591Gemini 3.7 Flash
AA Coding Index68.871.5Gemini 3.7 Flash
LiveCodeBench (Vals AI)88.5%88.7%Gemini 3.7 Flash
SWE-bench Verified (Vals AI)78.8%80.8%Gemini 3.7 Flash
Terminal-Bench 4 (Vals AI)2.5%12.1%Gemini 3.7 Flash
Vibe Code Bench (Vals AI)32.0%70.4%Gemini 3.7 Flash
Code migration (Vals AI)17.3%34.8%Gemini 3.7 Flash
ProgramBench (Vals AI)0.0%0.0%Tie
IOI (Vals AI)51.8%67.8%Gemini 3.7 Flash
Terminal-Bench 2.1 (Vals AI)70.8%77.5%Gemini 3.7 Flash
Vibe Code Bench 1-100 (Vals AI)6.7%Not measuredOnly Gemini 3.1 Pro Preview measured
SkillsBench (Vals AI)Not measured65.9%Only Gemini 3.7 Flash measured
CyberBench (Vals AI)Not measured43.8%Only Gemini 3.7 Flash measured
SciCode58.7%59.8%Gemini 3.7 Flash
Terminal-Bench Hard (Artificial Analysis run)53.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench80.2%Not measuredOnly Gemini 3.1 Pro Preview measured
FrontierCodeNot measured43.6%Only Gemini 3.7 Flash measured
FrontierSWENot measured20.3%Only Gemini 3.7 Flash measured
GSO-Bench22.6%Not measuredOnly Gemini 3.1 Pro Preview measured
WeirdML72.1%Not measuredOnly Gemini 3.1 Pro Preview measured
MirrorCode8.9%Not measuredOnly Gemini 3.1 Pro Preview measured
ALE-Bench1160.6904.3Gemini 3.1 Pro Preview
LMArena Text: coding14841499Gemini 3.7 Flash
LMArena Text: software and IT14871498Gemini 3.7 Flash
LMArena WebDev: React14381587Gemini 3.7 Flash
LMArena WebDev: HTML14901593Gemini 3.7 Flash
LMArena WebDev: from an image14811599Gemini 3.7 Flash
Neither model has a result on the other 10 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.7 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.7 FlashLeader
AA Intelligence Index29.739.6Gemini 3.7 Flash
Epoch Capabilities IndexNot measured158.0Only Gemini 3.7 Flash measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index013
Agentic work benchmarks for Gemini 3.1 Pro Preview and Gemini 3.7 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.7 FlashLeader
AA Agentic Index8.2Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: agents building web apps11251224Gemini 3.7 Flash
Design Arena: agents building full-stack apps10681208Gemini 3.7 Flash
Design Arena: agents building mobile apps10941230Gemini 3.7 Flash
Design Arena: agents building Android apps10551247Gemini 3.7 Flash
Design Arena: agents building Godot games12361264Gemini 3.7 Flash
Design Arena: agents building games11141235Gemini 3.7 Flash
Design Arena: HTML slides1153Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: PowerPoint slides1064Not measuredOnly Gemini 3.1 Pro Preview measured
Design Arena: spreadsheetsNot measured1028Only Gemini 3.7 Flash measured
LiveBench researchNot measured76.5%Only Gemini 3.7 Flash measured
LiveBench browserNot measured56.0%Only Gemini 3.7 Flash measured
LiveBench long agenticNot measured28.3%Only Gemini 3.7 Flash measured
SREBench (Vals AI)0.0%4.6%Gemini 3.7 Flash
Finance Agent (Vals AI)43.0%59.0%Gemini 3.7 Flash
Tax Agent Bench (Vals AI)9.3%22.8%Gemini 3.7 Flash
Legal Research Bench (Vals AI)20.7%34.6%Gemini 3.7 Flash
Excel Modeling Benchmark (Vals AI)52.6%71.3%Gemini 3.7 Flash
BioMysteryBench (Vals AI)60.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Terminal-Bench-Science (Vals AI)1.4%7.1%Gemini 3.7 Flash
Vals Science Index27.4%Not measuredOnly Gemini 3.1 Pro Preview measured
τ²-Bench Telecom95.6%Not measuredOnly Gemini 3.1 Pro Preview measured
APEX-Agents35.1%67.8%Gemini 3.7 Flash
METR time horizons77.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Remote Labor IndexNot measured5.0%Only Gemini 3.7 Flash 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$911Not measuredOnly Gemini 3.1 Pro Preview measured
Neither model has a result on the other 10 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index212
Reasoning benchmarks for Gemini 3.1 Pro Preview and Gemini 3.7 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.7 FlashLeader
GPQA Diamond95.5%93.9%Gemini 3.1 Pro Preview
LiveBench reasoningNot measured87.8%Only Gemini 3.7 Flash measured
MysteryMechanism (Vals AI)20.7%Not measuredOnly Gemini 3.1 Pro Preview measured
MMMU Pro (Vals AI)88.2%89.0%Gemini 3.7 Flash
GPQA Diamond (Artificial Analysis run)94.1%94.5%Gemini 3.7 Flash
Humanity's Last Exam (Artificial Analysis run)47.0%47.9%Gemini 3.7 Flash
GPQA Diamond (Epoch AI run)94.4%94.8%Gemini 3.7 Flash
ARC-AGI98.0%95.5%Gemini 3.1 Pro Preview
ARC-AGI-277.1%84.6%Gemini 3.7 Flash
SimpleBench79.6%Not measuredOnly Gemini 3.1 Pro Preview measured
Chess puzzles51.0%66.0%Gemini 3.7 Flash
Mystery game puzzles34.0%37.0%Gemini 3.7 Flash
EBR-bench14.3%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: hard prompts14851495Gemini 3.7 Flash
LMArena Text: expert14831512Gemini 3.7 Flash
LMArena Text: hard prompts in English14801487Gemini 3.7 Flash
LMArena Vision: diagrams13111329Gemini 3.7 Flash
LMArena Vision: homework13161320Gemini 3.7 Flash
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index06
Math benchmarks for Gemini 3.1 Pro Preview and Gemini 3.7 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.7 FlashLeader
AIME98.1%Not measuredOnly Gemini 3.1 Pro Preview measured
OTIS Mock AIME95.6%97.2%Gemini 3.7 Flash
FrontierMath, tiers 1 to 359.6%71.6%Gemini 3.7 Flash
FrontierMath, tier 426.8%36.6%Gemini 3.7 Flash
ProofBench26.0%58.0%Gemini 3.7 Flash
LMArena Text: math14861511Gemini 3.7 Flash
LMArena Text: mathematical work14781502Gemini 3.7 Flash
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index55
Knowledge benchmarks for Gemini 3.1 Pro Preview and Gemini 3.7 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.7 FlashLeader
MMLU Pro91.0%90.1%Gemini 3.1 Pro Preview
LegalBench (Vals AI)87.4%87.3%Gemini 3.1 Pro Preview
CaseLaw (Vals AI)64.8%Not measuredOnly Gemini 3.1 Pro Preview measured
CorpFin (Vals AI)64.5%Not measuredOnly Gemini 3.1 Pro Preview measured
TaxEval (Vals AI)72.9%74.7%Gemini 3.7 Flash
MortgageTax (Vals AI)69.4%66.7%Gemini 3.1 Pro Preview
MedQA (Vals AI)96.4%Not measuredOnly Gemini 3.1 Pro Preview measured
MedCode (Vals AI)59.1%53.4%Gemini 3.1 Pro Preview
SimpleQA Verified73.5%69.2%Gemini 3.1 Pro Preview
LMArena Text: science14971511Gemini 3.7 Flash
LMArena Text: medicine and healthcare14861494Gemini 3.7 Flash
LMArena Text: legal and government14871496Gemini 3.7 Flash
LMArena Text: business and finance14591479Gemini 3.7 Flash
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index17
Web design benchmarks for Gemini 3.1 Pro Preview and Gemini 3.7 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.7 FlashLeader
Design Arena: websites12341304Gemini 3.7 Flash
Design Arena: UI components12261299Gemini 3.7 Flash
Design Arena: game dev12031318Gemini 3.7 Flash
Design Arena: data viz12091315Gemini 3.7 Flash
Design Arena: 3D12341308Gemini 3.7 Flash
Design Arena: all code categories12311308Gemini 3.7 Flash
Design Arena: SVG12851283Gemini 3.1 Pro Preview
Design Arena: ASCII art12701276Gemini 3.7 Flash
LiveBench designNot measured73.2%Only Gemini 3.7 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index523
General benchmarks for Gemini 3.1 Pro Preview and Gemini 3.7 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.7 FlashLeader
LiveBench data analysisNot measured68.0%Only Gemini 3.7 Flash measured
Public Benefits Bench (Vals AI)53.8%Not measuredOnly Gemini 3.1 Pro Preview measured
SAGE (Vals AI)48.7%49.2%Gemini 3.7 Flash
MedScribe (Vals AI)76.1%83.9%Gemini 3.7 Flash
Vals Multimodal Index56.1%Not measuredOnly Gemini 3.1 Pro Preview measured
IFBench77.1%Not measuredOnly Gemini 3.1 Pro Preview measured
Long context reasoning (AA-LCR)82.0%83.0%Gemini 3.7 Flash
DTBench97.1%96.8%Gemini 3.1 Pro Preview
LMCA53.8%50.4%Gemini 3.1 Pro Preview
CL-bench20.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Furniture assembly26.7%26.7%Tie
ExploitBench26.1%Not measuredOnly Gemini 3.1 Pro Preview measured
CL-bench Life16.9%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text14801489Gemini 3.7 Flash
LMArena Text: instruction following14661484Gemini 3.7 Flash
LMArena Text: creative writing14821488Gemini 3.7 Flash
LMArena Vision12961314Gemini 3.7 Flash
LMArena Text: English14781483Gemini 3.7 Flash
LMArena Text: non-English14761487Gemini 3.7 Flash
LMArena Text: Chinese15271552Gemini 3.7 Flash
LMArena Text: German14901506Gemini 3.7 Flash
LMArena Text: Japanese14911511Gemini 3.7 Flash
LMArena Text: Korean14551481Gemini 3.7 Flash
LMArena Text: French14871500Gemini 3.7 Flash
LMArena Text: Spanish14811495Gemini 3.7 Flash
LMArena Text: Russian14971515Gemini 3.7 Flash
LMArena Text: Polish14981503Gemini 3.7 Flash
LMArena Text: multi-turn14871485Gemini 3.1 Pro Preview
LMArena Text: longer queries14821492Gemini 3.7 Flash
LMArena Text: writing and language14811491Gemini 3.7 Flash
LMArena Text: entertainment and media14651477Gemini 3.7 Flash
LMArena Vision: English12871309Gemini 3.7 Flash
LMArena Vision: Chinese13641394Gemini 3.7 Flash
LMArena Vision: reading text13041322Gemini 3.7 Flash
LMArena Vision: humor13221299Gemini 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 writing13241312Gemini 3.1 Pro Preview
LMArena Document1444Not measuredOnly Gemini 3.1 Pro Preview measured
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.7 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.7 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.7 Flash$0.0026Fits in one request

Gemini 3.7 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview$0.136Fits in one request
Gemini 3.7 Flash$0.049Fits in one request

Gemini 3.7 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview$0.520Fits in one request
Gemini 3.7 Flash$0.188Fits in one request

Gemini 3.7 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.7 Flash
SpecificationGoogle Gemini 3.1 Pro PreviewGoogle Gemini 3.7 Flash
MakerGoogleGoogle
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 19, 2026August 13, 2026
Context window1.05M1.05M
Input $/Mtok$2.00$0.75
Output $/Mtok$12.00$3.75
Coding index35.369.9
Independent measurements behind it12
Cost per solved task$0.99$1.78
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick Gemini 3.7 Flash for coding: it scores 69.9 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.78, or when what matters is ALE-Bench or GPQA Diamond, where it leads.

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

Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; Gemini 3.7 Flash costs $0.75 and $3.75. Per solved SWE-bench Verified task, Gemini 3.1 Pro Preview costs $0.99 and Gemini 3.7 Flash $1.78.

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

Neither: both take 1.05M tokens.

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

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

Compare next