Enter opens the highlighted result. Esc closes.

Gemini 3.5 Flash vs GPT-4.1

Gemini 3.5 Flash leads GPT-4.1 on the Artificial Analysis Intelligence Index, 33.6 to 12.7, at about the same output price ($9.00 vs $8.00 per million). Updated October 22, 2026; 72 benchmarks have a result for both.

Gemini 3.5 FlashGoogle
Coding
39.8
Overall
63.8
Output $/M
$9.00
71
GPT-4.1OpenAI
Coding
No data
Overall
36.5
Output $/M
$8.00
1
vs boards won of 72 shared

Gemini 3.5 Flash or GPT-4.1: which to pick

Only Gemini 3.5 Flash has a coding score, 39.8 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding.

Pick GPT-4.1 for output tokens 1.1x cheaper ($8.00 vs $9.00 per million) and a lower cost per solved task ($0.37 against $1.21).

Shared results
72
Gemini 3.5 Flash only
40
GPT-4.1 only
20
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.5 Flash 39.8 from 4 benchmarks, GPT-4.1 not benchmarked.
Widest category
Agentic work, 48.5 points apart on average over 1 shared benchmark.
Widest single gap
ARC-AGI: Gemini 3.5 Flash 92.5% against GPT-4.1 5.5%, 87.0 points apart on a 0 to 100 scale.
Output price
Gemini 3.5 Flash $9.00 against GPT-4.1 $8.00 per million output tokens, 1.1x apart.
Context window
Gemini 3.5 Flash takes 1.05M tokens, GPT-4.1 1.05M.

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.5 FlashBarsGPT-4.1Ties
Coding70
Intelligence20
Agentic work10
Reasoning140
Math40
Knowledge101
Web design60
General270
All shared boards711
CodingLike-for-likeSix of these boards feed the Vibe Coding Index70
Coding benchmarks for Gemini 3.5 Flash and GPT-4.1
BenchmarkGemini 3.5 FlashGPT-4.1Leader
Aider polyglotNot measured52.4%Only GPT-4.1 measured
SWE-bench VerifiedNot measured39.6%Only GPT-4.1 measured
SWE-bench MultimodalNot measured31.1%Only GPT-4.1 measured
LMArena WebDev1499Not measuredOnly Gemini 3.5 Flash measured
LiveCodeBench (Vals AI)87.6%54.7%Gemini 3.5 Flash
SWE-bench Verified (Vals AI)78.8%Not measuredOnly Gemini 3.5 Flash measured
Terminal-Bench 4 (Vals AI)6.1%Not measuredOnly Gemini 3.5 Flash measured
Vibe Code Bench (Vals AI)48.7%Not measuredOnly Gemini 3.5 Flash measured
Code migration (Vals AI)26.8%Not measuredOnly Gemini 3.5 Flash measured
ProgramBench (Vals AI)0.0%Not measuredOnly Gemini 3.5 Flash measured
Terminal-Bench 2.1 (Vals AI)74.2%Not measuredOnly Gemini 3.5 Flash measured
SkillsBench (Vals AI)52.7%Not measuredOnly Gemini 3.5 Flash measured
LiveCodeBench (Artificial Analysis run)Not measured45.7%Only GPT-4.1 measured
SciCode53.9%Not measuredOnly Gemini 3.5 Flash measured
Terminal-Bench Hard (Artificial Analysis run)46.2%13.6%Gemini 3.5 Flash
WeirdML62.6%39.0%Gemini 3.5 Flash
ALE-Bench911.0558.1Gemini 3.5 Flash
LMArena Text: coding14931390Gemini 3.5 Flash
LMArena Text: software and IT14941391Gemini 3.5 Flash
LMArena WebDev: React1495Not measuredOnly Gemini 3.5 Flash measured
LMArena WebDev: HTML1522Not measuredOnly Gemini 3.5 Flash measured
LMArena WebDev: from an image1504Not measuredOnly Gemini 3.5 Flash measured
SciCode12.3%4.6%Gemini 3.5 Flash
Neither model has a result on the other 16 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Gemini 3.5 Flash and GPT-4.1
BenchmarkGemini 3.5 FlashGPT-4.1Leader
AA Intelligence Index33.612.7Gemini 3.5 Flash
Epoch Capabilities Index154.9136.7Gemini 3.5 Flash
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Gemini 3.5 Flash and GPT-4.1
BenchmarkGemini 3.5 FlashGPT-4.1Leader
Design Arena: agents building web apps1202Not measuredOnly Gemini 3.5 Flash measured
Design Arena: agents building full-stack apps1197Not measuredOnly Gemini 3.5 Flash measured
Design Arena: agents building mobile apps1174Not measuredOnly Gemini 3.5 Flash measured
Design Arena: agents building Android apps1185Not measuredOnly Gemini 3.5 Flash measured
Design Arena: agents building Godot games1098Not measuredOnly Gemini 3.5 Flash measured
Design Arena: agents building games1180Not measuredOnly Gemini 3.5 Flash measured
Design Arena: HTML slides1093Not measuredOnly Gemini 3.5 Flash measured
Design Arena: PowerPoint slides1154Not measuredOnly Gemini 3.5 Flash measured
Finance Agent (Vals AI)57.9%Not measuredOnly Gemini 3.5 Flash measured
Tax Agent Bench (Vals AI)21.6%Not measuredOnly Gemini 3.5 Flash measured
Legal Research Bench (Vals AI)30.8%Not measuredOnly Gemini 3.5 Flash measured
Excel Modeling Benchmark (Vals AI)63.5%Not measuredOnly Gemini 3.5 Flash measured
Terminal-Bench-Science (Vals AI)5.7%Not measuredOnly Gemini 3.5 Flash measured
τ²-Bench Telecom95.6%47.1%Gemini 3.5 Flash
APEX-Agents27.5%Not measuredOnly Gemini 3.5 Flash measured
Vending-Bench 2$5,396Not measuredOnly Gemini 3.5 Flash measured
Berkeley Function Calling Leaderboard (BFCL)Not measured54.0%Only GPT-4.1 measured
BrowseComp-PlusNot measured36.4%Only GPT-4.1 measured
Neither model has a result on the other 23 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index140
Reasoning benchmarks for Gemini 3.5 Flash and GPT-4.1
BenchmarkGemini 3.5 FlashGPT-4.1Leader
GPQA Diamond92.7%65.4%Gemini 3.5 Flash
MMMU Pro (Vals AI)88.3%72.4%Gemini 3.5 Flash
GPQA Diamond (Artificial Analysis run)92.2%66.6%Gemini 3.5 Flash
Humanity's Last Exam (Artificial Analysis run)42.7%4.2%Gemini 3.5 Flash
GPQA Diamond (Epoch AI run)92.8%66.9%Gemini 3.5 Flash
ARC-AGI92.5%5.5%Gemini 3.5 Flash
ARC-AGI-272.1%0.4%Gemini 3.5 Flash
SimpleBench76.7%27.0%Gemini 3.5 Flash
Chess puzzles45.0%3.0%Gemini 3.5 Flash
Mystery game puzzles32.0%Not measuredOnly Gemini 3.5 Flash measured
EBR-bench4.8%Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: hard prompts14881384Gemini 3.5 Flash
LMArena Text: expert14951364Gemini 3.5 Flash
LMArena Text: hard prompts in English14831393Gemini 3.5 Flash
LMArena Vision: diagrams13231215Gemini 3.5 Flash
LMArena Vision: homework13301248Gemini 3.5 Flash
Kagi LLM BenchmarkNot measured52.3%Only GPT-4.1 measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index40
Math benchmarks for Gemini 3.5 Flash and GPT-4.1
BenchmarkGemini 3.5 FlashGPT-4.1Leader
AIMENot measured39.6%Only GPT-4.1 measured
MATH 500 (Vals AI)Not measured87.2%Only GPT-4.1 measured
MGSM (Vals AI)Not measured87.7%Only GPT-4.1 measured
AA Math IndexNot measured34.7Only GPT-4.1 measured
AIME 2025 (Artificial Analysis run)Not measured34.7%Only GPT-4.1 measured
OTIS Mock AIME95.6%38.3%Gemini 3.5 Flash
FrontierMath, tiers 1 to 362.8%6.0%Gemini 3.5 Flash
FrontierMath, tier 426.8%Not measuredOnly Gemini 3.5 Flash measured
ProofBench31.0%Not measuredOnly Gemini 3.5 Flash measured
MATH level 5Not measured83.0%Only GPT-4.1 measured
LMArena Text: math15041369Gemini 3.5 Flash
LMArena Text: mathematical work14951360Gemini 3.5 Flash
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index101
Knowledge benchmarks for Gemini 3.5 Flash and GPT-4.1
BenchmarkGemini 3.5 FlashGPT-4.1Leader
MMLU Pro89.5%80.5%Gemini 3.5 Flash
LegalBench (Vals AI)83.6%83.1%Gemini 3.5 Flash
CaseLaw (Vals AI)Not measured69.9%Only GPT-4.1 measured
CorpFin (Vals AI)64.7%63.0%Gemini 3.5 Flash
TaxEval (Vals AI)74.4%75.1%GPT-4.1
MortgageTax (Vals AI)68.1%65.9%Gemini 3.5 Flash
MedQA (Vals AI)Not measured91.2%Only GPT-4.1 measured
MedCode (Vals AI)55.8%Not measuredOnly Gemini 3.5 Flash measured
MMLU Pro (Artificial Analysis run)Not measured80.6%Only GPT-4.1 measured
SimpleQA Verified66.2%31.1%Gemini 3.5 Flash
GeoBenchNot measured72.0%Only GPT-4.1 measured
LMArena Text: science14951382Gemini 3.5 Flash
LMArena Text: medicine and healthcare14831379Gemini 3.5 Flash
LMArena Text: legal and government14881399Gemini 3.5 Flash
LMArena Text: business and finance14671369Gemini 3.5 Flash
FACTS Benchmark Suite63.1%45.8%Gemini 3.5 Flash
Neither model has a result on the other 2 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index60
Web design benchmarks for Gemini 3.5 Flash and GPT-4.1
BenchmarkGemini 3.5 FlashGPT-4.1Leader
Design Arena: websites12671038Gemini 3.5 Flash
Design Arena: UI components1269997Gemini 3.5 Flash
Design Arena: game dev12631079Gemini 3.5 Flash
Design Arena: data viz12361104Gemini 3.5 Flash
Design Arena: 3D1243849Gemini 3.5 Flash
Design Arena: all code categories12661025Gemini 3.5 Flash
Design Arena: SVG1253Not measuredOnly Gemini 3.5 Flash measured
Design Arena: ASCII art1254Not measuredOnly Gemini 3.5 Flash measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index270
General benchmarks for Gemini 3.5 Flash and GPT-4.1
BenchmarkGemini 3.5 FlashGPT-4.1Leader
Public Benefits Bench (Vals AI)59.5%Not measuredOnly Gemini 3.5 Flash measured
SAGE (Vals AI)49.9%Not measuredOnly Gemini 3.5 Flash measured
MedScribe (Vals AI)76.6%Not measuredOnly Gemini 3.5 Flash measured
Vals Multimodal Index62.9%Not measuredOnly Gemini 3.5 Flash measured
IFBench76.3%43.0%Gemini 3.5 Flash
Long context reasoning (AA-LCR)74.3%68.3%Gemini 3.5 Flash
DTBench94.7%68.3%Gemini 3.5 Flash
LMCA47.1%25.6%Gemini 3.5 Flash
Fiction.LiveBenchNot measured63.9%Only GPT-4.1 measured
Surface Evolver Bench58.1%Not measuredOnly Gemini 3.5 Flash measured
LMArena Text14821383Gemini 3.5 Flash
LMArena Text: instruction following14671367Gemini 3.5 Flash
LMArena Text: creative writing14701363Gemini 3.5 Flash
LMArena Vision13081210Gemini 3.5 Flash
LMArena Text: English14811392Gemini 3.5 Flash
LMArena Text: non-English14751370Gemini 3.5 Flash
LMArena Text: Chinese15271382Gemini 3.5 Flash
LMArena Text: German14941381Gemini 3.5 Flash
LMArena Text: Japanese14861319Gemini 3.5 Flash
LMArena Text: Korean14481338Gemini 3.5 Flash
LMArena Text: French14901382Gemini 3.5 Flash
LMArena Text: Spanish14801376Gemini 3.5 Flash
LMArena Text: Russian14931377Gemini 3.5 Flash
LMArena Text: Polish15161389Gemini 3.5 Flash
LMArena Text: multi-turn14811397Gemini 3.5 Flash
LMArena Text: longer queries14831385Gemini 3.5 Flash
LMArena Text: writing and language14781371Gemini 3.5 Flash
LMArena Text: entertainment and media14591365Gemini 3.5 Flash
LMArena Vision: English13051209Gemini 3.5 Flash
LMArena Vision: Chinese13771226Gemini 3.5 Flash
LMArena Vision: reading text13171218Gemini 3.5 Flash
LMArena Vision: humor13211196Gemini 3.5 Flash
LMArena Vision: captioningNot measured1207Only GPT-4.1 measured
LMArena Vision: recognizing thingsNot measured1208Only GPT-4.1 measured
LMArena Vision: creative writing13011210Gemini 3.5 Flash
LMArena Document1463Not measuredOnly Gemini 3.5 Flash measured
Neither model has a result on the other 10 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 3.5 Flash and GPT-4.1
BenchmarkGemini 3.5 FlashGPT-4.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.5 Flash$0.0060Fits in one request
GPT-4.1$0.0060Fits in one request

