Enter opens the highlighted result. Esc closes.

Gemini 2.5 Pro vs Phi 4

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

Gemini 2.5 ProGoogle
Coding
19.1
Overall
16.1
Output $/M
$10.00
42
Phi 4Microsoft
Coding
No data
Overall
5.9
Output $/M
$0.14
0
vs boards won of 42 shared

Decision reading

Only Gemini 2.5 Pro has a coding score, 19.1 on the Vibe Coding Index; Phi 4 has none, so the two cannot be ranked on coding.

Phi 4 has the edge where output tokens cost 71.4x less.

Shared results
42
Gemini 2.5 Pro only
45
Phi 4 only
3
Like-for-like categories
7 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 Pro 19.1 from 3 benchmarks, Phi 4 not benchmarked.
Widest category
Math, 55.5 points apart on average over 5 shared benchmarks.
Widest single gap
OTIS Mock AIME: Gemini 2.5 Pro 84.7% against Phi 4 13.8%, 71.0 points apart on a 0 to 100 scale.
Output price
Gemini 2.5 Pro $10.00 against Phi 4 $0.14 per million output tokens, 71.4x apart.
Context window
Gemini 2.5 Pro takes 1.05M tokens, Phi 4 16K.

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 ProBarsPhi 4Ties
Coding40
Intelligence20
Agentic work10
Reasoning60
Math50
Knowledge50
General190
All shared boards420
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
Coding benchmarks for Gemini 2.5 Pro and Phi 4
BenchmarkGemini 2.5 ProPhi 4Leader
SWE-bench Verified53.6%Not measuredOnly Gemini 2.5 Pro measured
LMArena WebDev1226Not measuredOnly Gemini 2.5 Pro measured
AA Coding Index33.3Not measuredOnly Gemini 2.5 Pro 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%23.1%Gemini 2.5 Pro
SciCode46.3%Not measuredOnly Gemini 2.5 Pro measured
Terminal-Bench Hard (Artificial Analysis run)26.5%3.8%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%Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: coding14521231Gemini 2.5 Pro
LMArena Text: software and IT14591228Gemini 2.5 Pro
LMArena WebDev: HTML1235Not measuredOnly Gemini 2.5 Pro measured
LMArena WebDev: from an image1285Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 23 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Gemini 2.5 Pro and Phi 4
BenchmarkGemini 2.5 ProPhi 4Leader
AA Intelligence Index16.15.9Gemini 2.5 Pro
Epoch Capabilities Index145.1130.5Gemini 2.5 Pro
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Gemini 2.5 Pro and Phi 4
BenchmarkGemini 2.5 ProPhi 4Leader
AA Agentic Index1.6Not measuredOnly Gemini 2.5 Pro measured
τ²-Bench Telecom54.1%0.0%Gemini 2.5 Pro
GDPval23.3%Not measuredOnly Gemini 2.5 Pro measured
BALROGNot measured11.6%Only Phi 4 measured
DeepResearch Bench41.5%Not measuredOnly Gemini 2.5 Pro measured
Vending-Bench 2$574Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 33 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index60
Reasoning benchmarks for Gemini 2.5 Pro and Phi 4
BenchmarkGemini 2.5 ProPhi 4Leader
GPQA Diamond (Artificial Analysis run)84.4%57.5%Gemini 2.5 Pro
Humanity's Last Exam (Artificial Analysis run)22.5%3.8%Gemini 2.5 Pro
GPQA Diamond (Epoch AI run)85.3%56.1%Gemini 2.5 Pro
ARC-AGI41.0%Not measuredOnly Gemini 2.5 Pro measured
ARC-AGI-24.9%Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: hard prompts14551220Gemini 2.5 Pro
LMArena Text: expert14521203Gemini 2.5 Pro
LMArena Text: hard prompts in English14531230Gemini 2.5 Pro
LMArena Vision: diagrams1274Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: homework1281Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 11 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index50
Math benchmarks for Gemini 2.5 Pro and Phi 4
BenchmarkGemini 2.5 ProPhi 4Leader
AA Math Index87.718.0Gemini 2.5 Pro
AIME 2025 (Artificial Analysis run)87.7%18.0%Gemini 2.5 Pro
OTIS Mock AIME84.7%13.8%Gemini 2.5 Pro
FrontierMath, tiers 1 to 324.6%Not measuredOnly Gemini 2.5 Pro measured
FrontierMath, tier 40.0%Not measuredOnly Gemini 2.5 Pro measured
MATH level 5Not measured64.9%Only Phi 4 measured
LMArena Text: math14501246Gemini 2.5 Pro
LMArena Text: mathematical work14541254Gemini 2.5 Pro
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
Knowledge benchmarks for Gemini 2.5 Pro and Phi 4
BenchmarkGemini 2.5 ProPhi 4Leader
CaseLaw (Vals AI)63.9%Not measuredOnly Gemini 2.5 Pro measured
CorpFin (Vals AI)60.8%Not measuredOnly Gemini 2.5 Pro measured
MortgageTax (Vals AI)68.9%Not measuredOnly Gemini 2.5 Pro measured
MedCode (Vals AI)50.6%Not measuredOnly Gemini 2.5 Pro measured
MMLU Pro (Artificial Analysis run)86.2%71.4%Gemini 2.5 Pro
MMLUNot measured84.8%Only Phi 4 measured
LMArena Text: science14801206Gemini 2.5 Pro
LMArena Text: medicine and healthcare14761202Gemini 2.5 Pro
LMArena Text: legal and government14801241Gemini 2.5 Pro
LMArena Text: business and finance14391199Gemini 2.5 Pro
Neither model has a result on the other 7 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Web design benchmarks for Gemini 2.5 Pro and Phi 4
BenchmarkGemini 2.5 ProPhi 4Leader
Design Arena: websites1167Not measuredOnly Gemini 2.5 Pro measured
Design Arena: UI components1140Not measuredOnly Gemini 2.5 Pro measured
Design Arena: game dev1111Not measuredOnly Gemini 2.5 Pro measured
Design Arena: data viz1221Not measuredOnly Gemini 2.5 Pro measured
Design Arena: 3D1080Not measuredOnly Gemini 2.5 Pro measured
Design Arena: all code categories1152Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index190
General benchmarks for Gemini 2.5 Pro and Phi 4
BenchmarkGemini 2.5 ProPhi 4Leader
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%23.5%Gemini 2.5 Pro
Long context reasoning (AA-LCR)69.0%0.0%Gemini 2.5 Pro
DTBench82.4%Not measuredOnly Gemini 2.5 Pro measured
LMCA34.8%Not measuredOnly Gemini 2.5 Pro measured
Creative writing (Lech Mazur)83.8%62.6%Gemini 2.5 Pro
LMArena Text14581217Gemini 2.5 Pro
LMArena Text: instruction following14371201Gemini 2.5 Pro
LMArena Text: creative writing14541181Gemini 2.5 Pro
LMArena Vision1263Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: English14581231Gemini 2.5 Pro
LMArena Text: non-English14521197Gemini 2.5 Pro
LMArena Text: Chinese15071212Gemini 2.5 Pro
LMArena Text: German14871222Gemini 2.5 Pro
LMArena Text: Japanese14611158Gemini 2.5 Pro
LMArena Text: Korean14341151Gemini 2.5 Pro
LMArena Text: French14731224Gemini 2.5 Pro
LMArena Text: Spanish14741234Gemini 2.5 Pro
LMArena Text: Russian14611209Gemini 2.5 Pro
LMArena Text: Polish1479Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: multi-turn14531206Gemini 2.5 Pro
LMArena Text: longer queries14491217Gemini 2.5 Pro
LMArena Text: writing and language14541198Gemini 2.5 Pro
LMArena Text: entertainment and media14411162Gemini 2.5 Pro
LMArena Vision: English1261Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: Chinese1300Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: reading text1270Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: humor1262Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: captioning1304Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: recognizing things1283Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: creative writing1265Not measuredOnly Gemini 2.5 Pro measured
LMArena Document1421Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 13 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 Phi 4
BenchmarkGemini 2.5 ProPhi 4Leader
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
Phi 4$0.0001Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

