LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview vs Gemini 3.8 Flash

Updated October 21, 2026. 106 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
15
Gemini 3.8 FlashGoogle
Coding
70.5
Overall
40.9
Output $/M
$4.125
91
vs boards won of 106 shared

Decision reading

Pick Gemini 3.8 Flash for coding: it scores 70.5 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 $2.74, or when what matters is SciCode or GPQA Diamond, where it leads.

Shared results
106
Gemini 3.1 Pro Preview only
25
Gemini 3.8 Flash only
20
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.8 Flash 70.5 from 2 benchmarks.
Widest category
Agentic work, 15.9 points apart on average over 17 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Gemini 3.1 Pro Preview 32.0% against Gemini 3.8 Flash 78.7%, 46.6 points apart on a 0 to 100 scale.
Output price
Gemini 3.1 Pro Preview $12.00 against Gemini 3.8 Flash $4.125 per million output tokens, 2.9x 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.8 FlashTies
Coding118
Intelligence01
Agentic work017
Reasoning114
Math15
Knowledge55
Web design17
General624
All shared boards1591
CodingLike-for-likeFour of these boards feed the Vibe Coding Index118
Coding benchmarks for Gemini 3.1 Pro Preview and Gemini 3.8 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.8 FlashLeader
LiveBench codingNot measured82.2%Only Gemini 3.8 Flash measured
LMArena WebDev14471585Gemini 3.8 Flash
AA Coding Index68.876.3Gemini 3.8 Flash
LiveCodeBench (Vals AI)88.5%89.5%Gemini 3.8 Flash
SWE-bench Verified (Vals AI)78.8%80.0%Gemini 3.8 Flash
Terminal-Bench 4 (Vals AI)2.5%19.7%Gemini 3.8 Flash
Vibe Code Bench (Vals AI)32.0%78.7%Gemini 3.8 Flash
Code migration (Vals AI)17.3%36.5%Gemini 3.8 Flash
ProgramBench (Vals AI)0.0%1.0%Gemini 3.8 Flash
IOI (Vals AI)51.8%56.9%Gemini 3.8 Flash
Terminal-Bench 2.1 (Vals AI)70.8%81.3%Gemini 3.8 Flash
SWE-bench Multimodal (Vals AI)Not measured40.8%Only Gemini 3.8 Flash measured
Vibe Code Bench 1-100 (Vals AI)6.7%18.8%Gemini 3.8 Flash
SkillsBench (Vals AI)Not measured58.0%Only Gemini 3.8 Flash measured
CyberBench (Vals AI)Not measured43.8%Only Gemini 3.8 Flash measured
SciCode58.7%56.6%Gemini 3.1 Pro Preview
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 measured41.2%Only Gemini 3.8 Flash measured
FrontierSWENot measured19.6%Only Gemini 3.8 Flash measured
GSO-Bench22.6%Not measuredOnly Gemini 3.1 Pro Preview measured
WeirdML72.1%84.8%Gemini 3.8 Flash
MirrorCode8.9%Not measuredOnly Gemini 3.1 Pro Preview measured
ALE-Bench1160.61269.7Gemini 3.8 Flash
LMArena Text: coding14841508Gemini 3.8 Flash
LMArena Text: software and IT14871507Gemini 3.8 Flash
LMArena WebDev: React14381577Gemini 3.8 Flash
LMArena WebDev: HTML14901616Gemini 3.8 Flash
LMArena WebDev: from an image14811593Gemini 3.8 Flash
Neither model has a result on the other 9 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.8 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.8 FlashLeader
AA Intelligence Index29.740.9Gemini 3.8 Flash
Epoch Capabilities IndexNot measured157.4Only Gemini 3.8 Flash measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index017
Agentic work benchmarks for Gemini 3.1 Pro Preview and Gemini 3.8 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.8 FlashLeader
AA Agentic Index8.240.2Gemini 3.8 Flash
Design Arena: agents building web apps11251238Gemini 3.8 Flash
Design Arena: agents building full-stack apps10681244Gemini 3.8 Flash
Design Arena: agents building mobile apps10941236Gemini 3.8 Flash
Design Arena: agents building Android apps10551078Gemini 3.8 Flash
Design Arena: agents building Godot games12361273Gemini 3.8 Flash
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 slides10641178Gemini 3.8 Flash
Design Arena: spreadsheetsNot measured1052Only Gemini 3.8 Flash measured
LiveBench researchNot measured79.1%Only Gemini 3.8 Flash measured
LiveBench browserNot measured64.0%Only Gemini 3.8 Flash measured
LiveBench long agenticNot measured30.1%Only Gemini 3.8 Flash measured
SREBench (Vals AI)0.0%11.1%Gemini 3.8 Flash
Finance Agent (Vals AI)43.0%61.4%Gemini 3.8 Flash
Tax Agent Bench (Vals AI)9.3%32.1%Gemini 3.8 Flash
Legal Research Bench (Vals AI)20.7%38.9%Gemini 3.8 Flash
Harvey's Legal Agent Benchmark (Vals AI)Not measured12.1%Only Gemini 3.8 Flash measured
Excel Modeling Benchmark (Vals AI)52.6%72.2%Gemini 3.8 Flash
BioMysteryBench (Vals AI)60.0%62.2%Gemini 3.8 Flash
Terminal-Bench-Science (Vals AI)1.4%8.6%Gemini 3.8 Flash
Vals Science Index27.4%35.8%Gemini 3.8 Flash
Time Horizon Index (Vals AI)Not measured18.8%Only Gemini 3.8 Flash measured
CUA-bench (Vals AI)Not measured4.2%Only Gemini 3.8 Flash measured
τ²-Bench Telecom95.6%Not measuredOnly Gemini 3.1 Pro Preview measured
APEX-Agents35.1%64.3%Gemini 3.8 Flash
METR time horizons77.0%Not measuredOnly Gemini 3.1 Pro Preview measured
Remote Labor IndexNot measured5.8%Only Gemini 3.8 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$911$5,094Gemini 3.8 Flash
Neither model has a result on the other 7 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index114
Reasoning benchmarks for Gemini 3.1 Pro Preview and Gemini 3.8 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.8 FlashLeader
GPQA Diamond95.5%94.4%Gemini 3.1 Pro Preview
LiveBench reasoningNot measured89.3%Only Gemini 3.8 Flash measured
MysteryMechanism (Vals AI)20.7%36.5%Gemini 3.8 Flash
MMMU Pro (Vals AI)88.2%89.1%Gemini 3.8 Flash
GPQA Diamond (Artificial Analysis run)94.1%95.3%Gemini 3.8 Flash
Humanity's Last Exam (Artificial Analysis run)47.0%47.8%Gemini 3.8 Flash
GPQA Diamond (Epoch AI run)94.4%95.4%Gemini 3.8 Flash
ARC-AGI98.0%98.5%Gemini 3.8 Flash
ARC-AGI-277.1%89.2%Gemini 3.8 Flash
SimpleBench79.6%Not measuredOnly Gemini 3.1 Pro Preview measured
Chess puzzles51.0%58.0%Gemini 3.8 Flash
Mystery game puzzles34.0%47.0%Gemini 3.8 Flash
EBR-bench14.3%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text: hard prompts14851509Gemini 3.8 Flash
LMArena Text: expert14831526Gemini 3.8 Flash
LMArena Text: hard prompts in English14801504Gemini 3.8 Flash
LMArena Vision: diagrams13111345Gemini 3.8 Flash
LMArena Vision: homework13161351Gemini 3.8 Flash
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index15
Math benchmarks for Gemini 3.1 Pro Preview and Gemini 3.8 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.8 FlashLeader
AIME98.1%Not measuredOnly Gemini 3.1 Pro Preview measured
OTIS Mock AIME95.6%98.9%Gemini 3.8 Flash
FrontierMath, tiers 1 to 359.6%68.4%Gemini 3.8 Flash
FrontierMath, tier 426.8%22.0%Gemini 3.1 Pro Preview
ProofBench26.0%48.0%Gemini 3.8 Flash
LMArena Text: math14861532Gemini 3.8 Flash
LMArena Text: mathematical work14781519Gemini 3.8 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.8 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.8 FlashLeader
MMLU Pro91.0%90.2%Gemini 3.1 Pro Preview
LegalBench (Vals AI)87.4%87.0%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.5%Gemini 3.8 Flash
MortgageTax (Vals AI)69.4%65.3%Gemini 3.1 Pro Preview
MedQA (Vals AI)96.4%Not measuredOnly Gemini 3.1 Pro Preview measured
MedCode (Vals AI)59.1%48.1%Gemini 3.1 Pro Preview
SimpleQA Verified73.5%69.7%Gemini 3.1 Pro Preview
LMArena Text: science14971523Gemini 3.8 Flash
LMArena Text: medicine and healthcare14861508Gemini 3.8 Flash
LMArena Text: legal and government14871497Gemini 3.8 Flash
LMArena Text: business and finance14591479Gemini 3.8 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.8 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.8 FlashLeader
Design Arena: websites12341301Gemini 3.8 Flash
Design Arena: UI components12261318Gemini 3.8 Flash
Design Arena: game dev12031305Gemini 3.8 Flash
Design Arena: data viz12091269Gemini 3.8 Flash
Design Arena: 3D12341295Gemini 3.8 Flash
Design Arena: all code categories12311304Gemini 3.8 Flash
Design Arena: SVG12851295Gemini 3.8 Flash
Design Arena: ASCII art12701264Gemini 3.1 Pro Preview
LiveBench designNot measured72.7%Only Gemini 3.8 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index624
General benchmarks for Gemini 3.1 Pro Preview and Gemini 3.8 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.8 FlashLeader
Vals IndexNot measured56.0%Only Gemini 3.8 Flash measured
LiveBench data analysisNot measured54.0%Only Gemini 3.8 Flash measured
Public Benefits Bench (Vals AI)53.8%65.3%Gemini 3.8 Flash
SAGE (Vals AI)48.7%35.1%Gemini 3.1 Pro Preview
MedScribe (Vals AI)76.1%84.5%Gemini 3.8 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%84.0%Gemini 3.8 Flash
DTBench97.1%95.7%Gemini 3.1 Pro Preview
LMCA53.8%52.9%Gemini 3.1 Pro Preview
CL-bench20.8%Not measuredOnly Gemini 3.1 Pro Preview measured
Surface Evolver BenchNot measured76.9%Only Gemini 3.8 Flash measured
Furniture assembly26.7%31.7%Gemini 3.8 Flash
ExploitBench26.1%Not measuredOnly Gemini 3.1 Pro Preview measured
CL-bench Life16.9%Not measuredOnly Gemini 3.1 Pro Preview measured
LMArena Text14801499Gemini 3.8 Flash
LMArena Text: instruction following14661492Gemini 3.8 Flash
LMArena Text: creative writing14821488Gemini 3.8 Flash
LMArena Vision12961315Gemini 3.8 Flash
LMArena Text: English14781498Gemini 3.8 Flash
LMArena Text: non-English14761491Gemini 3.8 Flash
LMArena Text: Chinese15271553Gemini 3.8 Flash
LMArena Text: German14901501Gemini 3.8 Flash
LMArena Text: Japanese14911507Gemini 3.8 Flash
LMArena Text: Korean14551464Gemini 3.8 Flash
LMArena Text: French14871496Gemini 3.8 Flash
LMArena Text: Spanish14811487Gemini 3.8 Flash
LMArena Text: Russian14971514Gemini 3.8 Flash
LMArena Text: Polish14981497Gemini 3.1 Pro Preview
LMArena Text: multi-turn14871503Gemini 3.8 Flash
LMArena Text: longer queries14821507Gemini 3.8 Flash
LMArena Text: writing and language14811494Gemini 3.8 Flash
LMArena Text: entertainment and media14651480Gemini 3.8 Flash
LMArena Vision: English12871318Gemini 3.8 Flash
LMArena Vision: Chinese13641416Gemini 3.8 Flash
LMArena Vision: reading text13041333Gemini 3.8 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 writing13241299Gemini 3.1 Pro Preview
LMArena Document1444Not measuredOnly Gemini 3.1 Pro Preview measured
Neither model has a result on the other 5 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.8 Flash
BenchmarkGemini 3.1 Pro PreviewGemini 3.8 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.8 Flash$0.0029Fits in one request

Gemini 3.8 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview$0.136Fits in one request
Gemini 3.8 Flash$0.054Fits in one request

Gemini 3.8 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview$0.520Fits in one request
Gemini 3.8 Flash$0.206Fits in one request

Gemini 3.8 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.8 Flash
SpecificationGoogle Gemini 3.1 Pro PreviewGoogle Gemini 3.8 Flash
MakerGoogleGoogle
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 19, 2026September 2, 2026
Context window1.05M1.05M
Input $/Mtok$2.00$0.825
Output $/Mtok$12.00$4.125
Coding index35.370.5
Independent measurements behind it12
Cost per solved task$0.99$2.74
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick Gemini 3.8 Flash for coding: it scores 70.5 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 $2.74, or when what matters is SciCode or GPQA Diamond, where it leads.

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

Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; Gemini 3.8 Flash costs $0.825 and $4.125. Per solved SWE-bench Verified task, Gemini 3.1 Pro Preview costs $0.99 and Gemini 3.8 Flash $2.74.

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

Neither: both take 1.05M tokens.

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

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

Compare next