BenchLeader

Phi-4

Phi-4 is a Microsoft open-weights model, released 12 Dec 2024. Its best configuration ranks #699 of 785 on the BenchLeader Index at 38.9 ±3.8, in the lower half. The ± is the point: 224 other configurations score within that range, so they and this one cannot be told apart on quality alone — price and speed are what separate them. It scores highest in maths (42) and lowest in long context (23). At $0.223 per million tokens blended it is cheaper than most ranked models. Output speed of 38 tokens per second puts it in the slowest quarter, with a first answer in 2.7 s. Last measured 22 Oct 2026.

Blended price
$0.223/M
$0.130 in · $0.500 out
Output speed
38 tok/s
measured by Artificial Analysis
First answer
2.67 s
first token 0.47 s
Context
16k
Full answer
16 s
median, reasoning included
Cost per run
–
Released
12 Dec 2024
How it scores by categoryDashed line = average model (50). One step of 15 = one standard deviation.
  1. Overall index39
  2. Reasoning42
  3. Coding41
  4. Agents & tools40
  5. Maths42
  6. Knowledge36
  7. Instruction following28
  8. Human preference40
  9. Long context23
  10. Composite36

Versions

Microsoft has shipped 4 models under this name. Each is ranked on its own results; a newer version often has fewer results so far, which holds its index nearer the average until more arrive.

ModelReleasedIndexRank
Phi-4this page12 Dec 202438.9#699
Phi 3medium23 Apr 202438.0#722
Phi-212 Dec 2023––
Phi-1.511 Sept 2023––

How its index has moved

8 Sept 2026 to 21 Oct 2026
354248

The index is recomputed from scratch every day, so a line moves when a new benchmark result lands, when a publisher revises a score, or when the models it is normalised against change. Early movement usually means the score is still settling.

Benchmark results

See all LLM benchmarks. One column per reasoning effort. Rank is among every configuration of every model on that benchmark. Hover a score for the run it came from.

Coding

Benchmarknot statedSourceTrend
Arena Coding1306#275Arena (LMArena)

Agents & tools

Knowledge

Instruction following

Benchmarknot statedSourceTrend
IFBench23.5%#399Artificial Analysis
Arena Instruction Followingnot in index1245#282Arena (LMArena)

Human preference

Benchmarknot statedSourceTrend
Arena Text1256#287Arena (LMArena)
Arena Creative Writingnot in index1210#286Arena (LMArena)
Arena Multi-turnnot in index1242#282Arena (LMArena)
Arena Longer Queriesnot in index1267#281Arena (LMArena)
Lech Mazur Creative Writingnot in index62.6%#38Lech Mazur

Long context

Benchmarknot statedSourceTrend
AA-LCR0.0%#493Artificial Analysis

Composite

Where to run it

Every provider serving this model through OpenRouter, with throughput and first-token latency measured on live traffic over the last 30 minutes and each provider’s own price. Purple marks the best in each column.

ProviderSpeedFirst tokenInput $/MOutput $/MContextQuantisation
DeepInfra80 tok/s0.37 s$0.070$0.14016kbf16

Price history

The price above, per 1M tokens, every day it changed.

$0.00$0.138$0.275$0.413$0.550Sept 26Oct 26
input outputnow $0.130 in · $0.500 out

What a task costs

Estimates from list price, output speed and time to first answer for the best configuration. “With caching” assumes three-quarters of the input is served from the prompt cache. Reasoning tokens are not modelled.

WorkloadTokens in / outCostWith cachingTime
Chat reply400 / 300$0.0002–10.6 s
Summarize a 30-page report12,000 / 600$0.0019–18.5 s
Code edit6,000 / 1,500$0.0015–42.2 s
Agentic coding session60,000 / 4,000$0.0098–1.8 min
Structured extraction2,000 / 200$0.0004–7.9 s

More from Microsoft

New this month

See also

Questions people ask

What are Phi-4's benchmark scores?
As of 25 Oct 2026, Phi-4 scores 38.9 ±3.8 on the BenchLeader Index, strongest in maths (42) and weakest in long context (23). That rests on 14 independent benchmark results, and every score on this page links to its publisher.
How does Phi-4 rank?
Phi-4 is #699 of 785 ranked configurations on 25 Oct 2026. 224 other configurations score within its margin, so the exact position matters less than the band. The leader is Claude Opus 5.5 (max effort) at 72.6.
How much does Phi-4 cost per 1M tokens?
As of 25 Oct 2026, Phi-4 costs $0.130 per 1M input tokens and $0.500 per 1M output tokens, $0.223 blended (three input tokens per output token). The list price last changed on 9 Sept 2026.
When was Phi-4 released?
Microsoft released Phi-4 on 12 Dec 2024.

Data as of 25 Oct 2026. Compare with another model.

Cite as: BenchLeader, “Phi-4: benchmarks, pricing, speed and rank”, data as of 25 Oct 2026, https://www.benchleader.com/models/phi-4.