Enter opens the highlighted result. Esc closes.

GPT-4o (2024-08-06) vs Phi 4

GPT-4o (2024-08-06) leads Phi 4 on the Artificial Analysis Intelligence Index, 7.7 to 5.9, and Phi 4 costs 71.4x less per output token ($0.14 vs $10.00 per million). Updated October 21, 2026; 39 benchmarks have a result for both.

GPT-4o (2024-08-06)OpenAI
Coding
No data
Overall
26.3
Output $/M
$10.00
33
Phi 4Microsoft
Coding
No data
Overall
24.7
Output $/M
$0.14
6
vs boards won of 39 shared

GPT-4o (2024-08-06) or Phi 4: which to pick

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

Pick GPT-4o (2024-08-06) for a larger context window (128K against 16K tokens) and work measured by GPQA Diamond (Artificial Analysis run) or Humanity's Last Exam (Artificial Analysis run), where it leads.

Shared results
39
GPT-4o (2024-08-06) only
19
Phi 4 only
7
Like-for-like categories
7 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
GPT-4o (2024-08-06) not benchmarked, Phi 4 not benchmarked.
Widest category
Agentic work, 28.9 points apart on average over 1 shared benchmark.
Widest single gap
Long context reasoning (AA-LCR): GPT-4o (2024-08-06) 41.0% against Phi 4 0.0%, 41.0 points apart on a 0 to 100 scale.
Output price
GPT-4o (2024-08-06) $10.00 against Phi 4 $0.14 per million output tokens, 71.4x apart.
Context window
GPT-4o (2024-08-06) 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
CategoryGPT-4o (2024-08-06)BarsPhi 4Ties
Coding40
Intelligence10
Agentic work10
Reasoning33
Math22
Knowledge41
General180
All shared boards336
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
Coding benchmarks for GPT-4o (2024-08-06) and Phi 4
BenchmarkGPT-4o (2024-08-06)Phi 4Leader
Aider polyglot23.1%Not measuredOnly GPT-4o (2024-08-06) measured
SWE-bench Lite21.7%Not measuredOnly GPT-4o (2024-08-06) measured
LiveCodeBench (Artificial Analysis run)31.7%23.1%GPT-4o (2024-08-06)
Terminal-Bench Hard (Artificial Analysis run)8.3%3.8%GPT-4o (2024-08-06)
LMArena Text: coding12831231GPT-4o (2024-08-06)
LMArena Text: software and IT12781228GPT-4o (2024-08-06)
Neither model has a result on the other 33 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GPT-4o (2024-08-06) and Phi 4
BenchmarkGPT-4o (2024-08-06)Phi 4Leader
AA Intelligence Index7.75.9GPT-4o (2024-08-06)
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 GPT-4o (2024-08-06) and Phi 4
BenchmarkGPT-4o (2024-08-06)Phi 4Leader
τ²-Bench Telecom28.9%0.0%GPT-4o (2024-08-06)
BALROGNot measured11.6%Only Phi 4 measured
Berkeley Function Calling Leaderboard (BFCL)Not measured28.8%Only Phi 4 measured
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index33
Reasoning benchmarks for GPT-4o (2024-08-06) and Phi 4
BenchmarkGPT-4o (2024-08-06)Phi 4Leader
MMMU Pro (Vals AI)64.0%Not measuredOnly GPT-4o (2024-08-06) measured
GPQA Diamond (Artificial Analysis run)52.1%57.5%Phi 4
Humanity's Last Exam (Artificial Analysis run)2.3%3.8%Phi 4
GPQA Diamond (Epoch AI run)49.2%56.1%Phi 4
SimpleBench17.8%Not measuredOnly GPT-4o (2024-08-06) measured
Chess puzzles6.0%Not measuredOnly GPT-4o (2024-08-06) measured
LMArena Text: hard prompts12641220GPT-4o (2024-08-06)
LMArena Text: expert12411203GPT-4o (2024-08-06)
LMArena Text: hard prompts in English12771230GPT-4o (2024-08-06)
Neither model has a result on the other 13 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index22
Math benchmarks for GPT-4o (2024-08-06) and Phi 4
BenchmarkGPT-4o (2024-08-06)Phi 4Leader
AIME14.0%Not measuredOnly GPT-4o (2024-08-06) measured
MATH 500 (Vals AI)75.2%Not measuredOnly GPT-4o (2024-08-06) measured
MGSM (Vals AI)90.7%Not measuredOnly GPT-4o (2024-08-06) measured
AA Math IndexNot measured18.0Only Phi 4 measured
AIME 2025 (Artificial Analysis run)Not measured18.0%Only Phi 4 measured
OTIS Mock AIME6.4%13.8%Phi 4
FrontierMath, tiers 1 to 30.4%Not measuredOnly GPT-4o (2024-08-06) measured
MATH level 553.3%64.9%Phi 4
LMArena Text: math12851246GPT-4o (2024-08-06)
LMArena Text: mathematical work12831254GPT-4o (2024-08-06)
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index41
Knowledge benchmarks for GPT-4o (2024-08-06) and Phi 4
BenchmarkGPT-4o (2024-08-06)Phi 4Leader
MMLU Pro74.1%Not measuredOnly GPT-4o (2024-08-06) measured
LegalBench (Vals AI)80.1%Not measuredOnly GPT-4o (2024-08-06) measured
CorpFin (Vals AI)39.4%Not measuredOnly GPT-4o (2024-08-06) measured
TaxEval (Vals AI)71.1%Not measuredOnly GPT-4o (2024-08-06) measured
MortgageTax (Vals AI)61.0%Not measuredOnly GPT-4o (2024-08-06) measured
MedQA (Vals AI)88.2%Not measuredOnly GPT-4o (2024-08-06) measured
MMLU Pro (Artificial Analysis run)Not measured71.4%Only Phi 4 measured
SimpleQA Verified26.0%Not measuredOnly GPT-4o (2024-08-06) measured
MMLU84.3%84.8%Phi 4
LMArena Text: science12741206GPT-4o (2024-08-06)
LMArena Text: medicine and healthcare12521202GPT-4o (2024-08-06)
LMArena Text: legal and government12751241GPT-4o (2024-08-06)
LMArena Text: business and finance12321199GPT-4o (2024-08-06)
Neither model has a result on the other 5 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for GPT-4o (2024-08-06) and Phi 4
BenchmarkGPT-4o (2024-08-06)Phi 4Leader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index180
General benchmarks for GPT-4o (2024-08-06) and Phi 4
BenchmarkGPT-4o (2024-08-06)Phi 4Leader
IFBench36.0%23.5%GPT-4o (2024-08-06)
Long context reasoning (AA-LCR)41.0%0.0%GPT-4o (2024-08-06)
Creative writing (Lech Mazur)Not measured62.6%Only Phi 4 measured
LMArena Text12831217GPT-4o (2024-08-06)
LMArena Text: instruction following12671201GPT-4o (2024-08-06)
LMArena Text: creative writing12741181GPT-4o (2024-08-06)
LMArena Vision1065Not measuredOnly GPT-4o (2024-08-06) measured
LMArena Text: English12971231GPT-4o (2024-08-06)
LMArena Text: non-English12621197GPT-4o (2024-08-06)
LMArena Text: Chinese12541212GPT-4o (2024-08-06)
LMArena Text: German12571222GPT-4o (2024-08-06)
LMArena Text: Japanese12341158GPT-4o (2024-08-06)
LMArena Text: Korean12181151GPT-4o (2024-08-06)
LMArena Text: French12631224GPT-4o (2024-08-06)
LMArena Text: Spanish12691234GPT-4o (2024-08-06)
LMArena Text: Russian12721209GPT-4o (2024-08-06)
LMArena Text: multi-turn12791206GPT-4o (2024-08-06)
LMArena Text: longer queries12831217GPT-4o (2024-08-06)
LMArena Text: writing and language12901198GPT-4o (2024-08-06)
LMArena Text: entertainment and media12671162GPT-4o (2024-08-06)
LMArena Vision: English1072Not measuredOnly GPT-4o (2024-08-06) measured
LMArena Vision: Chinese1009Not measuredOnly GPT-4o (2024-08-06) measured
Neither model has a result on the other 24 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-4o (2024-08-06) and Phi 4
BenchmarkGPT-4o (2024-08-06)Phi 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

