Enter opens the highlighted result. Esc closes.

Gemini 3.8 Flash vs GPT-5.1

Gemini 3.8 Flash leads GPT-5.1 on coding, 56.3 to 53.2 on the Vibe Coding Index, and Gemini 3.8 Flash costs 2.7x less per output token ($3.75 vs $10.00 per million). Updated December 6, 2026; 79 benchmarks have a result for both.

Gemini 3.8 FlashGoogle
Coding
56.3
Overall
63.6
Output $/M
$3.75
76
GPT-5.1OpenAI
Coding
53.2
Overall
62.9
Output $/M
$10.00
3
vs boards won of 79 shared

Gemini 3.8 Flash or GPT-5.1: which to pick

Pick Gemini 3.8 Flash for coding: it scores 56.3 on the Vibe Coding Index against 53.2 for GPT-5.1.

Pick GPT-5.1 for a lower cost per solved task ($1.02 against $2.74) and work measured by TaxEval (Vals AI) or MedCode (Vals AI), where it leads.

Shared results
79
Gemini 3.8 Flash only
68
GPT-5.1 only
24
Like-for-like categories
8 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

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.8 Flash 56.3 from 6 benchmarks, GPT-5.1 53.2 from 2 benchmarks.
Widest category
Agentic work, 22.6 points apart on average over 1 shared benchmark.
Widest single gap
ARC-AGI-2: Gemini 3.8 Flash 89.2% against GPT-5.1 17.6%, 71.5 points apart on a 0 to 100 scale.
Output price
Gemini 3.8 Flash $3.75 against GPT-5.1 $10.00 per million output tokens, 2.7x apart.
Context window
Gemini 3.8 Flash takes 1.05M tokens, GPT-5.1 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.8 FlashBarsGPT-5.1Ties
Coding90
Intelligence10
Agentic work10
Reasoning150
Math40
Knowledge102
Web design80
General281
All shared boards763
CodingLike-for-likeSix of these boards feed the Vibe Coding Index90
Coding benchmarks for Gemini 3.8 Flash and GPT-5.1
BenchmarkGemini 3.8 FlashGPT-5.1Leader
SWE-bench VerifiedNot measured66.0%Only GPT-5.1 measured
LiveBench coding73.3%Not measuredOnly Gemini 3.8 Flash measured
LMArena WebDev15841397Gemini 3.8 Flash
LiveCodeBench (Vals AI)89.5%86.5%Gemini 3.8 Flash
SWE-bench Verified (Vals AI)80.0%69.8%Gemini 3.8 Flash
Terminal-Bench 4 (Vals AI)19.7%Not measuredOnly Gemini 3.8 Flash measured
Vibe Code Bench (Vals AI)58.9%Not measuredOnly Gemini 3.8 Flash measured
Code migration (Vals AI)36.5%Not measuredOnly Gemini 3.8 Flash measured
ProgramBench (Vals AI)1.0%Not measuredOnly Gemini 3.8 Flash measured
IOI (Vals AI)56.9%Not measuredOnly Gemini 3.8 Flash measured
Terminal-Bench 2.1 (Vals AI)81.3%Not measuredOnly Gemini 3.8 Flash measured
SWE-bench Multimodal (Vals AI)40.8%Not measuredOnly Gemini 3.8 Flash measured
Vibe Code Bench 1-100 (Vals AI)18.8%Not measuredOnly Gemini 3.8 Flash measured
SkillsBench (Vals AI)58.0%Not measuredOnly Gemini 3.8 Flash measured
CyberBench (Vals AI)43.8%Not measuredOnly Gemini 3.8 Flash measured
LiveCodeBench (Artificial Analysis run)Not measured86.8%Only GPT-5.1 measured
SciCode56.6%Not measuredOnly Gemini 3.8 Flash measured
Terminal-Bench Hard (Artificial Analysis run)Not measured45.5%Only GPT-5.1 measured
Terminal-Bench 4.0 (Artificial Analysis run)19.7%Not measuredOnly Gemini 3.8 Flash measured
FrontierCode 2.018.7%Not measuredOnly Gemini 3.8 Flash measured
Terminal-BenchNot measured47.6%Only GPT-5.1 measured
FrontierCode41.2%Not measuredOnly Gemini 3.8 Flash measured
FrontierSWE19.6%Not measuredOnly Gemini 3.8 Flash measured
GSO-BenchNot measured13.7%Only GPT-5.1 measured
WeirdML84.8%60.8%Gemini 3.8 Flash
MirrorCode38.9%Not measuredOnly Gemini 3.8 Flash measured
ALE-Bench1269.7Not measuredOnly Gemini 3.8 Flash measured
LMArena Text: coding15091453Gemini 3.8 Flash
LMArena Text: software and IT15091454Gemini 3.8 Flash
LMArena WebDev: React15761306Gemini 3.8 Flash
LMArena WebDev: HTML16091406Gemini 3.8 Flash
LMArena WebDev: from an image15911419Gemini 3.8 Flash
SciCode12.3%Not measuredOnly Gemini 3.8 Flash measured
SWE-Bench Pro V294.9%Not measuredOnly Gemini 3.8 Flash measured
SWE Atlas: Codebase QnA47.0%Not measuredOnly Gemini 3.8 Flash measured
SWE Atlas: Refactoring44.8%Not measuredOnly Gemini 3.8 Flash measured
SWE Atlas: Test Writing53.7%Not measuredOnly Gemini 3.8 Flash measured
GameBench 264.0Not measuredOnly Gemini 3.8 Flash measured
Terminal-Bench 2.0Not measured47.6%Only GPT-5.1 measured
Terminal-Bench 4.019.1%Not measuredOnly Gemini 3.8 Flash 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.8 Flash and GPT-5.1
BenchmarkGemini 3.8 FlashGPT-5.1Leader
AA Intelligence Index31.0Not measuredOnly Gemini 3.8 Flash measured
Epoch Capabilities Index158.6150.9Gemini 3.8 Flash
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Gemini 3.8 Flash and GPT-5.1
BenchmarkGemini 3.8 FlashGPT-5.1Leader
Design Arena: agents building web apps1202Not measuredOnly Gemini 3.8 Flash measured
Design Arena: agents building full-stack apps1284Not measuredOnly Gemini 3.8 Flash measured
Design Arena: agents building mobile apps1222Not measuredOnly Gemini 3.8 Flash measured
Design Arena: agents building Android apps1084Not measuredOnly Gemini 3.8 Flash measured
Design Arena: agents building Godot games1236Not measuredOnly Gemini 3.8 Flash measured
Design Arena: PowerPoint slides1145Not measuredOnly Gemini 3.8 Flash measured
Design Arena: spreadsheets1070Not measuredOnly Gemini 3.8 Flash measured
LiveBench research79.4%Not measuredOnly Gemini 3.8 Flash measured
LiveBench browser45.1%Not measuredOnly Gemini 3.8 Flash measured
LiveBench long agentic16.5%Not measuredOnly Gemini 3.8 Flash measured
SREBench (Vals AI)11.1%Not measuredOnly Gemini 3.8 Flash measured
Finance Agent (Vals AI)61.4%Not measuredOnly Gemini 3.8 Flash measured
Tax Agent Bench (Vals AI)32.1%Not measuredOnly Gemini 3.8 Flash measured
Legal Research Bench (Vals AI)38.9%Not measuredOnly Gemini 3.8 Flash measured
Harvey's Legal Agent Benchmark (Vals AI)12.1%Not measuredOnly Gemini 3.8 Flash measured
Excel Modeling Benchmark (Vals AI)72.2%Not measuredOnly Gemini 3.8 Flash measured
BioMysteryBench (Vals AI)62.2%Not measuredOnly Gemini 3.8 Flash measured
Terminal-Bench-Science (Vals AI)8.6%Not measuredOnly Gemini 3.8 Flash measured
Vals Science Index35.8%Not measuredOnly Gemini 3.8 Flash measured
Time Horizon Index (Vals AI)18.8%Not measuredOnly Gemini 3.8 Flash measured
CUA-bench (Vals AI)4.2%Not measuredOnly Gemini 3.8 Flash measured
τ²-Bench TelecomNot measured81.9%Only GPT-5.1 measured
APEX-Agents64.3%Not measuredOnly Gemini 3.8 Flash measured
Remote Labor Index5.8%Not measuredOnly Gemini 3.8 Flash measured
DeepResearch BenchNot measured42.8%Only GPT-5.1 measured
Vending-Bench 2$5,094$1,473Gemini 3.8 Flash
LMArena SearchNot measured1199Only GPT-5.1 measured
MCP AtlasNot measured50.1%Only GPT-5.1 measured
Neither model has a result on the other 16 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index150
Reasoning benchmarks for Gemini 3.8 Flash and GPT-5.1
BenchmarkGemini 3.8 FlashGPT-5.1Leader
GPQA Diamond94.4%86.6%Gemini 3.8 Flash
LiveBench reasoning89.3%Not measuredOnly Gemini 3.8 Flash measured
MysteryMechanism (Vals AI)36.5%Not measuredOnly Gemini 3.8 Flash measured
MMMU Pro (Vals AI)89.1%83.2%Gemini 3.8 Flash
GPQA Diamond (Artificial Analysis run)95.3%87.3%Gemini 3.8 Flash
Humanity's Last Exam (Artificial Analysis run)47.8%28.5%Gemini 3.8 Flash
HLE-Diamond (Artificial Analysis run)33.1%Not measuredOnly Gemini 3.8 Flash measured
CritPt v2, hard subset (Artificial Analysis run)46.5%Not measuredOnly Gemini 3.8 Flash measured
GPQA Diamond (Epoch AI run)95.4%87.6%Gemini 3.8 Flash
ARC-AGI98.5%72.8%Gemini 3.8 Flash
ARC-AGI-289.2%17.6%Gemini 3.8 Flash
SimpleBench82.4%53.2%Gemini 3.8 Flash
Chess puzzles58.0%42.0%Gemini 3.8 Flash
Mystery game puzzles47.0%19.0%Gemini 3.8 Flash
VPCTNot measured58.7%Only GPT-5.1 measured
LMArena Text: hard prompts15101457Gemini 3.8 Flash
LMArena Text: expert15271469Gemini 3.8 Flash
LMArena Text: hard prompts in English15061462Gemini 3.8 Flash
LMArena Vision: diagrams13481264Gemini 3.8 Flash
LMArena Vision: homework13511274Gemini 3.8 Flash
Humanity's Last Exam (Scale run)34.2%Not measuredOnly Gemini 3.8 Flash measured
GoBench1614Not measuredOnly Gemini 3.8 Flash measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index40
Math benchmarks for Gemini 3.8 Flash and GPT-5.1
BenchmarkGemini 3.8 FlashGPT-5.1Leader
AIMENot measured93.3%Only GPT-5.1 measured
MGSM (Vals AI)Not measured93.0%Only GPT-5.1 measured
AIME 2025 (Artificial Analysis run)Not measured94.0%Only GPT-5.1 measured
OTIS Mock AIME98.9%88.6%Gemini 3.8 Flash
FrontierMath, tiers 1 to 368.4%Not measuredOnly Gemini 3.8 Flash measured
FrontierMath, tier 422.0%Not measuredOnly Gemini 3.8 Flash measured
ProofBench48.0%Not measuredOnly Gemini 3.8 Flash measured
LMArena Text: math15251447Gemini 3.8 Flash
LMArena Text: mathematical work15181450Gemini 3.8 Flash
MathArena30.9%16.0%Gemini 3.8 Flash
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index102
Knowledge benchmarks for Gemini 3.8 Flash and GPT-5.1
BenchmarkGemini 3.8 FlashGPT-5.1Leader
MMLU Pro90.2%86.4%Gemini 3.8 Flash
LegalBench (Vals AI)87.0%85.7%Gemini 3.8 Flash
CaseLaw (Vals AI)Not measured73.4%Only GPT-5.1 measured
CorpFin (Vals AI)Not measured63.8%Only GPT-5.1 measured
TaxEval (Vals AI)74.5%74.9%GPT-5.1
MortgageTax (Vals AI)65.3%61.4%Gemini 3.8 Flash
MedQA (Vals AI)Not measured96.4%Only GPT-5.1 measured
MedCode (Vals AI)48.1%52.7%GPT-5.1
MMLU Pro (Artificial Analysis run)Not measured87.0%Only GPT-5.1 measured
AA-Omniscience23.7Not measuredOnly Gemini 3.8 Flash measured
SimpleQA Verified69.7%48.0%Gemini 3.8 Flash
GeoBench86.0%Not measuredOnly Gemini 3.8 Flash measured
LMArena Text: science15221459Gemini 3.8 Flash
LMArena Text: medicine and healthcare15051456Gemini 3.8 Flash
LMArena Text: legal and government15031459Gemini 3.8 Flash
LMArena Text: business and finance14831431Gemini 3.8 Flash
FACTS Benchmark Suite71.2%Not measuredOnly Gemini 3.8 Flash measured
PRBench Finance49.6%48.0%Gemini 3.8 Flash
PRBench Legal49.6%48.0%Gemini 3.8 Flash
Neither model has a result on the other 2 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index80
Web design benchmarks for Gemini 3.8 Flash and GPT-5.1
BenchmarkGemini 3.8 FlashGPT-5.1Leader
Design Arena: websites13391227Gemini 3.8 Flash
Design Arena: UI components12921146Gemini 3.8 Flash
Design Arena: game dev12761149Gemini 3.8 Flash
Design Arena: data viz12661198Gemini 3.8 Flash
Design Arena: 3D1255986Gemini 3.8 Flash
Design Arena: all code categories13451210Gemini 3.8 Flash
Design Arena: SVG13381190Gemini 3.8 Flash
Design Arena: ASCII art12551096Gemini 3.8 Flash
LiveBench design69.7%Not measuredOnly Gemini 3.8 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index281
General benchmarks for Gemini 3.8 Flash and GPT-5.1
BenchmarkGemini 3.8 FlashGPT-5.1Leader
Vals Index53.5%Not measuredOnly Gemini 3.8 Flash measured
LiveBench data analysis54.0%Not measuredOnly Gemini 3.8 Flash measured
Public Benefits Bench (Vals AI)65.3%Not measuredOnly Gemini 3.8 Flash measured
SAGE (Vals AI)88.2%Not measuredOnly Gemini 3.8 Flash measured
MedScribe (Vals AI)84.5%88.1%GPT-5.1
IFBenchNot measured72.9%Only GPT-5.1 measured
Long context reasoning (AA-LCR)84.0%80.0%Gemini 3.8 Flash
GDPval-AA1446837Gemini 3.8 Flash
DTBench95.7%90.1%Gemini 3.8 Flash
LMCA52.9%43.9%Gemini 3.8 Flash
CL-benchNot measured23.7%Only GPT-5.1 measured
Surface Evolver Bench76.9%Not measuredOnly Gemini 3.8 Flash measured
Furniture assembly31.7%Not measuredOnly Gemini 3.8 Flash measured
CL-bench LifeNot measured17.3%Only GPT-5.1 measured
LMArena Text15011442Gemini 3.8 Flash
LMArena Text: instruction following14951442Gemini 3.8 Flash
LMArena Text: creative writing14951427Gemini 3.8 Flash
LMArena Vision13161249Gemini 3.8 Flash
LMArena Text: English14991451Gemini 3.8 Flash
LMArena Text: non-English14941431Gemini 3.8 Flash
LMArena Text: Chinese15631495Gemini 3.8 Flash
LMArena Text: German15061438Gemini 3.8 Flash
LMArena Text: Japanese15241455Gemini 3.8 Flash
LMArena Text: Korean14751400Gemini 3.8 Flash
LMArena Text: French14991450Gemini 3.8 Flash
LMArena Text: Spanish14871432Gemini 3.8 Flash
LMArena Text: Russian15161435Gemini 3.8 Flash
LMArena Text: Polish15121440Gemini 3.8 Flash
LMArena Text: multi-turn15011450Gemini 3.8 Flash
LMArena Text: longer queries15091447Gemini 3.8 Flash
LMArena Text: writing and language14961428Gemini 3.8 Flash
LMArena Text: entertainment and media14831414Gemini 3.8 Flash
LMArena Vision: English13161251Gemini 3.8 Flash
LMArena Vision: Chinese13951271Gemini 3.8 Flash
LMArena Vision: reading text13301254Gemini 3.8 Flash
LMArena Vision: humor13021264Gemini 3.8 Flash
LMArena Vision: captioningNot measured1252Only GPT-5.1 measured
LMArena Vision: recognizing thingsNot measured1232Only GPT-5.1 measured
LMArena Vision: creative writing13121267Gemini 3.8 Flash
LMArena Document14841403Gemini 3.8 Flash
MultiChallengeNot measured63.4%Only GPT-5.1 measured
Neither model has a result on the other 8 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 3.8 Flash and GPT-5.1
BenchmarkGemini 3.8 FlashGPT-5.1Leader
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.8 Flash$0.0026Fits in one request
GPT-5.1$0.0063Fits in one request

