LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Gemini 2.5 Flash vs GPT-4.1 Nano

Updated October 21, 2026. 48 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Gemini 2.5 FlashGoogle
Coding
28.7
Overall
15.5
Output $/M
$2.50
48
GPT-4.1 NanoOpenAI
Coding
8.9
Overall
7.8
Output $/M
$0.40
0
vs boards won of 48 shared

Decision reading

Pick Gemini 2.5 Flash for coding: it scores 28.7 on the Vibe Coding Index against 8.9 for GPT-4.1 Nano.

Pick GPT-4.1 Nano when output tokens cost 6.3x less.

Shared results
48
Gemini 2.5 Flash only
21
GPT-4.1 Nano only
21
Like-for-like categories
8 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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 28.7 from 1 benchmark, GPT-4.1 Nano 8.9 from 1 benchmark.
Widest category
Math, 36.5 points apart on average over 4 shared benchmarks.
Widest single gap
AIME 2025 (Artificial Analysis run): Gemini 2.5 Flash 73.3% against GPT-4.1 Nano 24.0%, 49.3 points apart on a 0 to 100 scale.
Output price
Gemini 2.5 Flash $2.50 against GPT-4.1 Nano $0.40 per million output tokens, 6.3x apart.
Context window
Gemini 2.5 Flash takes 1.05M tokens, GPT-4.1 Nano 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 NanoTies
Coding40
Intelligence20
Agentic work10
Reasoning70
Math40
Knowledge50
Web design60
General190
All shared boards480
CodingLike-for-likeFour of these boards feed the Vibe Coding Index40
Coding benchmarks for Gemini 2.5 Flash and GPT-4.1 Nano
BenchmarkGemini 2.5 FlashGPT-4.1 NanoLeader
Aider polyglotNot measured8.9%Only GPT-4.1 Nano measured
SWE-bench Verified28.7%Not measuredOnly Gemini 2.5 Flash measured
AA Coding IndexNot measured11.1Only GPT-4.1 Nano measured
LiveCodeBench (Vals AI)Not measured42.7%Only GPT-4.1 Nano measured
LiveCodeBench (Artificial Analysis run)69.5%32.6%Gemini 2.5 Flash
Terminal-Bench Hard (Artificial Analysis run)13.6%3.8%Gemini 2.5 Flash
Terminal-Bench17.1%Not measuredOnly Gemini 2.5 Flash measured
WeirdMLNot measured19.0%Only GPT-4.1 Nano measured
LMArena Text: coding14231306Gemini 2.5 Flash
LMArena Text: software and IT14251305Gemini 2.5 Flash
Neither model has a result on the other 28 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 Nano
BenchmarkGemini 2.5 FlashGPT-4.1 NanoLeader
AA Intelligence Index15.57.8Gemini 2.5 Flash
Epoch Capabilities Index142.9129.5Gemini 2.5 Flash
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Gemini 2.5 Flash and GPT-4.1 Nano
BenchmarkGemini 2.5 FlashGPT-4.1 NanoLeader
τ²-Bench Telecom31.6%17.3%Gemini 2.5 Flash
BALROG33.5%Not measuredOnly Gemini 2.5 Flash measured
Vending-Bench 2$549Not 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 index70
Reasoning benchmarks for Gemini 2.5 Flash and GPT-4.1 Nano
BenchmarkGemini 2.5 FlashGPT-4.1 NanoLeader
GPQA DiamondNot measured50.8%Only GPT-4.1 Nano measured
MMMU Pro (Vals AI)Not measured55.0%Only GPT-4.1 Nano measured
GPQA Diamond (Artificial Analysis run)79.0%51.2%Gemini 2.5 Flash
Humanity's Last Exam (Artificial Analysis run)12.1%3.8%Gemini 2.5 Flash
GPQA Diamond (Epoch AI run)Not measured48.9%Only GPT-4.1 Nano measured
ARC-AGI33.3%0.0%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 measured0.0%Only GPT-4.1 Nano measured
LMArena Text: hard prompts14221286Gemini 2.5 Flash
LMArena Text: expert14261271Gemini 2.5 Flash
LMArena Text: hard prompts in English14201293Gemini 2.5 Flash
LMArena Vision: diagrams1245Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: homework1244Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 7 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 Nano
BenchmarkGemini 2.5 FlashGPT-4.1 NanoLeader
AIMENot measured26.5%Only GPT-4.1 Nano measured
MATH 500 (Vals AI)Not measured80.2%Only GPT-4.1 Nano measured
MGSM (Vals AI)Not measured69.3%Only GPT-4.1 Nano measured
AA Math Index73.324.0Gemini 2.5 Flash
AIME 2025 (Artificial Analysis run)73.3%24.0%Gemini 2.5 Flash
OTIS Mock AIMENot measured28.9%Only GPT-4.1 Nano measured
MATH level 5Not measured70.0%Only GPT-4.1 Nano measured
LMArena Text: math14111274Gemini 2.5 Flash
LMArena Text: mathematical work14221274Gemini 2.5 Flash
Neither model has a result on the other 4 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 Nano
BenchmarkGemini 2.5 FlashGPT-4.1 NanoLeader
MMLU ProNot measured63.5%Only GPT-4.1 Nano measured
LegalBench (Vals AI)Not measured61.1%Only GPT-4.1 Nano measured
CorpFin (Vals AI)Not measured42.1%Only GPT-4.1 Nano measured
TaxEval (Vals AI)Not measured60.8%Only GPT-4.1 Nano measured
MortgageTax (Vals AI)Not measured52.8%Only GPT-4.1 Nano measured
MedQA (Vals AI)Not measured68.2%Only GPT-4.1 Nano measured
MedCode (Vals AI)40.4%Not measuredOnly Gemini 2.5 Flash measured
MMLU Pro (Artificial Analysis run)83.2%65.7%Gemini 2.5 Flash
SimpleQA VerifiedNot measured6.0%Only GPT-4.1 Nano measured
LMArena Text: science14331297Gemini 2.5 Flash
LMArena Text: medicine and healthcare14281276Gemini 2.5 Flash
LMArena Text: legal and government14301300Gemini 2.5 Flash
LMArena Text: business and finance14041267Gemini 2.5 Flash
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 2.5 Flash and GPT-4.1 Nano
BenchmarkGemini 2.5 FlashGPT-4.1 NanoLeader
Design Arena: websites1074973Gemini 2.5 Flash
Design Arena: UI components1005916Gemini 2.5 Flash
Design Arena: game dev1005971Gemini 2.5 Flash
Design Arena: data viz1060891Gemini 2.5 Flash
Design Arena: 3D1021925Gemini 2.5 Flash
Design Arena: all code categories1059963Gemini 2.5 Flash
Design Arena: SVG1018Not 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 index190
General benchmarks for Gemini 2.5 Flash and GPT-4.1 Nano
BenchmarkGemini 2.5 FlashGPT-4.1 NanoLeader
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%32.0%Gemini 2.5 Flash
Long context reasoning (AA-LCR)65.3%20.3%Gemini 2.5 Flash
DTBench76.5%52.5%Gemini 2.5 Flash
LMCA27.5%5.5%Gemini 2.5 Flash
Fiction.LiveBenchNot measured25.0%Only GPT-4.1 Nano measured
LMArena Text14171285Gemini 2.5 Flash
LMArena Text: instruction following14051266Gemini 2.5 Flash
LMArena Text: creative writing14001260Gemini 2.5 Flash
LMArena Vision12351063Gemini 2.5 Flash
LMArena Text: English14181303Gemini 2.5 Flash
LMArena Text: non-English14091260Gemini 2.5 Flash
LMArena Text: Chinese14491270Gemini 2.5 Flash
LMArena Text: German14171288Gemini 2.5 Flash
LMArena Text: Japanese13961198Gemini 2.5 Flash
LMArena Text: Korean1385Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: French1432Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Spanish1422Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Russian14151261Gemini 2.5 Flash
LMArena Text: Polish1413Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: multi-turn14081277Gemini 2.5 Flash
LMArena Text: longer queries14191283Gemini 2.5 Flash
LMArena Text: writing and language14051261Gemini 2.5 Flash
LMArena Text: entertainment and media13931243Gemini 2.5 Flash
LMArena Vision: English12391101Gemini 2.5 Flash
LMArena Vision: Chinese1284Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: reading text1237Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: humor1225Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: captioning1277Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: recognizing things1252Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: creative writing1241Not measuredOnly Gemini 2.5 Flash measured
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 Nano
BenchmarkGemini 2.5 FlashGPT-4.1 NanoLeader
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 Nano$0.0003Fits in one request

