nrzVS
Rust/UI Icons - Languages
MicrosoftMicrosoft·Released Apr 30, 2025

Phi 4: benchmarks, pricing and context window

Rust/UI Icons - ArrowLeftRightCompare Phi 4 with
Rust/UI Icons - Search
vs Nanbeige4.1-3Bvs Mistral Large 2.1vs Yi 34B Chatvs Granite 3.0 8B Instruct

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

InputText
OutputText

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.

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

Arena (LMArena) · 24Artificial Analysis · 20Epoch AI (ECI) · 37BenchLM · 24LLM Stats · 42

Phi 4 pricing

Phi 4 costs $0.125 per million input tokens and $0.50 per million output tokens.

ProviderInputCached inputOutputContext
OpenRouter$0.125–$0.5016K

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

–

8K32K128K1M10M

Phi 4 vs other models

Compare Phi 4 side by side with similar models: score, benchmarks, price and context window.

Rust/UI Icons - Search

Models like Phi 4

Models ranked just above and below Phi 4 in the nrzVS ranking.

#991NNanbeige4.1-3B8.3
#992mistralaiMistral Large 2.18.3
#993·Yi 34B Chat8.3
#995IbmGranite 3.0 8B Instruct8.2
#996Liquid AILFM2 24B A2B8.2
#997NVIDIANemotron 3 Nano 4B8.2

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.