Enter opens the highlighted result. Esc closes.

Gemini 2.5 Flash vs GPT-4.1 Mini

Gemini 2.5 Flash leads GPT-4.1 Mini on the Artificial Analysis Intelligence Index, 15.5 to 10.2, and GPT-4.1 Mini costs 1.6x less per output token ($1.60 vs $2.50 per million). Updated October 22, 2026; 63 benchmarks have a result for both.

Gemini 2.5 FlashGoogle
Coding
No data
Overall
34.3
Output $/M
$2.50
61
GPT-4.1 MiniOpenAI
Coding
No data
Overall
31.9
Output $/M
$1.60
2
vs boards won of 63 shared

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

Neither model has a coding score yet, so the two cannot be ranked on coding.

Pick Gemini 2.5 Flash for a lower cost per solved task ($0.466 against $1.818) and a larger context window (1.05M against 1.05M tokens).

Shared results
63
Gemini 2.5 Flash only
10
GPT-4.1 Mini only
23
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 2.5 Flash not benchmarked, GPT-4.1 Mini not benchmarked.
Widest category
Math, 19.5 points apart on average over 4 shared benchmarks.
Widest single gap
ARC-AGI: Gemini 2.5 Flash 33.3% against GPT-4.1 Mini 3.5%, 29.8 points apart on a 0 to 100 scale.
Output price
Gemini 2.5 Flash $2.50 against GPT-4.1 Mini $1.60 per million output tokens, 1.6x apart.
Context window
Gemini 2.5 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 2.5 FlashBarsGPT-4.1 MiniTies
Coding50
Intelligence20
Agentic work11
Reasoning100
Math40
Knowledge50
Web design51
General290
All shared boards612
CodingLike-for-likeSix of these boards feed the Vibe Coding Index50
Coding benchmarks for Gemini 2.5 Flash and GPT-4.1 Mini
BenchmarkGemini 2.5 FlashGPT-4.1 MiniLeader
Aider polyglotNot measured32.4%Only GPT-4.1 Mini measured
SWE-bench Verified28.7%23.9%Gemini 2.5 Flash
AA Coding IndexNot measured20.2Only GPT-4.1 Mini measured
LiveCodeBench (Vals AI)Not measured58.2%Only GPT-4.1 Mini measured
LiveCodeBench (Artificial Analysis run)69.5%48.3%Gemini 2.5 Flash
Terminal-Bench Hard (Artificial Analysis run)13.6%7.6%Gemini 2.5 Flash
Terminal-Bench17.1%Not measuredOnly Gemini 2.5 Flash measured
WeirdMLNot measured37.6%Only GPT-4.1 Mini measured
LMArena Text: coding14231367Gemini 2.5 Flash
LMArena Text: software and IT14251360Gemini 2.5 Flash
Neither model has a result on the other 29 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Gemini 2.5 Flash and GPT-4.1 Mini
BenchmarkGemini 2.5 FlashGPT-4.1 MiniLeader
AA Intelligence Index15.510.2Gemini 2.5 Flash
Epoch Capabilities Index142.9134.9Gemini 2.5 Flash
Agentic workLike-for-likePublic boards, shown as published, kept out of the index11
Agentic work benchmarks for Gemini 2.5 Flash and GPT-4.1 Mini
BenchmarkGemini 2.5 FlashGPT-4.1 MiniLeader
τ²-Bench Telecom31.6%52.9%GPT-4.1 Mini
BALROG33.5%Not measuredOnly Gemini 2.5 Flash measured
Vending-Bench 2$549Not measuredOnly Gemini 2.5 Flash measured
Berkeley Function Calling Leaderboard (BFCL)56.2%50.4%Gemini 2.5 Flash
BrowseComp-Plus39.9%Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 36 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index100
Reasoning benchmarks for Gemini 2.5 Flash and GPT-4.1 Mini
BenchmarkGemini 2.5 FlashGPT-4.1 MiniLeader
GPQA DiamondNot measured67.9%Only GPT-4.1 Mini measured
MMMU Pro (Vals AI)Not measured70.5%Only GPT-4.1 Mini measured
GPQA Diamond (Artificial Analysis run)79.0%66.4%Gemini 2.5 Flash
Humanity's Last Exam (Artificial Analysis run)12.1%5.0%Gemini 2.5 Flash
GPQA Diamond (Epoch AI run)Not measured65.8%Only GPT-4.1 Mini measured
ARC-AGI33.3%3.5%Gemini 2.5 Flash
ARC-AGI-22.5%0.0%Gemini 2.5 Flash
SimpleBench41.2%Not measuredOnly Gemini 2.5 Flash measured
Chess puzzlesNot measured1.0%Only GPT-4.1 Mini measured
Mystery game puzzlesNot measured7.0%Only GPT-4.1 Mini measured
LMArena Text: hard prompts14221349Gemini 2.5 Flash
LMArena Text: expert14261338Gemini 2.5 Flash
LMArena Text: hard prompts in English14201362Gemini 2.5 Flash
LMArena Vision: diagrams12451182Gemini 2.5 Flash
LMArena Vision: homework12441214Gemini 2.5 Flash
Kagi LLM Benchmark56.8%48.6%Gemini 2.5 Flash
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 2.5 Flash and GPT-4.1 Mini
BenchmarkGemini 2.5 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 Index73.346.3Gemini 2.5 Flash
AIME 2025 (Artificial Analysis run)73.3%46.3%Gemini 2.5 Flash
OTIS Mock AIMENot measured44.7%Only GPT-4.1 Mini measured
FrontierMath, tiers 1 to 3Not measured6.7%Only GPT-4.1 Mini measured
MATH level 5Not measured87.3%Only GPT-4.1 Mini measured
LMArena Text: math14111343Gemini 2.5 Flash
LMArena Text: mathematical work14221347Gemini 2.5 Flash
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
Knowledge benchmarks for Gemini 2.5 Flash and GPT-4.1 Mini
BenchmarkGemini 2.5 FlashGPT-4.1 MiniLeader
MMLU ProNot measured77.2%Only GPT-4.1 Mini measured
LegalBench (Vals AI)Not measured78.0%Only GPT-4.1 Mini measured
CorpFin (Vals AI)Not measured57.9%Only GPT-4.1 Mini measured
TaxEval (Vals AI)Not measured71.9%Only GPT-4.1 Mini measured
MortgageTax (Vals AI)Not measured65.5%Only GPT-4.1 Mini measured
MedQA (Vals AI)Not measured84.6%Only GPT-4.1 Mini measured
MedCode (Vals AI)40.4%Not measuredOnly Gemini 2.5 Flash measured
MMLU Pro (Artificial Analysis run)83.2%78.1%Gemini 2.5 Flash
SimpleQA VerifiedNot measured12.7%Only GPT-4.1 Mini measured
LMArena Text: science14331328Gemini 2.5 Flash
LMArena Text: medicine and healthcare14281324Gemini 2.5 Flash
LMArena Text: legal and government14301343Gemini 2.5 Flash
LMArena Text: business and finance14041322Gemini 2.5 Flash
FACTS Benchmark Suite47.2%Not measuredOnly Gemini 2.5 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 index51
Web design benchmarks for Gemini 2.5 Flash and GPT-4.1 Mini
BenchmarkGemini 2.5 FlashGPT-4.1 MiniLeader
Design Arena: websites1074997Gemini 2.5 Flash
Design Arena: UI components1002958Gemini 2.5 Flash
Design Arena: game dev10041070GPT-4.1 Mini
Design Arena: data viz10601034Gemini 2.5 Flash
Design Arena: 3D1020836Gemini 2.5 Flash
Design Arena: all code categories1059993Gemini 2.5 Flash
Design Arena: SVG1020Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index290
General benchmarks for Gemini 2.5 Flash and GPT-4.1 Mini
BenchmarkGemini 2.5 FlashGPT-4.1 MiniLeader
SAGE (Vals AI)44.8%Not measuredOnly Gemini 2.5 Flash measured
MedScribe (Vals AI)83.0%Not measuredOnly Gemini 2.5 Flash measured
IFBench50.3%38.3%Gemini 2.5 Flash
Long context reasoning (AA-LCR)65.3%44.0%Gemini 2.5 Flash
DTBench76.5%68.8%Gemini 2.5 Flash
LMCA27.5%21.1%Gemini 2.5 Flash
Fiction.LiveBenchNot measured44.4%Only GPT-4.1 Mini measured
LMArena Text14171341Gemini 2.5 Flash
LMArena Text: instruction following14051333Gemini 2.5 Flash
LMArena Text: creative writing14001299Gemini 2.5 Flash
LMArena Vision12351181Gemini 2.5 Flash
LMArena Text: English14181356Gemini 2.5 Flash
LMArena Text: non-English14091318Gemini 2.5 Flash
LMArena Text: Chinese14491329Gemini 2.5 Flash
LMArena Text: German14171350Gemini 2.5 Flash
LMArena Text: Japanese13961290Gemini 2.5 Flash
LMArena Text: Korean13851298Gemini 2.5 Flash
LMArena Text: French14321358Gemini 2.5 Flash
LMArena Text: Spanish14221319Gemini 2.5 Flash
LMArena Text: Russian14151324Gemini 2.5 Flash
LMArena Text: Polish14131326Gemini 2.5 Flash
LMArena Text: multi-turn14081354Gemini 2.5 Flash
LMArena Text: longer queries14191344Gemini 2.5 Flash
LMArena Text: writing and language14051319Gemini 2.5 Flash
LMArena Text: entertainment and media13931300Gemini 2.5 Flash
LMArena Vision: English12391191Gemini 2.5 Flash
LMArena Vision: Chinese12841186Gemini 2.5 Flash
LMArena Vision: reading text12371188Gemini 2.5 Flash
LMArena Vision: humor12251182Gemini 2.5 Flash
LMArena Vision: captioning12771174Gemini 2.5 Flash
LMArena Vision: recognizing things12521187Gemini 2.5 Flash
LMArena Vision: creative writing12411182Gemini 2.5 Flash
Neither model has a result on the other 14 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 2.5 Flash and GPT-4.1 Mini
BenchmarkGemini 2.5 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 2.5 Flash$0.0015Fits 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 2.5 Flash$0.022Fits in one request
GPT-4.1 Mini$0.025Fits in one request

Gemini 2.5 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 2.5 Flash$0.085Fits in one request
GPT-4.1 Mini$0.096Fits in one request

Gemini 2.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 2.5 Flash and GPT-4.1 Mini
SpecificationGoogle Gemini 2.5 FlashOpenAI GPT-4.1 Mini
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedJune 17, 2025April 14, 2025
Context window1.05M1.05M
Input $/Mtok$0.30$0.40
Output $/Mtok$2.50$1.60
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved task$0.466$1.818
SourceOpenRouter listingOpenRouter listing

Questions

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

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemini 2.5 Flash for a lower cost per solved task ($0.466 against $1.818) and a larger context window (1.05M against 1.05M tokens).

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

Gemini 2.5 Flash costs $0.30 per million input tokens and $2.50 per million output tokens; GPT-4.1 Mini costs $0.40 and $1.60. Per solved SWE-bench Verified task, Gemini 2.5 Flash costs $0.466 and GPT-4.1 Mini $1.818.

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

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

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

63 benchmarks have a result for both models as of October 22, 2026. Gemini 2.5 Flash's coding index rests on 0 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