Enter opens the highlighted result. Esc closes.

Gemini 3.7 Flash vs GPT-4.1 Mini

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

Gemini 3.7 FlashGoogle
Coding
58.0
Overall
65.7
Output $/M
$3.75
65
GPT-4.1 MiniOpenAI
Coding
No data
Overall
31.9
Output $/M
$1.60
0
vs boards won of 65 shared

Gemini 3.7 Flash or GPT-4.1 Mini: which to pick

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

Pick GPT-4.1 Mini for output tokens 2.3x cheaper ($1.60 vs $3.75 per million).

Shared results
65
Gemini 3.7 Flash only
49
GPT-4.1 Mini only
21
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 Mini not benchmarked.
Widest category
Math, 42.8 points apart on average over 4 shared benchmarks.
Widest single gap
ARC-AGI: Gemini 3.7 Flash 95.5% against GPT-4.1 Mini 3.5%, 92.0 points apart on a 0 to 100 scale.
Output price
Gemini 3.7 Flash $3.75 against GPT-4.1 Mini $1.60 per million output tokens, 2.3x apart.
Context window
Gemini 3.7 Flash takes 1.05M tokens, GPT-4.1 Mini 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.1 MiniTies
Coding40
Intelligence20
Reasoning140
Math40
Knowledge90
Web design60
General260
All shared boards650
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
Coding benchmarks for Gemini 3.7 Flash and GPT-4.1 Mini
BenchmarkGemini 3.7 FlashGPT-4.1 MiniLeader
Aider polyglotNot measured32.4%Only GPT-4.1 Mini measured
SWE-bench VerifiedNot measured23.9%Only GPT-4.1 Mini measured
LiveBench coding80.5%Not measuredOnly Gemini 3.7 Flash measured
LMArena WebDev1591Not measuredOnly Gemini 3.7 Flash measured
AA Coding Index71.520.2Gemini 3.7 Flash
LiveCodeBench (Vals AI)88.7%58.2%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 measured48.3%Only GPT-4.1 Mini measured
SciCode59.8%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench Hard (Artificial Analysis run)Not measured7.6%Only GPT-4.1 Mini measured
FrontierCode43.6%Not measuredOnly Gemini 3.7 Flash measured
FrontierSWE20.3%Not measuredOnly Gemini 3.7 Flash measured
WeirdMLNot measured37.6%Only GPT-4.1 Mini measured
ALE-Bench904.3Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: coding14991367Gemini 3.7 Flash
LMArena Text: software and IT14981360Gemini 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%Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 11 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 Mini
BenchmarkGemini 3.7 FlashGPT-4.1 MiniLeader
AA Intelligence Index39.610.2Gemini 3.7 Flash
Epoch Capabilities Index158.0134.9Gemini 3.7 Flash
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index20 boards, none shared
Agentic work benchmarks for Gemini 3.7 Flash and GPT-4.1 Mini
BenchmarkGemini 3.7 FlashGPT-4.1 MiniLeader
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 measured52.9%Only GPT-4.1 Mini 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 measured50.4%Only GPT-4.1 Mini measured
Neither model has a result on the other 21 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index140
Reasoning benchmarks for Gemini 3.7 Flash and GPT-4.1 Mini
BenchmarkGemini 3.7 FlashGPT-4.1 MiniLeader
GPQA Diamond93.9%67.9%Gemini 3.7 Flash
LiveBench reasoning87.8%Not measuredOnly Gemini 3.7 Flash measured
MMMU Pro (Vals AI)89.0%70.5%Gemini 3.7 Flash
GPQA Diamond (Artificial Analysis run)94.5%66.4%Gemini 3.7 Flash
Humanity's Last Exam (Artificial Analysis run)47.9%5.0%Gemini 3.7 Flash
GPQA Diamond (Epoch AI run)94.8%65.8%Gemini 3.7 Flash
ARC-AGI95.5%3.5%Gemini 3.7 Flash
ARC-AGI-284.6%0.0%Gemini 3.7 Flash
Chess puzzles66.0%1.0%Gemini 3.7 Flash
Mystery game puzzles37.0%7.0%Gemini 3.7 Flash
LMArena Text: hard prompts14951349Gemini 3.7 Flash
LMArena Text: expert15121338Gemini 3.7 Flash
LMArena Text: hard prompts in English14871362Gemini 3.7 Flash
LMArena Vision: diagrams13291182Gemini 3.7 Flash
LMArena Vision: homework13201214Gemini 3.7 Flash
Kagi LLM BenchmarkNot measured48.6%Only GPT-4.1 Mini measured
Neither model has a result on the other 6 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 Mini
BenchmarkGemini 3.7 FlashGPT-4.1 MiniLeader
AIMENot measured49.4%Only GPT-4.1 Mini measured
MATH 500 (Vals AI)Not measured88.0%Only GPT-4.1 Mini measured
MGSM (Vals AI)Not measured87.8%Only GPT-4.1 Mini measured
AA Math IndexNot measured46.3Only GPT-4.1 Mini measured
AIME 2025 (Artificial Analysis run)Not measured46.3%Only GPT-4.1 Mini measured
OTIS Mock AIME97.2%44.7%Gemini 3.7 Flash
FrontierMath, tiers 1 to 371.6%6.7%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 measured87.3%Only GPT-4.1 Mini measured
LMArena Text: math15111343Gemini 3.7 Flash
LMArena Text: mathematical work15021347Gemini 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 index90
Knowledge benchmarks for Gemini 3.7 Flash and GPT-4.1 Mini
BenchmarkGemini 3.7 FlashGPT-4.1 MiniLeader
MMLU Pro90.1%77.2%Gemini 3.7 Flash
LegalBench (Vals AI)87.3%78.0%Gemini 3.7 Flash
CorpFin (Vals AI)Not measured57.9%Only GPT-4.1 Mini measured
TaxEval (Vals AI)74.7%71.9%Gemini 3.7 Flash
MortgageTax (Vals AI)66.7%65.5%Gemini 3.7 Flash
MedQA (Vals AI)Not measured84.6%Only GPT-4.1 Mini measured
MedCode (Vals AI)53.4%Not measuredOnly Gemini 3.7 Flash measured
MMLU Pro (Artificial Analysis run)Not measured78.1%Only GPT-4.1 Mini measured
SimpleQA Verified69.2%12.7%Gemini 3.7 Flash
LMArena Text: science15111328Gemini 3.7 Flash
LMArena Text: medicine and healthcare14941324Gemini 3.7 Flash
LMArena Text: legal and government14961343Gemini 3.7 Flash
LMArena Text: business and finance14791322Gemini 3.7 Flash
FACTS Benchmark Suite71.2%Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 4 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 Mini
BenchmarkGemini 3.7 FlashGPT-4.1 MiniLeader
Design Arena: websites1304997Gemini 3.7 Flash
Design Arena: UI components1299961Gemini 3.7 Flash
Design Arena: game dev13181071Gemini 3.7 Flash
Design Arena: data viz13151034Gemini 3.7 Flash
Design Arena: 3D1308837Gemini 3.7 Flash
Design Arena: all code categories1308994Gemini 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 Mini
BenchmarkGemini 3.7 FlashGPT-4.1 MiniLeader
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 measured38.3%Only GPT-4.1 Mini measured
Long context reasoning (AA-LCR)83.0%44.0%Gemini 3.7 Flash
DTBench96.8%68.8%Gemini 3.7 Flash
LMCA50.4%21.1%Gemini 3.7 Flash
Fiction.LiveBenchNot measured44.4%Only GPT-4.1 Mini measured
Furniture assembly26.7%Not measuredOnly Gemini 3.7 Flash measured
LMArena Text14891341Gemini 3.7 Flash
LMArena Text: instruction following14841333Gemini 3.7 Flash
LMArena Text: creative writing14881299Gemini 3.7 Flash
LMArena Vision13141181Gemini 3.7 Flash
LMArena Text: English14831356Gemini 3.7 Flash
LMArena Text: non-English14871318Gemini 3.7 Flash
LMArena Text: Chinese15521329Gemini 3.7 Flash
LMArena Text: German15061350Gemini 3.7 Flash
LMArena Text: Japanese15111290Gemini 3.7 Flash
LMArena Text: Korean14811298Gemini 3.7 Flash
LMArena Text: French15001358Gemini 3.7 Flash
LMArena Text: Spanish14951319Gemini 3.7 Flash
LMArena Text: Russian15151324Gemini 3.7 Flash
LMArena Text: Polish15031326Gemini 3.7 Flash
LMArena Text: multi-turn14851354Gemini 3.7 Flash
LMArena Text: longer queries14921344Gemini 3.7 Flash
LMArena Text: writing and language14911319Gemini 3.7 Flash
LMArena Text: entertainment and media14771300Gemini 3.7 Flash
LMArena Vision: English13091191Gemini 3.7 Flash
LMArena Vision: Chinese13941186Gemini 3.7 Flash
LMArena Vision: reading text13221188Gemini 3.7 Flash
LMArena Vision: humor12991182Gemini 3.7 Flash
LMArena Vision: captioningNot measured1174Only GPT-4.1 Mini measured
LMArena Vision: recognizing thingsNot measured1187Only GPT-4.1 Mini measured
LMArena Vision: creative writing13121182Gemini 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 Mini
BenchmarkGemini 3.7 FlashGPT-4.1 MiniLeader
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 Mini$0.0012Fits in one request