GPT-4.1 Nano costs less

Repository review

50K input + 3K output tokens

Gemini 2.5 Flash$0.022Fits in one request
GPT-4.1 Nano$0.0062Fits in one request

GPT-4.1 Nano costs less

Agent loop

200K input + 10K output tokens

Gemini 2.5 Flash$0.085Fits in one request
GPT-4.1 Nano$0.024Fits in one request

GPT-4.1 Nano 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 Nano
SpecificationGoogle Gemini 2.5 FlashOpenAI GPT-4.1 Nano
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedJune 17, 2025April 14, 2025
Context window1.05M1.05M
Input $/Mtok$0.30$0.10
Output $/Mtok$2.50$0.40
Coding index28.78.9
Independent measurements behind it11
Cost per solved task$0.466Not computable
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick Gemini 2.5 Flash for coding: it scores 28.7 on the Vibe Coding Index against 8.9 for GPT-4.1 Nano. Pick GPT-4.1 Nano when output tokens cost 6.3x less.

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

Gemini 2.5 Flash costs $0.30 per million input tokens and $2.50 per million output tokens; GPT-4.1 Nano costs $0.10 and $0.40. Cost per solved task is known for Gemini 2.5 Flash only.

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

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

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

48 benchmarks have a result for both models as of October 21, 2026. Gemini 2.5 Flash's coding index rests on 1 independent benchmark and GPT-4.1 Nano's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next