Enter opens the highlighted result. Esc closes.

Gemini 3.7 Flash vs GPT-4.1

Gemini 3.7 Flash leads GPT-4.1 on the Artificial Analysis Intelligence Index, 39.6 to 12.7, and Gemini 3.7 Flash costs 2.1x less per output token ($3.75 vs $8.00 per million). Updated October 21, 2026; 66 benchmarks have a result for both.

Gemini 3.7 FlashGoogle
Coding
58.0
Overall
65.7
Output $/M
$3.75
65
GPT-4.1OpenAI
Coding
No data
Overall
36.5
Output $/M
$8.00
1
vs boards won of 66 shared

Gemini 3.7 Flash or GPT-4.1: which to pick

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

Pick GPT-4.1 for a lower cost per solved task ($0.37 against $1.78) and work measured by TaxEval (Vals AI), where it leads.

Shared results
66
Gemini 3.7 Flash only
48
GPT-4.1 only
26
Like-for-like categories
7 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.7 Flash 58.0 from 6 benchmarks, GPT-4.1 not benchmarked.
Widest category
Math, 43.0 points apart on average over 4 shared benchmarks.
Widest single gap
ARC-AGI: Gemini 3.7 Flash 95.5% against GPT-4.1 5.5%, 90.0 points apart on a 0 to 100 scale.
Output price
Gemini 3.7 Flash $3.75 against GPT-4.1 $8.00 per million output tokens, 2.1x apart.
Context window
Gemini 3.7 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.7 FlashBarsGPT-4.1Ties
Coding50
Intelligence20
Reasoning130
Math40
Knowledge91
Web design60
General260
All shared boards651
CodingLike-for-likeSix of these boards feed the Vibe Coding Index50
Coding benchmarks for Gemini 3.7 Flash and GPT-4.1
BenchmarkGemini 3.7 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
LiveBench coding80.5%Not measuredOnly Gemini 3.7 Flash measured
LMArena WebDev1591Not measuredOnly Gemini 3.7 Flash measured
AA Coding Index71.5Not measuredOnly Gemini 3.7 Flash measured
LiveCodeBench (Vals AI)88.7%54.7%Gemini 3.7 Flash
SWE-bench Verified (Vals AI)80.8%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench 4 (Vals AI)12.1%Not measuredOnly Gemini 3.7 Flash measured
Vibe Code Bench (Vals AI)70.4%Not measuredOnly Gemini 3.7 Flash measured
Code migration (Vals AI)34.8%Not measuredOnly Gemini 3.7 Flash measured
ProgramBench (Vals AI)0.0%Not measuredOnly Gemini 3.7 Flash measured
IOI (Vals AI)67.8%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench 2.1 (Vals AI)77.5%Not measuredOnly Gemini 3.7 Flash measured
SkillsBench (Vals AI)65.9%Not measuredOnly Gemini 3.7 Flash measured
CyberBench (Vals AI)43.8%Not measuredOnly Gemini 3.7 Flash measured
LiveCodeBench (Artificial Analysis run)Not measured45.7%Only GPT-4.1 measured
SciCode59.8%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench Hard (Artificial Analysis run)Not measured13.6%Only GPT-4.1 measured
FrontierCode43.6%Not measuredOnly Gemini 3.7 Flash measured
FrontierSWE20.3%Not measuredOnly Gemini 3.7 Flash measured
WeirdMLNot measured39.0%Only GPT-4.1 measured
ALE-Bench904.3558.1Gemini 3.7 Flash
LMArena Text: coding14991390Gemini 3.7 Flash
LMArena Text: software and IT14981391Gemini 3.7 Flash
LMArena WebDev: React1587Not measuredOnly Gemini 3.7 Flash measured
LMArena WebDev: HTML1593Not measuredOnly Gemini 3.7 Flash measured
LMArena WebDev: from an image1599Not measuredOnly Gemini 3.7 Flash measured
SciCode13.8%4.6%Gemini 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 index20
Intelligence benchmarks for Gemini 3.7 Flash and GPT-4.1
BenchmarkGemini 3.7 FlashGPT-4.1Leader
AA Intelligence Index39.612.7Gemini 3.7 Flash
Epoch Capabilities Index158.0136.7Gemini 3.7 Flash
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index21 boards, none shared
Agentic work benchmarks for Gemini 3.7 Flash and GPT-4.1
BenchmarkGemini 3.7 FlashGPT-4.1Leader
Design Arena: agents building web apps1223Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building full-stack apps1208Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building mobile apps1230Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building Android apps1242Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building Godot games1264Not measuredOnly Gemini 3.7 Flash measured
Design Arena: agents building games1235Not measuredOnly Gemini 3.7 Flash measured
Design Arena: spreadsheets1053Not measuredOnly Gemini 3.7 Flash measured
LiveBench research76.5%Not measuredOnly Gemini 3.7 Flash measured
LiveBench browser56.0%Not measuredOnly Gemini 3.7 Flash measured
LiveBench long agentic28.3%Not measuredOnly Gemini 3.7 Flash measured
SREBench (Vals AI)4.6%Not measuredOnly Gemini 3.7 Flash measured
Finance Agent (Vals AI)59.0%Not measuredOnly Gemini 3.7 Flash measured
Tax Agent Bench (Vals AI)22.8%Not measuredOnly Gemini 3.7 Flash measured
Legal Research Bench (Vals AI)34.6%Not measuredOnly Gemini 3.7 Flash measured
Excel Modeling Benchmark (Vals AI)71.3%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench-Science (Vals AI)7.1%Not measuredOnly Gemini 3.7 Flash measured
τ²-Bench TelecomNot measured47.1%Only GPT-4.1 measured
APEX-Agents67.8%Not measuredOnly Gemini 3.7 Flash measured
Remote Labor Index5.0%Not measuredOnly Gemini 3.7 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 20 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index130
Reasoning benchmarks for Gemini 3.7 Flash and GPT-4.1
BenchmarkGemini 3.7 FlashGPT-4.1Leader
GPQA Diamond93.9%65.4%Gemini 3.7 Flash
LiveBench reasoning87.8%Not measuredOnly Gemini 3.7 Flash measured
MMMU Pro (Vals AI)89.0%72.4%Gemini 3.7 Flash
GPQA Diamond (Artificial Analysis run)94.5%66.6%Gemini 3.7 Flash
Humanity's Last Exam (Artificial Analysis run)47.9%4.2%Gemini 3.7 Flash
GPQA Diamond (Epoch AI run)94.8%66.9%Gemini 3.7 Flash
ARC-AGI95.5%5.5%Gemini 3.7 Flash
ARC-AGI-284.6%0.4%Gemini 3.7 Flash
SimpleBenchNot measured27.0%Only GPT-4.1 measured
Chess puzzles66.0%3.0%Gemini 3.7 Flash
Mystery game puzzles37.0%Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: hard prompts14951384Gemini 3.7 Flash
LMArena Text: expert15121364Gemini 3.7 Flash
LMArena Text: hard prompts in English14871393Gemini 3.7 Flash
LMArena Vision: diagrams13291215Gemini 3.7 Flash
LMArena Vision: homework13201248Gemini 3.7 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.7 Flash and GPT-4.1
BenchmarkGemini 3.7 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 AIME97.2%38.3%Gemini 3.7 Flash
FrontierMath, tiers 1 to 371.6%6.0%Gemini 3.7 Flash
FrontierMath, tier 436.6%Not measuredOnly Gemini 3.7 Flash measured
ProofBench58.0%Not measuredOnly Gemini 3.7 Flash measured
MATH level 5Not measured83.0%Only GPT-4.1 measured
LMArena Text: math15111369Gemini 3.7 Flash
LMArena Text: mathematical work15021360Gemini 3.7 Flash
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index91
Knowledge benchmarks for Gemini 3.7 Flash and GPT-4.1
BenchmarkGemini 3.7 FlashGPT-4.1Leader
MMLU Pro90.1%80.5%Gemini 3.7 Flash
LegalBench (Vals AI)87.3%83.1%Gemini 3.7 Flash
CaseLaw (Vals AI)Not measured69.9%Only GPT-4.1 measured
CorpFin (Vals AI)Not measured63.0%Only GPT-4.1 measured
TaxEval (Vals AI)74.7%75.1%GPT-4.1
MortgageTax (Vals AI)66.7%65.9%Gemini 3.7 Flash
MedQA (Vals AI)Not measured91.2%Only GPT-4.1 measured
MedCode (Vals AI)53.4%Not measuredOnly Gemini 3.7 Flash measured
MMLU Pro (Artificial Analysis run)Not measured80.6%Only GPT-4.1 measured
SimpleQA Verified69.2%31.1%Gemini 3.7 Flash
GeoBenchNot measured72.0%Only GPT-4.1 measured
LMArena Text: science15111382Gemini 3.7 Flash
LMArena Text: medicine and healthcare14941379Gemini 3.7 Flash
LMArena Text: legal and government14961399Gemini 3.7 Flash
LMArena Text: business and finance14791369Gemini 3.7 Flash
FACTS Benchmark Suite71.2%45.8%Gemini 3.7 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.7 Flash and GPT-4.1
BenchmarkGemini 3.7 FlashGPT-4.1Leader
Design Arena: websites13041039Gemini 3.7 Flash
Design Arena: UI components12991000Gemini 3.7 Flash
Design Arena: game dev13181080Gemini 3.7 Flash
Design Arena: data viz13151104Gemini 3.7 Flash
Design Arena: 3D1308850Gemini 3.7 Flash
Design Arena: all code categories13081026Gemini 3.7 Flash
Design Arena: SVG1283Not measuredOnly Gemini 3.7 Flash measured
Design Arena: ASCII art1276Not measuredOnly Gemini 3.7 Flash measured
LiveBench design73.2%Not measuredOnly Gemini 3.7 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index260
General benchmarks for Gemini 3.7 Flash and GPT-4.1
BenchmarkGemini 3.7 FlashGPT-4.1Leader
LiveBench data analysis68.0%Not measuredOnly Gemini 3.7 Flash measured
SAGE (Vals AI)49.2%Not measuredOnly Gemini 3.7 Flash measured
MedScribe (Vals AI)83.9%Not measuredOnly Gemini 3.7 Flash measured
IFBenchNot measured43.0%Only GPT-4.1 measured
Long context reasoning (AA-LCR)83.0%68.3%Gemini 3.7 Flash
DTBench96.8%68.3%Gemini 3.7 Flash
LMCA50.4%25.6%Gemini 3.7 Flash
Fiction.LiveBenchNot measured63.9%Only GPT-4.1 measured
Furniture assembly26.7%Not measuredOnly Gemini 3.7 Flash measured
LMArena Text14891383Gemini 3.7 Flash
LMArena Text: instruction following14841367Gemini 3.7 Flash
LMArena Text: creative writing14881363Gemini 3.7 Flash
LMArena Vision13141210Gemini 3.7 Flash
LMArena Text: English14831392Gemini 3.7 Flash
LMArena Text: non-English14871370Gemini 3.7 Flash
LMArena Text: Chinese15521382Gemini 3.7 Flash
LMArena Text: German15061381Gemini 3.7 Flash
LMArena Text: Japanese15111319Gemini 3.7 Flash
LMArena Text: Korean14811338Gemini 3.7 Flash
LMArena Text: French15001382Gemini 3.7 Flash
LMArena Text: Spanish14951376Gemini 3.7 Flash
LMArena Text: Russian15151377Gemini 3.7 Flash
LMArena Text: Polish15031389Gemini 3.7 Flash
LMArena Text: multi-turn14851397Gemini 3.7 Flash
LMArena Text: longer queries14921385Gemini 3.7 Flash
LMArena Text: writing and language14911371Gemini 3.7 Flash
LMArena Text: entertainment and media14771365Gemini 3.7 Flash
LMArena Vision: English13091209Gemini 3.7 Flash
LMArena Vision: Chinese13941226Gemini 3.7 Flash
LMArena Vision: reading text13221218Gemini 3.7 Flash
LMArena Vision: humor12991196Gemini 3.7 Flash
LMArena Vision: captioningNot measured1207Only GPT-4.1 measured
LMArena Vision: recognizing thingsNot measured1208Only GPT-4.1 measured
LMArena Vision: creative writing13121210Gemini 3.7 Flash
Neither model has a result on the other 12 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 3.7 Flash and GPT-4.1
BenchmarkGemini 3.7 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.7 Flash$0.0026Fits in one request
GPT-4.1$0.0060Fits in one request

