Model comparison

GPT-4 vs Phi-4 Mini

Phi-4 Mini is the stronger model overall, scoring 30.9 to 29.1 on the Noometry Index.

Last verified . 0 shared benchmarks.

GPT-4 OpenAI

29.1

Rank #316 Confirmed

Phi-4 Mini Microsoft

30.9

Rank #283 Reported

Summary

  • The widest gap is in knowledge, where Phi-4 Mini leads 25.3 to 18.4.
  • Phi-4 Mini is cheaper at $0.075 / $0.30 per million input/output tokens, against $30 / $60 for GPT-4.
  • Phi-4 Mini accepts more context: 128K tokens versus 8K.
  • Phi-4 Mini has downloadable open weights; the other is API-only.

Side by side

GPT-4 and Phi-4 Mini specifications
GPT-4Phi-4 Mini
ProviderOpenAIMicrosoft
Noometry Index29.130.9
Released2023-03-142024-12-11
WeightsProprietaryOpen
Context window8K128K
Max output8K4K
Input $ / M tokens$30$0.075
Output $ / M tokens$60$0.30
Results tracked383

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding GPT-4 leads

GPT-4: 31.6 (#283), Phi-4 Mini: 28.1 (#317)

Coding benchmarks
BenchmarkGPT-4Phi-4 Mini
SciCode—10.8%
WeirdML12.4%—
BigCodeBench Instruct46%—
LMArena Coding1254—
BigCodeBench Complete57.2%—
HumanEval+79.3%—

Agentic & Tool Use Not comparable

GPT-4: —, Phi-4 Mini: —

Agentic & Tool Use benchmarks
BenchmarkGPT-4Phi-4 Mini
METR Time Horizons36.1%—

Reasoning Phi-4 Mini leads

GPT-4: 17.8 (#289), Phi-4 Mini: 22.4 (#195)

Reasoning benchmarks
BenchmarkGPT-4Phi-4 Mini
CritPt—0%
Chess Puzzles4%—
LMArena Hard Prompts1241—
Mystery Game Puzzles12%—
DTBench62.7%—
LMCA17.1%—
BIG-Bench Hard75.1%—
Epoch Capabilities Index125.89—
ForecastBench57.8—
HellaSwag95.3%—
WinoGrande87.5%—

Math Not comparable

GPT-4: 10.8 (#309), Phi-4 Mini: —

Math benchmarks
BenchmarkGPT-4Phi-4 Mini
OTIS Mock AIME 2024-20251.1%—
LMArena Math1269—
MATH Level 523%—
GSM8K92%—

Knowledge Phi-4 Mini leads

GPT-4: 18.4 (#282), Phi-4 Mini: 25.3 (#262)

Knowledge benchmarks
BenchmarkGPT-4Phi-4 Mini
GPQA Diamond35.7%—
Vectara Hallucination Rate—23.5%
LMArena Expert1211—
MMLU86.4%—
TriviaQA84.8%—

Multilingual Not comparable

GPT-4: 40.6 (#215), Phi-4 Mini: —

Multilingual benchmarks
BenchmarkGPT-4Phi-4 Mini
LMArena Non-English1246—
LMArena Chinese1242—
LMArena French1283—
LMArena German1251—
LMArena Japanese1209—
LMArena Korean1184—
LMArena Russian1251—
LMArena Spanish1261—

Instruction Following Not comparable

GPT-4: 65.3 (#222), Phi-4 Mini: —

Instruction Following benchmarks
BenchmarkGPT-4Phi-4 Mini
LMArena Instruction Following1241—

Long Context Not comparable

GPT-4: 37.7 (#212), Phi-4 Mini: —

Long Context benchmarks
BenchmarkGPT-4Phi-4 Mini
LMArena Longer Query1244—

Writing & Preference Not comparable

GPT-4: 34.9 (#268), Phi-4 Mini: —

Writing & Preference benchmarks
BenchmarkGPT-4Phi-4 Mini
LMArena Text1263—
LMArena Creative Writing1244—
EQ-Bench Creative Writing752—
LMArena Multi-Turn1257—

Frequently asked questions

Is GPT-4 better than Phi-4 Mini?

Phi-4 Mini is the stronger model overall, scoring 30.9 to 29.1 on the Noometry Index.

Which is cheaper, GPT-4 or Phi-4 Mini?

Phi-4 Mini is cheaper. It lists at $0.075 per million input tokens and $0.30 per million output tokens; GPT-4 lists at $30 and $60.

Is GPT-4 or Phi-4 Mini better for coding?

GPT-4 scores higher on coding benchmarks: 31.6 versus 28.1 in the Noometry coding category.

Which has the bigger context window?

Phi-4 Mini does, with 128K tokens against 8K.

How many benchmarks do GPT-4 and Phi-4 Mini share?

0 benchmarks have published results for both models. GPT-4 has 38 scored results on Noometry and Phi-4 Mini has 3.

Related comparisons

Go deeper