Enter opens the highlighted result. Esc closes.

Gemini 2.5 Pro vs GPT-4.1

Gemini 2.5 Pro leads GPT-4.1 on the Artificial Analysis Intelligence Index, 16.1 to 12.7, and GPT-4.1 costs 1.3x less per output token ($8.00 vs $10.00 per million). Updated October 22, 2026; 71 benchmarks have a result for both.

Gemini 2.5 ProGoogle
Coding
19.1
Overall
41.8
Output $/M
$10.00
68
GPT-4.1OpenAI
Coding
No data
Overall
36.5
Output $/M
$8.00
3
vs boards won of 71 shared

Gemini 2.5 Pro or GPT-4.1: which to pick

Only Gemini 2.5 Pro has a coding score, 19.1 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.3x cheaper ($8.00 vs $10.00 per million) and a lower cost per solved task ($0.37 against $0.64).

Shared results
71
Gemini 2.5 Pro only
19
GPT-4.1 only
21
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 Pro 19.1 from 3 benchmarks, GPT-4.1 not benchmarked.
Widest category
Math, 33.4 points apart on average over 6 shared benchmarks.
Widest single gap
AA Math Index: Gemini 2.5 Pro 87.7 against GPT-4.1 34.7, 53.0 points apart on a 0 to 100 scale.
Output price
Gemini 2.5 Pro $10.00 against GPT-4.1 $8.00 per million output tokens, 1.3x apart.
Context window
Gemini 2.5 Pro 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 2.5 ProBarsGPT-4.1Ties
Coding60
Intelligence20
Agentic work11
Reasoning110
Math60
Knowledge72
Web design60
General290
All shared boards683
CodingLike-for-likeSix of these boards feed the Vibe Coding Index60
Coding benchmarks for Gemini 2.5 Pro and GPT-4.1
BenchmarkGemini 2.5 ProGPT-4.1Leader
Aider polyglotNot measured52.4%Only GPT-4.1 measured
SWE-bench Verified53.6%39.6%Gemini 2.5 Pro
SWE-bench MultimodalNot measured31.1%Only GPT-4.1 measured
LMArena WebDev1226Not measuredOnly Gemini 2.5 Pro measured
AA Coding Index33.3Not measuredOnly Gemini 2.5 Pro measured
LiveCodeBench (Vals AI)Not measured54.7%Only GPT-4.1 measured
SWE-bench Verified (Vals AI)54.4%Not measuredOnly Gemini 2.5 Pro measured
Vibe Code Bench (Vals AI)0.4%Not measuredOnly Gemini 2.5 Pro measured
LiveCodeBench (Artificial Analysis run)80.1%45.7%Gemini 2.5 Pro
SciCode46.3%Not measuredOnly Gemini 2.5 Pro measured
Terminal-Bench Hard (Artificial Analysis run)26.5%13.6%Gemini 2.5 Pro
Terminal-Bench32.6%Not measuredOnly Gemini 2.5 Pro measured
GSO-Bench3.9%Not measuredOnly Gemini 2.5 Pro measured
WeirdML54.0%39.0%Gemini 2.5 Pro
ALE-BenchNot measured558.1Only GPT-4.1 measured
LMArena Text: coding14521390Gemini 2.5 Pro
LMArena Text: software and IT14591391Gemini 2.5 Pro
LMArena WebDev: HTML1235Not measuredOnly Gemini 2.5 Pro measured
LMArena WebDev: from an image1285Not measuredOnly Gemini 2.5 Pro measured
SciCodeNot measured4.6%Only GPT-4.1 measured
Neither model has a result on the other 19 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Gemini 2.5 Pro and GPT-4.1
BenchmarkGemini 2.5 ProGPT-4.1Leader
AA Intelligence Index16.112.7Gemini 2.5 Pro
Epoch Capabilities Index145.1136.7Gemini 2.5 Pro
Agentic workLike-for-likePublic boards, shown as published, kept out of the index11
Agentic work benchmarks for Gemini 2.5 Pro and GPT-4.1
BenchmarkGemini 2.5 ProGPT-4.1Leader
AA Agentic Index1.6Not measuredOnly Gemini 2.5 Pro measured
τ²-Bench Telecom54.1%47.1%Gemini 2.5 Pro
GDPval23.3%Not measuredOnly Gemini 2.5 Pro measured
DeepResearch Bench41.5%Not measuredOnly Gemini 2.5 Pro measured
Vending-Bench 2$574Not measuredOnly Gemini 2.5 Pro measured
Berkeley Function Calling Leaderboard (BFCL)Not measured54.0%Only GPT-4.1 measured
BrowseComp-Plus29.5%36.4%GPT-4.1
Neither model has a result on the other 34 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index110
Reasoning benchmarks for Gemini 2.5 Pro and GPT-4.1
BenchmarkGemini 2.5 ProGPT-4.1Leader
GPQA DiamondNot measured65.4%Only GPT-4.1 measured
MMMU Pro (Vals AI)Not measured72.4%Only GPT-4.1 measured
GPQA Diamond (Artificial Analysis run)84.4%66.6%Gemini 2.5 Pro
Humanity's Last Exam (Artificial Analysis run)22.5%4.2%Gemini 2.5 Pro
GPQA Diamond (Epoch AI run)85.3%66.9%Gemini 2.5 Pro
ARC-AGI41.0%5.5%Gemini 2.5 Pro
ARC-AGI-24.9%0.4%Gemini 2.5 Pro
SimpleBenchNot measured27.0%Only GPT-4.1 measured
Chess puzzlesNot measured3.0%Only GPT-4.1 measured
LMArena Text: hard prompts14551384Gemini 2.5 Pro
LMArena Text: expert14521364Gemini 2.5 Pro
LMArena Text: hard prompts in English14531393Gemini 2.5 Pro
LMArena Vision: diagrams12741215Gemini 2.5 Pro
LMArena Vision: homework12811248Gemini 2.5 Pro
Kagi LLM Benchmark70.3%52.3%Gemini 2.5 Pro
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index60
Math benchmarks for Gemini 2.5 Pro and GPT-4.1
BenchmarkGemini 2.5 ProGPT-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 Index87.734.7Gemini 2.5 Pro
AIME 2025 (Artificial Analysis run)87.7%34.7%Gemini 2.5 Pro
OTIS Mock AIME84.7%38.3%Gemini 2.5 Pro
FrontierMath, tiers 1 to 324.6%6.0%Gemini 2.5 Pro
FrontierMath, tier 40.0%Not measuredOnly Gemini 2.5 Pro measured
MATH level 5Not measured83.0%Only GPT-4.1 measured
LMArena Text: math14501369Gemini 2.5 Pro
LMArena Text: mathematical work14541360Gemini 2.5 Pro
Neither model has a result on the other 2 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index72
Knowledge benchmarks for Gemini 2.5 Pro and GPT-4.1
BenchmarkGemini 2.5 ProGPT-4.1Leader
MMLU ProNot measured80.5%Only GPT-4.1 measured
LegalBench (Vals AI)Not measured83.1%Only GPT-4.1 measured
CaseLaw (Vals AI)63.9%69.9%GPT-4.1
CorpFin (Vals AI)60.8%63.0%GPT-4.1
TaxEval (Vals AI)Not measured75.1%Only GPT-4.1 measured
MortgageTax (Vals AI)68.9%65.9%Gemini 2.5 Pro
MedQA (Vals AI)Not measured91.2%Only GPT-4.1 measured
MedCode (Vals AI)50.6%Not measuredOnly Gemini 2.5 Pro measured
MMLU Pro (Artificial Analysis run)86.2%80.6%Gemini 2.5 Pro
SimpleQA VerifiedNot measured31.1%Only GPT-4.1 measured
GeoBenchNot measured72.0%Only GPT-4.1 measured
LMArena Text: science14801382Gemini 2.5 Pro
LMArena Text: medicine and healthcare14761379Gemini 2.5 Pro
LMArena Text: legal and government14801399Gemini 2.5 Pro
LMArena Text: business and finance14391369Gemini 2.5 Pro
FACTS Benchmark Suite61.5%45.8%Gemini 2.5 Pro
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 2.5 Pro and GPT-4.1
BenchmarkGemini 2.5 ProGPT-4.1Leader
Design Arena: websites11671038Gemini 2.5 Pro
Design Arena: UI components1137997Gemini 2.5 Pro
Design Arena: game dev11111079Gemini 2.5 Pro
Design Arena: data viz12221104Gemini 2.5 Pro
Design Arena: 3D1080849Gemini 2.5 Pro
Design Arena: all code categories11521025Gemini 2.5 Pro
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index290
General benchmarks for Gemini 2.5 Pro and GPT-4.1
BenchmarkGemini 2.5 ProGPT-4.1Leader
SAGE (Vals AI)41.9%Not measuredOnly Gemini 2.5 Pro measured
MedScribe (Vals AI)73.5%Not measuredOnly Gemini 2.5 Pro measured
IFBench48.7%43.0%Gemini 2.5 Pro
Long context reasoning (AA-LCR)69.0%68.3%Gemini 2.5 Pro
DTBench82.4%68.3%Gemini 2.5 Pro
LMCA34.8%25.6%Gemini 2.5 Pro
Fiction.LiveBenchNot measured63.9%Only GPT-4.1 measured
Creative writing (Lech Mazur)83.8%Not measuredOnly Gemini 2.5 Pro measured
LMArena Text14581383Gemini 2.5 Pro
LMArena Text: instruction following14371367Gemini 2.5 Pro
LMArena Text: creative writing14541363Gemini 2.5 Pro
LMArena Vision12631210Gemini 2.5 Pro
LMArena Text: English14581392Gemini 2.5 Pro
LMArena Text: non-English14521370Gemini 2.5 Pro
LMArena Text: Chinese15071382Gemini 2.5 Pro
LMArena Text: German14871381Gemini 2.5 Pro
LMArena Text: Japanese14611319Gemini 2.5 Pro
LMArena Text: Korean14341338Gemini 2.5 Pro
LMArena Text: French14731382Gemini 2.5 Pro
LMArena Text: Spanish14741376Gemini 2.5 Pro
LMArena Text: Russian14611377Gemini 2.5 Pro
LMArena Text: Polish14791389Gemini 2.5 Pro
LMArena Text: multi-turn14531397Gemini 2.5 Pro
LMArena Text: longer queries14491385Gemini 2.5 Pro
LMArena Text: writing and language14541371Gemini 2.5 Pro
LMArena Text: entertainment and media14411365Gemini 2.5 Pro
LMArena Vision: English12611209Gemini 2.5 Pro
LMArena Vision: Chinese13001226Gemini 2.5 Pro
LMArena Vision: reading text12701218Gemini 2.5 Pro
LMArena Vision: humor12621196Gemini 2.5 Pro
LMArena Vision: captioning13041207Gemini 2.5 Pro
LMArena Vision: recognizing things12831208Gemini 2.5 Pro
LMArena Vision: creative writing12651210Gemini 2.5 Pro
LMArena Document1421Not measuredOnly Gemini 2.5 Pro measured
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 2.5 Pro and GPT-4.1
BenchmarkGemini 2.5 ProGPT-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 2.5 Pro$0.0063Fits in one request
GPT-4.1$0.0060Fits in one request

