Enter opens the highlighted result. Esc closes.

Mercury 2 vs Phi 4

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

Mercury 2Inception
Coding
No data
Overall
10.8
Output $/M
$0.75
26
Phi 4Microsoft
Coding
No data
Overall
5.9
Output $/M
$0.14
0
vs boards won of 26 shared

Decision reading

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

Mercury 2 has the edge where the context window is larger, 128K against 16K tokens.

Shared results
26
Mercury 2 only
16
Phi 4 only
19
Like-for-like categories
6 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
Mercury 2 not benchmarked, Phi 4 not benchmarked.
Widest category
Agentic work, 70.8 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: Mercury 2 70.8% against Phi 4 0.0%, 70.8 points apart on a 0 to 100 scale.
Output price
Mercury 2 $0.75 against Phi 4 $0.14 per million output tokens, 5.4x apart.
Context window
Mercury 2 takes 128K 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
CategoryMercury 2BarsPhi 4Ties
Coding30
Intelligence10
Agentic work10
Reasoning50
Knowledge30
General130
All shared boards260
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
Coding benchmarks for Mercury 2 and Phi 4
BenchmarkMercury 2Phi 4Leader
LMArena WebDev1171Not measuredOnly Mercury 2 measured
AA Coding Index31.1Not measuredOnly Mercury 2 measured
LiveCodeBench (Artificial Analysis run)Not measured23.1%Only Phi 4 measured
SciCode37.7%Not measuredOnly Mercury 2 measured
Terminal-Bench Hard (Artificial Analysis run)26.5%3.8%Mercury 2
WeirdML43.2%Not measuredOnly Mercury 2 measured
ALE-Bench785.6Not measuredOnly Mercury 2 measured
LMArena Text: coding13901231Mercury 2
LMArena Text: software and IT13851228Mercury 2
LMArena WebDev: React1160Not measuredOnly Mercury 2 measured
LMArena WebDev: HTML1199Not measuredOnly Mercury 2 measured
Neither model has a result on the other 27 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Mercury 2 and Phi 4
BenchmarkMercury 2Phi 4Leader
AA Intelligence Index10.85.9Mercury 2
Epoch Capabilities IndexNot measured130.5Only Phi 4 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Mercury 2 and Phi 4
BenchmarkMercury 2Phi 4Leader
AA Agentic Index1.6Not measuredOnly Mercury 2 measured
τ²-Bench Telecom70.8%0.0%Mercury 2
BALROGNot measured11.6%Only Phi 4 measured
Neither model has a result on the other 36 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index50
Reasoning benchmarks for Mercury 2 and Phi 4
BenchmarkMercury 2Phi 4Leader
GPQA Diamond (Artificial Analysis run)77.0%57.5%Mercury 2
Humanity's Last Exam (Artificial Analysis run)17.1%3.8%Mercury 2
GPQA Diamond (Epoch AI run)Not measured56.1%Only Phi 4 measured
LMArena Text: hard prompts13621220Mercury 2
LMArena Text: expert13581203Mercury 2
LMArena Text: hard prompts in English13741230Mercury 2
Neither model has a result on the other 15 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Math benchmarks for Mercury 2 and Phi 4
BenchmarkMercury 2Phi 4Leader
AA Math IndexNot measured18.0Only Phi 4 measured
AIME 2025 (Artificial Analysis run)Not measured18.0%Only Phi 4 measured
OTIS Mock AIMENot measured13.8%Only Phi 4 measured
MATH level 5Not measured64.9%Only Phi 4 measured
LMArena Text: mathNot measured1246Only Phi 4 measured
LMArena Text: mathematical workNot measured1254Only Phi 4 measured
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index30
Knowledge benchmarks for Mercury 2 and Phi 4
BenchmarkMercury 2Phi 4Leader
MMLU Pro (Artificial Analysis run)Not measured71.4%Only Phi 4 measured
MMLUNot measured84.8%Only Phi 4 measured
LMArena Text: science13431206Mercury 2
LMArena Text: medicine and healthcare13631202Mercury 2
LMArena Text: legal and governmentNot measured1241Only Phi 4 measured
LMArena Text: business and finance13491199Mercury 2
Neither model has a result on the other 11 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Mercury 2 and Phi 4
BenchmarkMercury 2Phi 4Leader
Design Arena: websites1036Not measuredOnly Mercury 2 measured
Design Arena: UI components998Not measuredOnly Mercury 2 measured
Design Arena: game dev985Not measuredOnly Mercury 2 measured
Design Arena: data viz1009Not measuredOnly Mercury 2 measured
Design Arena: 3D983Not measuredOnly Mercury 2 measured
Design Arena: all code categories1022Not measuredOnly Mercury 2 measured
Design Arena: SVG998Not measuredOnly Mercury 2 measured
Design Arena: ASCII art990Not measuredOnly Mercury 2 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index130
General benchmarks for Mercury 2 and Phi 4
BenchmarkMercury 2Phi 4Leader
IFBench69.8%23.5%Mercury 2
Long context reasoning (AA-LCR)43.7%0.0%Mercury 2
Creative writing (Lech Mazur)Not measured62.6%Only Phi 4 measured
LMArena Text13541217Mercury 2
LMArena Text: instruction following13281201Mercury 2
LMArena Text: creative writing12861181Mercury 2
LMArena Text: English13781231Mercury 2
LMArena Text: non-English13301197Mercury 2
LMArena Text: Chinese14141212Mercury 2
LMArena Text: GermanNot measured1222Only Phi 4 measured
LMArena Text: JapaneseNot measured1158Only Phi 4 measured
LMArena Text: KoreanNot measured1151Only Phi 4 measured
LMArena Text: FrenchNot measured1224Only Phi 4 measured
LMArena Text: SpanishNot measured1234Only Phi 4 measured
LMArena Text: Russian13041209Mercury 2
LMArena Text: multi-turn13571206Mercury 2
LMArena Text: longer queries13291217Mercury 2
LMArena Text: writing and language13001198Mercury 2
LMArena Text: entertainment and media13141162Mercury 2
Neither model has a result on the other 27 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Mercury 2 and Phi 4
BenchmarkMercury 2Phi 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

Mercury 2$0.0006Fits in one request
Phi 4$0.0001Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

Mercury 2$0.015Fits in one request
Phi 4$0.0039Exceeds the context window

Phi 4 costs less

Agent loop

200K input + 10K output tokens

Mercury 2$0.058Exceeds the context window
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 Mercury 2 and Phi 4
SpecificationInception Mercury 2Microsoft Phi 4
MakerInceptionMicrosoft
WeightsNo public weights listedOpen weights
ReleasedMarch 4, 2026January 10, 2025
Context window128K16K
Input $/Mtok$0.25$0.07
Output $/Mtok$0.75$0.14
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it10
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Mercury 2 better than Phi 4 for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Mercury 2 has the edge where the context window is larger, 128K against 16K tokens.

Which is cheaper, Mercury 2 or Phi 4?

Mercury 2 costs $0.25 per million input tokens and $0.75 per million output tokens; Phi 4 costs $0.07 and $0.14. Cost per solved task is known for neither of them.

Which has the bigger context window, Mercury 2 or Phi 4?

Mercury 2, with 128K tokens against 16K.

How many benchmarks is the Mercury 2 vs Phi 4 comparison based on?

26 benchmarks have a result for both models as of October 21, 2026. Mercury 2's coding index rests on 1 independent benchmark and Phi 4's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next