Gemini 2.5 Pro$0.092Fits in one request
Phi 4$0.0039Exceeds the context window

Phi 4 costs less

Agent loop

200K input + 10K output tokens

Gemini 2.5 Pro$0.350Fits in one request
Phi 4$0.015Exceeds the context window

Phi 4 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 Phi 4
SpecificationGoogle Gemini 2.5 ProMicrosoft Phi 4
MakerGoogleMicrosoft
WeightsNo public weights listedOpen weights
ReleasedJune 17, 2025January 10, 2025
Context window1.05M16K
Input $/Mtok$1.25$0.07
Output $/Mtok$10.00$0.14
Coding index19.1Not benchmarked
Independent measurements behind it30
Cost per solved task$0.64Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 2.5 Pro better than Phi 4 for coding?

Only Gemini 2.5 Pro has a coding score, 19.1 on the Vibe Coding Index; Phi 4 has none, so the two cannot be ranked on coding. Phi 4 has the edge where output tokens cost 71.4x less.

Which is cheaper, Gemini 2.5 Pro or Phi 4?

Gemini 2.5 Pro costs $1.25 per million input tokens and $10.00 per million output tokens; Phi 4 costs $0.07 and $0.14. Cost per solved task is known for Gemini 2.5 Pro only.

Which has the bigger context window, Gemini 2.5 Pro or Phi 4?

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

How many benchmarks is the Gemini 2.5 Pro vs Phi 4 comparison based on?

42 benchmarks have a result for both models as of October 21, 2026. Gemini 2.5 Pro's coding index rests on 3 independent benchmarks and Phi 4's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next