GPT-4.1 costs less

Repository review

50K input + 3K output tokens

Gemini 2.5 Pro$0.092Fits in one request
GPT-4.1$0.124Fits in one request

Gemini 2.5 Pro costs less

Agent loop

200K input + 10K output tokens

Gemini 2.5 Pro$0.350Fits in one request
GPT-4.1$0.480Fits in one request

Gemini 2.5 Pro 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 Pro and GPT-4.1
SpecificationGoogle Gemini 2.5 ProOpenAI GPT-4.1
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedJune 17, 2025April 14, 2025
Context window1.05M1.05M
Input $/Mtok$1.25$2.00
Output $/Mtok$10.00$8.00
Coding index19.1Not benchmarked
Independent measurements behind it30
Cost per solved task$0.64$0.37
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 2.5 Pro better than GPT-4.1 for coding?

Only Gemini 2.5 Pro has a coding score, 19.1 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.3x cheaper ($8.00 vs $10.00 per million) and a lower cost per solved task ($0.37 against $0.64).

Which is cheaper, Gemini 2.5 Pro or GPT-4.1?

Gemini 2.5 Pro costs $1.25 per million input tokens and $10.00 per million output tokens; GPT-4.1 costs $2.00 and $8.00. Per solved SWE-bench Verified task, Gemini 2.5 Pro costs $0.64 and GPT-4.1 $0.37.

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

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

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

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