Gemini 3.8 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 3.8 Flash$0.049Fits in one request
GPT-5.1$0.092Fits in one request

Gemini 3.8 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 3.8 Flash$0.188Fits in one request
GPT-5.1$0.350Fits 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.8 Flash and GPT-5.1
SpecificationGoogle Gemini 3.8 FlashOpenAI GPT-5.1
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedSeptember 2, 2026November 13, 2025
Context window1.05M400K
Input $/Mtok$0.75$1.25
Output $/Mtok$3.75$10.00
Coding index56.353.2
Independent measurements behind it62
Cost per solved task$2.74$1.02
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.8 Flash better than GPT-5.1 for coding?

Pick Gemini 3.8 Flash for coding: it scores 56.3 on the Vibe Coding Index against 53.2 for GPT-5.1. Pick GPT-5.1 for a lower cost per solved task ($1.02 against $2.74) and work measured by TaxEval (Vals AI) or MedCode (Vals AI), where it leads.

Which is cheaper, Gemini 3.8 Flash or GPT-5.1?

Gemini 3.8 Flash costs $0.75 per million input tokens and $3.75 per million output tokens; GPT-5.1 costs $1.25 and $10.00. Per solved SWE-bench Verified task, Gemini 3.8 Flash costs $2.74 and GPT-5.1 $1.02.

Which has the bigger context window, Gemini 3.8 Flash or GPT-5.1?

Gemini 3.8 Flash, with 1.05M tokens against 400K.

How many benchmarks is the Gemini 3.8 Flash vs GPT-5.1 comparison based on?

79 benchmarks have a result for both models as of December 6, 2026. Gemini 3.8 Flash's coding index rests on 6 independent benchmarks and GPT-5.1'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/gemini-3-8-flash-vs-gpt-5-1" title="Gemini 3.8 Flash vs GPT-5.1, 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/gemini-3-8-flash-vs-gpt-5-1">LLMBenchmark.ai, Gemini 3.8 Flash vs GPT-5.1</a></p>