Compare / Phi 4 vs GPT-5.4 Nano

Phi 4 vs GPT-5.4 Nano

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

Phi 4
Microsoft · profile
GPT-5.4 Nano
OpenAI · profile
Results compared
15
Shared sources
3

Phi 4 or GPT-5.4 Nano? The short answer

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

At a glance

Phi 4GPT-5.4 Nano
Price per million tokens$0.070 in · $0.14 out$0.20 in · $1.25 out
Blended (3 in : 1 out)$0.088$0.46
Cheapest host, blended–$0.23 (OpenAI)
Intelligence Index5.920.7
Spring Prompt overall––
Output speed, tokens a second42–
Context window16,384 tokens400,000 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-5.4 Nano
Agents and tool useMulti-step tasks with tools: support desks, coding agents, function calls 122 of 161 59 of 161
Reasoning and knowledgeHard questions across science, maths and general knowledge 178 of 195 85 of 195
WritingWhat people prefer in blind comparisons, and judged writing quality 175 of 187 107 of 187
Sticking to the factsSummarising without inventing things, and factual answers 3 of 153 90 of 153
Speed under pressureGood decisions against a real clock (fast chess) not measured 17 of 21

Every shared result

BenchmarkMetricPhi 4GPT-5.4 Nano
Arena (formerly LMArena)reportedBusiness, management and financeArena rating 1,2561,405
Arena (formerly LMArena)reportedCreative writingArena rating 1,2101,335
Arena (formerly LMArena)reportedExpert promptsArena rating 1,2681,438
Arena (formerly LMArena)reportedInstruction followingArena rating 1,2451,387
Arena (formerly LMArena)reportedOverallArena rating 1,2561,401
Arena (formerly LMArena)reportedWriting, literature and languageArena rating 1,2291,362
Artificial AnalysisreportedArtificial Analysis Intelligence Indexindex score 5.9020.7
Artificial AnalysisreportedGPQA Diamond% of questions 57.5%81.7%
Artificial AnalysisreportedHumanity's Last Exam% of questions 3.8%28.3%
Artificial AnalysisreportedIFBench% of instructions 23.5%75.9%
Artificial AnalysisreportedLong-context reasoning (AA-LCR)% of questions 0.0%76.7%
Artificial AnalysisreportedTerminal-Bench Hard% of tasks 3.8%42.4%
Artificial AnalysisreportedΤ²-bench telecom% of tasks 0.0%76.0%
Vectara Hallucination LeaderboardreportedAnswer rate% of documents 80.7%100.0%
Vectara Hallucination LeaderboardreportedHallucination rate% of summaries 3.7%3.1%

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-5.4 Nano?

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-5.4 Nano ranks higher for agents and tool use, reasoning and knowledge and writing.

Which is cheaper, Phi 4 or GPT-5.4 Nano?

Phi 4 costs $0.088 per million tokens (three input to one output), against $0.46 for GPT-5.4 Nano.

Run Phi 4 and GPT-5.4 Nano on your own prompt

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