Same cost

Repository review

50K input + 3K output tokens

Gemini 3.5 Flash$0.102Fits in one request
GPT-4.1$0.124Fits in one request

Gemini 3.5 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 3.5 Flash$0.390Fits in one request
GPT-4.1$0.480Fits 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.5 Flash and GPT-4.1
SpecificationGoogle Gemini 3.5 FlashOpenAI GPT-4.1
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedMay 19, 2026April 14, 2025
Context window1.05M1.05M
Input $/Mtok$1.50$2.00
Output $/Mtok$9.00$8.00
Coding index39.8Not benchmarked
Independent measurements behind it40
Cost per solved task$1.21$0.37
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.5 Flash better than GPT-4.1 for coding?

Only Gemini 3.5 Flash has a coding score, 39.8 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding. Pick GPT-4.1 for output tokens 1.1x cheaper ($8.00 vs $9.00 per million) and a lower cost per solved task ($0.37 against $1.21).

Which is cheaper, Gemini 3.5 Flash or GPT-4.1?

Gemini 3.5 Flash costs $1.50 per million input tokens and $9.00 per million output tokens; GPT-4.1 costs $2.00 and $8.00. Per solved SWE-bench Verified task, Gemini 3.5 Flash costs $1.21 and GPT-4.1 $0.37.

Which has the bigger context window, Gemini 3.5 Flash or GPT-4.1?

Gemini 3.5 Flash, with 1.05M tokens against 1.05M.

How many benchmarks is the Gemini 3.5 Flash vs GPT-4.1 comparison based on?

72 benchmarks have a result for both models as of October 22, 2026. Gemini 3.5 Flash's coding index rests on 4 independent benchmarks and GPT-4.1's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next