Model comparison

GPT-4.1 vs Phi-4

GPT-4.1 is the stronger model overall, scoring 35.9 to 31.2 on the Noometry Index. Phi-4 costs 40× less per token, which makes it the better buy when GPT-4.1's lead doesn't matter for your workload.

Last verified . 24 shared benchmarks.

GPT-4.1 OpenAI

35.9

Rank #219 Confirmed

Phi-4 Microsoft

31.2

Rank #279 Confirmed

Summary

  • They share 24 benchmarks with published results for both. GPT-4.1 scores higher in 8 categories and Phi-4 in 1 category; 8 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where GPT-4.1 leads 57.6 to 40.5.
  • The biggest single-benchmark swing is Berkeley Function Calling Leaderboard: 54% for GPT-4.1 and 28.8% for Phi-4.
  • Phi-4 is cheaper at $0.07 / $0.14 per million input/output tokens, against $2 / $8 for GPT-4.1.
  • GPT-4.1 accepts more context: 1.05M tokens versus 128K.
  • Phi-4 has downloadable open weights; the other is API-only.

Side by side

GPT-4.1 and Phi-4 specifications
GPT-4.1Phi-4
ProviderOpenAIMicrosoft
Noometry Index35.931.2
Released2025-04-142024-12-11
WeightsProprietaryOpen
Context window1.05M128K
Max output33K4K
Input $ / M tokens$2$0.07
Output $ / M tokens$8$0.14
Results tracked5237

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

Category by category

Coding Too close to call

GPT-4.1: 34.4 (#238), Phi-4: 34.4 (#239)

Coding benchmarks
BenchmarkGPT-4.1Phi-4
LMArena Coding13911231
SWE-bench Verified48.5%—
SWE-bench Verified (bash only)39.6%—
Aider Polyglot52.4%—
WeirdML39%—
BigCodeBench Instruct—45.5%
LiveBench Coding—30.7%
BigCodeBench Complete—55.4%
CadEval42%—
ALE-Bench558.1—

Agentic & Tool Use GPT-4.1 leads

GPT-4.1: 34.7 (#43), Phi-4: 22.8 (#128)

Agentic & Tool Use benchmarks
BenchmarkGPT-4.1Phi-4
Berkeley Function Calling Leaderboard54%28.8%
BALROG—11.6%

Reasoning Phi-4 leads

GPT-4.1: 11.7 (#339), Phi-4: 17.7 (#291)

Reasoning benchmarks
BenchmarkGPT-4.1Phi-4
Chess Puzzles6%1%
LMArena Hard Prompts13841220
Epoch Capabilities Index136.78130.42
ARC-AGI-20.4%—
SimpleBench27%—
Kagi LLM Benchmark52.3%—
ARC-AGI-15.5%—
EnigmaEval2.2%—
LiveBench Reasoning—47.8%
DTBench68.3%—
LiveBench Data Analysis—45.2%
LMCA25.6%—
ForecastBench61.5—
LiveBench—41.6%

Math GPT-4.1 leads

GPT-4.1: 22.3 (#280), Phi-4: 20.8 (#285)

Knowledge GPT-4.1 leads

GPT-4.1: 37.1 (#160), Phi-4: 32.6 (#209)

Knowledge benchmarks
BenchmarkGPT-4.1Phi-4
GPQA Diamond66.9%56.1%
Vectara Hallucination Rate5.6%3.7%
LMArena Expert13641203
Humanity's Last Exam5.4%—
SimpleQA Verified31.1%—
MMLU-Pro81.1%—
Confabulations—29.4%
GPQA (HELM)65.9%—
MMLU—84.8%

Multimodal Not comparable

GPT-4.1: 38.2 (#67), Phi-4: —

Multimodal benchmarks
BenchmarkGPT-4.1Phi-4
LMArena Vision1211—
GeoBench72%—

Multilingual GPT-4.1 leads

GPT-4.1: 49.4 (#133), Phi-4: 37.2 (#237)

Multilingual benchmarks
BenchmarkGPT-4.1Phi-4
LMArena Non-English13701197
LMArena Chinese13821212
LMArena French13821224
LMArena German13811222
LMArena Japanese13191158
LMArena Korean13391151
LMArena Russian13771209
LMArena Spanish13761234

Instruction Following GPT-4.1 leads

GPT-4.1: 71.3 (#153), Phi-4: 60.4 (#251)

Instruction Following benchmarks
BenchmarkGPT-4.1Phi-4
LMArena Instruction Following13671201
LiveBench Instruction Following—58.4%
IFEval83.8%—

Long Context GPT-4.1 leads

GPT-4.1: 40.0 (#163), Phi-4: 36.9 (#226)

Long Context benchmarks
BenchmarkGPT-4.1Phi-4
LMArena Longer Query13851217
Fiction.LiveBench63.9%—

Writing & Preference GPT-4.1 leads

GPT-4.1: 57.6 (#125), Phi-4: 40.5 (#244)

Writing & Preference benchmarks
BenchmarkGPT-4.1Phi-4
LMArena Text13831217
LMArena Creative Writing13631182
LMArena Multi-Turn13981206
Short-Story Creative Writing—62.6%
EQ-Bench Creative Writing1420—
WildBench85.4%—
LiveBench Language—25.6%

Frequently asked questions

Is GPT-4.1 better than Phi-4?

GPT-4.1 is the stronger model overall, scoring 35.9 to 31.2 on the Noometry Index. Phi-4 costs 40× less per token, which makes it the better buy when GPT-4.1's lead doesn't matter for your workload.

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

Phi-4 is cheaper. It lists at $0.07 per million input tokens and $0.14 per million output tokens; GPT-4.1 lists at $2 and $8.

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

They score almost the same on coding (34.4 vs 34.4); test both on your own repository before choosing.

Which has the bigger context window?

GPT-4.1 does, with 1.05M tokens against 128K.

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

24 benchmarks have published results for both models. GPT-4.1 has 52 scored results on Noometry and Phi-4 has 37.

Related comparisons

Go deeper