GPT-4o vs Phi 4
Wins 4 of 5 areas
Coding · Facts · Long documents · Following instructions
Wins 1 of 5 areas
Reasoning
GPT-4o is the stronger all-rounder.Phi 4 is cheaper and better at reasoning.
Scores updated · 28 tests both models report · How we compare
Where each one wins
Tests won in each of the five areas where both have results. Each piece is one test, so a longer bar means more evidence; grey means the two scored within a point of each other.
- CodingWriting and fixing software20GPT-4o2 of 2 tests
- FactsGetting facts right instead of making them up21GPT-4o2 of 3 tests
- Long documentsFinding answers in very long texts10GPT-4o1 of 1 test
- Following instructionsDoing exactly what it is asked10GPT-4o1 of 1 test
- ReasoningHard problems that need careful thinking02Phi 42 of 3 tests · 1 tie
Long documents and following instructions rest on a single test each.
What it costs
Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.
Phi 4 costs 97% less for the same work.
The biggest differences
The tests each model wins by the widest margin, up to three each. Scores are out of 100.
Where GPT-4o pulls ahead
- Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+43.3points ahead
- Follows unfamiliar, precisely checkable instructionsIFBench+12.5points ahead
- Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+9.6points ahead
Where Phi 4 pulls ahead
- Graduate-level biology, physics and chemistry questionsGPQA Diamond+4.9points ahead
- Very hard expert questions across many subjectsHumanity's Last Exam+2points ahead
Every test, side by side
All 28 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingGPT-4o
- SciCodeGPT-4o by 7.333.326+7.3
- Terminal-Bench HardGPT-4o by 4.58.33.8+4.5
ReasoningPhi 4
- GPQA DiamondPhi 4 by 4.952.657.5+4.9
- Humanity's Last ExamPhi 4 by 21.83.8+2
- CritPttie00tie
FactsGPT-4o
- AA-Omniscience · Non-hallucinationGPT-4o by 43.362.118.8+43.3
- AA-Omniscience · AccuracyGPT-4o by 9.623.714.1+9.6
- Vectara HHEM hallucination ratelower is betterPhi 4 by 5.99.63.7+5.9
Other results18 tests, not counted
Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.
- AA-OmniscienceGPT-4o by 45.2-10.5-55.7+45.2
- SimpleQAGPT-4o by 35.238.23+35.2
- τ²-Bench Telecom (AA run)GPT-4o by 28.928.90+28.9
- IFEvalGPT-4o by 188163+18
- vectara_answer_rateGPT-4o by 13.193.880.7+13.1
- Artificial Analysis Coding IndexGPT-4o by 1324.211.2+13
- MMLU-ProXGPT-4o by 11.261.149.9+11.2
- MMLUPhi 4 by 1173.884.8+11
- MGSMGPT-4o by 9.990.580.6+9.9
- AA Agentic IndexGPT-4o by 8.48.40+8.4
- DROPGPT-4o by 7.983.475.5+7.9
- HumanEvalGPT-4o by 7.690.282.6+7.6
- vectara_factual_consistencyPhi 4 by 5.990.496.3+5.9
- MATHGPT-4o by 4.985.380.4+4.9
- MMLU-ProGPT-4o by 4.374.770.4+4.3
- Arena HardGPT-4o by 3.979.375.4+3.9
- vectara_avg_summary_lengthPhi 4 by 34.3 rating points86.6120.9+34.3 rating
- AA IntelligenceGPT-4o by 1.47.35.9+1.4
Questions people ask
Which is better, GPT-4o or Phi 4?
GPT-4o wins four of the five areas where both have results: coding, facts, long documents and following instructions. Phi 4 wins reasoning, and costs 97% less.
Which is better for coding?
GPT-4o. It wins 2 of the 2 coding tests both models report; Phi 4 wins none.
Which is cheaper?
GPT-4o costs $5.00 per million input tokens and $15.00 per million output tokens; Phi 4 costs $0.13 and $0.50. That makes Phi 4 about 97% cheaper for the same work.
How do you compare the two?
We use the 28 benchmark tests both models have published scores on. The verdict counts the 10 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 18 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.