Compare / Phi 4 vs GPT-4.1 Mini

Phi 4 vs GPT-4.1 Mini

Which is cheaper, which is more capable, and which does better at each kind of work, from 21 results on 3 sources that measured both models.

Phi 4
Microsoft · profile
GPT-4.1 Mini
OpenAI · profile
Results compared
21
Shared sources
3

Phi 4 or GPT-4.1 Mini? The short answer

  • Phi 4 is cheaper: $0.088 against $0.70 per million tokens, 8.0 times less.
  • GPT-4.1 Mini scores higher on the Artificial Analysis Intelligence Index: 10.2 against 5.9.
  • On our business benchmarks, Phi 4 ranks higher for sticking to the facts.
  • On our business benchmarks, GPT-4.1 Mini ranks higher for agents and tool use, reasoning and knowledge and writing.

At a glance

Phi 4GPT-4.1 Mini
Price per million tokens$0.070 in · $0.14 out$0.40 in · $1.60 out
Blended (3 in : 1 out)$0.088$0.70
Cheapest host, blended–$0.70 (Azure)
Intelligence Index5.910.2
Spring Prompt overall––
Output speed, tokens a second42–
Context window16,384 tokens1,047,576 tokens
WeightsOpenClosed
Developer based inthe USthe US

Prices are the developer's list price where we have read it, otherwise the typical host on OpenRouter; see every model's price. Intelligence and speed from Artificial Analysis.

Which is better for what

Each model's rank among models available today, for each kind of work, from our own benchmarks and licensed sources. The better rank is in green.

Use casePhi 4GPT-4.1 Mini
Agents and tool useMulti-step tasks with tools: support desks, coding agents, function calls 122 of 161 105 of 161
Reasoning and knowledgeHard questions across science, maths and general knowledge 178 of 195 147 of 195
WritingWhat people prefer in blind comparisons, and judged writing quality 175 of 187 122 of 187
Sticking to the factsSummarising without inventing things, and factual answers 3 of 153 144 of 153

Every shared result

BenchmarkMetricPhi 4GPT-4.1 Mini
Arena (formerly LMArena)reportedBusiness, management and financeArena rating 1,2561,379
Arena (formerly LMArena)reportedCreative writingArena rating 1,2101,349
Arena (formerly LMArena)reportedExpert promptsArena rating 1,2681,384
Arena (formerly LMArena)reportedInstruction followingArena rating 1,2451,373
Arena (formerly LMArena)reportedOverallArena rating 1,2561,383
Arena (formerly LMArena)reportedWriting, literature and languageArena rating 1,2291,361
Artificial AnalysisreportedArtificial Analysis Intelligence Indexindex score 5.9010.2
Artificial AnalysisreportedGPQA Diamond% of questions 57.5%66.4%
Artificial AnalysisreportedHumanity's Last Exam% of questions 3.8%5.0%
Artificial AnalysisreportedIFBench% of instructions 23.5%38.3%
Artificial AnalysisreportedLong-context reasoning (AA-LCR)% of questions 0.0%44.0%
Artificial AnalysisreportedTerminal-Bench Hard% of tasks 3.8%7.6%
Artificial AnalysisreportedΤ²-bench telecom% of tasks 0.0%52.9%
Berkeley Function Calling Leaderboard (BFCL) V4reportedIrrelevance detection% correct 87.5%81.7%
Berkeley Function Calling Leaderboard (BFCL) V4reportedMemory% correct 24.7%26.9%
Berkeley Function Calling Leaderboard (BFCL) V4reportedMulti-turn tasks% correct 3.9%34.1%
Berkeley Function Calling Leaderboard (BFCL) V4reportedOverall accuracy% correct 28.8%50.5%
Berkeley Function Calling Leaderboard (BFCL) V4reportedRelevance detection% correct 50.0%87.5%
Berkeley Function Calling Leaderboard (BFCL) V4reportedSingle-turn calls (curated)% correct 69.6%84.6%
Berkeley Function Calling Leaderboard (BFCL) V4reportedSingle-turn calls (user-contributed)% correct 60.7%74.8%
Berkeley Function Calling Leaderboard (BFCL) V4reportedWeb search% correct 4.5%57.0%

Bold green marks the better value on that metric. Where a source reports ranges that overlap, the difference may not be meaningful; see the benchmark page for ranges.

Quick answers

Is Phi 4 better than GPT-4.1 Mini?

It depends on the task. Among models available today, on our benchmarks and licensed sources, Phi 4 ranks higher for sticking to the facts; GPT-4.1 Mini ranks higher for agents and tool use, reasoning and knowledge and writing.

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

Phi 4 costs $0.088 per million tokens (three input to one output), against $0.70 for GPT-4.1 Mini.

Run Phi 4 and GPT-4.1 Mini on your own prompt

Benchmarks aren't your data. Try both side by side in the playground, with the cost of every answer.