Gemini 3.7 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 3.7 Flash$0.049Fits in one request
GPT-4.1$0.124Fits in one request

Gemini 3.7 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 3.7 Flash$0.188Fits in one request
GPT-4.1$0.480Fits 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.7 Flash and GPT-4.1
SpecificationGoogle Gemini 3.7 FlashOpenAI GPT-4.1
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedAugust 13, 2026April 14, 2025
Context window1.05M1.05M
Input $/Mtok$0.75$2.00
Output $/Mtok$3.75$8.00
Coding index58.0Not benchmarked
Independent measurements behind it60
Cost per solved task$1.78$0.37
SourceOpenRouter listingOpenRouter listing

Questions

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

Only Gemini 3.7 Flash has a coding score, 58.0 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding. Pick GPT-4.1 for a lower cost per solved task ($0.37 against $1.78) and work measured by TaxEval (Vals AI), where it leads.

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

Gemini 3.7 Flash costs $0.75 per million input tokens and $3.75 per million output tokens; GPT-4.1 costs $2.00 and $8.00. Per solved SWE-bench Verified task, Gemini 3.7 Flash costs $1.78 and GPT-4.1 $0.37.

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

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

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

66 benchmarks have a result for both models as of October 21, 2026. Gemini 3.7 Flash's coding index rests on 6 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