---
title: Phi-4: benchmarks, pricing and alternatives
url: https://llmsranked.com/models/phi-4/
updated: 2026-11-19
---

[Microsoft](https://llmsranked.com/providers/microsoft/) · open weights

# Phi-4

- Data checked 19 November 2026

0

[Compare](https://llmsranked.com/compare/?m=phi-4)
[Estimate cost](https://llmsranked.com/calculator/?m=phi-4)

## Verdict

Phi-4 has no intelligence index score yet, so we rank it on the scores that are published. It costs $0.219 per 1M tokens blended. Output speed is 33 tokens per second, in the bottom quarter for speed.

Phi-4 is a 14B-parameter small language model from Microsoft, released in December 2024 with open weights under the MIT license. It is a text-only model with a 16K-token context window and no separate reasoning mode.

We could not confirm this price on Microsoft's own page, so it comes from a secondary source. Check before you budget.

## Key numbers

Intelligence index Not published

Coding score Not published

Arena vote score 1256 #27 of 27

Blended price $0.219 per 1M tokens · #4 of 37

Output speed 33 t/s #38 of 39

Context window 16K tokens

Released 12 Dec 2024 Open weights

## Strong at

- Cheaper than 89% of models
- Open weights: you can download and run it yourself

## Watch out for

- #27 of 27 on arena vote score
- #29 of 29 on GPQA Diamond
- #30 of 30 on Humanity's Last Exam
- #38 of 39 on output speed

## Phi-4 pricing

Input $0.125 per 1M tokens

Output $0.5 per 1M tokens

Blended (3:1) $0.219 per 1M tokens

Monthly cost at list price, 30 days, no caching or batch discount

| Workload | Per month |
| --- | --- |
| Support chatbot 1,000 conversations a day, 2,000 tokens in and 500 out each | $15 |
| Coding agent 200 tasks a day, 60,000 tokens in and 8,000 out each | $69 |
| Document summaries 500 documents a day, 20,000 tokens in and 1,000 out each | $45 |

## Benchmark detail

| Benchmark | Score | Rank | Run by |
| --- | --- | --- | --- |
| [GPQA Diamond](https://llmsranked.com/benchmarks/gpqa-diamond/) | 56.1% | #29 of 29 | Independent |
| [Humanity's Last Exam](https://llmsranked.com/benchmarks/humanitys-last-exam/) | 3.8% | #30 of 30 | Independent |
| AIME 2025 | 18% | #4 of 4 | Independent |
| [Time to first answer token](https://llmsranked.com/benchmarks/time-to-first-token/) | 7.2 s | #4 of 39 | Independent |
| HumanEval simple-evals | 82.6% | Not ranked | Self-reported |
| HumanEval+ internal framework | 82.8% | Not ranked | Self-reported |
| LiveCodeBench (AA legacy eval) Artificial Analysis, Phi-4 | 23.1% | Not ranked | Independent |
| Terminal-Bench Hard (AA legacy eval) Artificial Analysis, Phi-4 | 3.8% | Not ranked | Independent |
| tau2-bench Telecom (AA legacy eval) Artificial Analysis, Phi-4 | 0% | Not ranked | Independent |

Time to first answer token includes thinking time at the highest effort setting, so it is not network latency.

## Where to use Phi-4

- API: [Microsoft developer docs](https://learn.microsoft.com/en-us/azure/foundry/foundry-models/concepts/models-sold-directly-by-azure-region-availability)
- Router: [OpenRouter](https://openrouter.ai/microsoft/phi-4)
- Clouds: Azure AI Foundry
- Weights: [Hugging Face](https://huggingface.co/microsoft/phi-4) MIT

## Compare Phi-4

## Reader interest in Phi-4

Where people view and vote on this model over the last 30 days. Counted without cookies; no personal data kept.

[All reader votes](https://llmsranked.com/community/)

### Views by country

No views counted yet.

### Votes by country

No votes yet. Be the first.

### Devices

No data yet.

## Questions

How much does Phi-4 cost? $0.125 per 1M input tokens and $0.5 per 1M output tokens through the Microsoft API, as of 19 November 2026. A chatbot handling 1,000 conversations a day would cost about $15 a month at list price.

What is Phi-4's context window? 16K tokens.

Is Phi-4 open source? Its weights are open under the MIT, so you can download and run it yourself. Read the licence before commercial use.

Data notesOlder open-weight reference; Microsoft newer MAI models (MAI-Thinking-1 private preview, MAI Code 2 released 2026-11-17) lack verifiable specs/scores. Not on AA index v5. Price is Azure per AA. AIME = AIME 2025 (AA legacy).

## Sources

Every figure on this page links to one of these. Checked 19 November 2026. Spotted something out of date? [Tell us](https://llmsranked.com/contact/)

- [Artificial Analysis](https://artificialanalysis.ai/models/phi-4) · Intelligence index, Speed, Humanity's Last Exam, AIME 2025, Time to first answer token
- [LMArena (arena.ai)](https://arena.ai/leaderboard/text) · Arena
- [Artificial Analysis (secondary price source)](https://artificialanalysis.ai/models/phi-4) · Prices, Context secondary
- [Epoch AI Benchmarking Hub](https://epoch.ai/benchmarks) · GPQA Diamond
- [Microsoft (self-reported)](https://huggingface.co/microsoft/phi-4) · HumanEval
- [Microsoft (self-reported)](https://arxiv.org/html/2412.08905) · HumanEval+
- [artificialanalysis.ai](https://artificialanalysis.ai/models/phi-4) · LiveCodeBench (AA legacy eval), Terminal-Bench Hard (AA legacy eval), tau2-bench Telecom (AA legacy eval)