GPT-4o (2024-08-06)$0.0075Fits in one request
Phi 4$0.0001Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

GPT-4o (2024-08-06)$0.155Fits in one request
Phi 4$0.0039Exceeds the context window

Phi 4 costs less

Agent loop

200K input + 10K output tokens

GPT-4o (2024-08-06)$0.600Exceeds 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 GPT-4o (2024-08-06) and Phi 4
SpecificationOpenAI GPT-4o (2024-08-06)Microsoft Phi 4
MakerOpenAIMicrosoft
WeightsNo public weights listedOpen weights
ReleasedAugust 6, 2024January 10, 2025
Context window128K16K
Input $/Mtok$2.50$0.07
Output $/Mtok$10.00$0.14
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4o (2024-08-06) better than Phi 4 for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick GPT-4o (2024-08-06) for a larger context window (128K against 16K tokens) and work measured by GPQA Diamond (Artificial Analysis run) or Humanity's Last Exam (Artificial Analysis run), where it leads.

Which is cheaper, GPT-4o (2024-08-06) or Phi 4?

GPT-4o (2024-08-06) costs $2.50 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 neither of them.

Which has the bigger context window, GPT-4o (2024-08-06) or Phi 4?

GPT-4o (2024-08-06), with 128K tokens against 16K.

How many benchmarks is the GPT-4o (2024-08-06) vs Phi 4 comparison based on?

39 benchmarks have a result for both models as of October 21, 2026. GPT-4o (2024-08-06)'s coding index rests on 0 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