Phi 4: benchmarks, pricing and context window
Phi 4 is an AI model by Microsoft, released on Apr 30, 2025. It processes up to 16K tokens of context. Prices start at $0.125 per million input tokens and $0.50 per million output tokens. In the nrzVS ranking it scores 8.3 – rank 994 of 1158.
nrzVS Score
8.3
Rank 994 of 1158
Modalities
Cost
$0.219
per 1M tokens · 3:1 input:output
$0.125 Input · $0.50 Output
Context
16Ktokens
≈ 24 pages of text
Capability tiers
Standing in each nrzVS category: the share of all ranked models that Phi 4 beats.
Top 93%
Rank 477 of 516 · nrzVS Score 7.0
Top 86%
Rank 509 of 594 · nrzVS Score 7.0
Top 88%
Rank 326 of 374 · nrzVS Score 7.8
Top 83%
Rank 414 of 499 · nrzVS Score 6.9
Top 64%
Rank 396 of 620 · nrzVS Score 4.3
93
Phi 4 benchmarks
Every result nrzVS has for Phi 4. The bar shows the percentile among all models tested on the benchmark.
HumanEval+
LLM Stats
0.929
P95
MMLU
Epoch AI (ECI)
0.797
P91
MATH
LLM Stats
0.804
P77
Arena Hard
LLM Stats
0.754
P60
MMLU
LLM Stats
0.848
P58
MATH level 5
Epoch AI (ECI)
0.649
P51
MGSM
BenchLM
80.6
P50
MMLU-Pro
LLM Stats
0.743
P45
LiveCodeBench
LLM Stats
0.538
P44
AIME 2024
BenchLM
75.3
P44
MGSM
LLM Stats
0.806
P43
HumanEval
LLM Stats
0.826
P40
DROP
LLM Stats
0.755
P40
Terminalbench Hard
Artificial Analysis
0.038
P40
ECI (Capabilities Index)
Epoch AI (ECI)
129
P38
HumanEval
BenchLM
82.6
P37
IFEval
BenchLM
83.4
P37
MMLU
BenchLM
84.8
P36
GPQA
LLM Stats
0.658
P34
MMLU-Pro
BenchLM
74.3
P34
BenchLM Score
BenchLM
42.3
P33
Gpqa Diamond
Artificial Analysis
0.575
P33
Aime 2025
Artificial Analysis
0.18
P32
LiveCodeBench
BenchLM
53.8
P32
Phi 4 pricing
Phi 4 costs $0.125 per million input tokens and $0.50 per million output tokens.
| Provider | Input | Cached input | Output | Context |
|---|---|---|---|---|
| OpenRouter | $0.125 | – | $0.50 | 16K |
per 1M tokens · USD
Phi 4 context window
How much text Phi 4 can take in and write at once.
Input
16Ktokens
≈ 24 pages of text
Output
–
Phi 4 vs other models
Compare Phi 4 side by side with similar models: score, benchmarks, price and context window.
Models like Phi 4
Models ranked just above and below Phi 4 in the nrzVS ranking.
Frequently asked questions
How good is Phi 4?+
Phi 4 reaches a nrzVS score of 8.3 – rank 994 of 1158 AI models, based on 48 benchmarks from 5 platforms.
When was Phi 4 released?+
Phi 4 was released by Microsoft on Apr 30, 2025.
Who created Phi 4?+
Phi 4 was developed by Microsoft.
How much does Phi 4 cost?+
Phi 4 costs $0.125 per million input tokens and $0.50 per million output tokens.
How large is the context window of Phi 4?+
Phi 4 processes up to 16K tokens of input.