GPT-4.1 Mini costs less

Repository review

50K input + 3K output tokens

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

GPT-4.1 Mini costs less

Agent loop

200K input + 10K output tokens

Gemini 3.7 Flash$0.188Fits in one request
GPT-4.1 Mini$0.096Fits in one request

GPT-4.1 Mini 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 Mini
SpecificationGoogle Gemini 3.7 FlashOpenAI GPT-4.1 Mini
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedAugust 13, 2026April 14, 2025
Context window1.05M1.05M
Input $/Mtok$0.75$0.40
Output $/Mtok$3.75$1.60
Coding index58.0Not benchmarked
Independent measurements behind it60
Cost per solved task$1.78$1.818
SourceOpenRouter listingOpenRouter listing

Questions

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

Only Gemini 3.7 Flash has a coding score, 58.0 on the Vibe Coding Index; GPT-4.1 Mini has none, so the two cannot be ranked on coding. Pick GPT-4.1 Mini for output tokens 2.3x cheaper ($1.60 vs $3.75 per million).

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

Gemini 3.7 Flash costs $0.75 per million input tokens and $3.75 per million output tokens; GPT-4.1 Mini costs $0.40 and $1.60. Per solved SWE-bench Verified task, Gemini 3.7 Flash costs $1.78 and GPT-4.1 Mini $1.818.

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

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

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

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

Compare next