# Phi 4

> Source: LMSpeed (https://lmspeed.net) — https://lmspeed.net/model/phi-4. When citing or reusing this content, credit "LMSpeed" and link to https://lmspeed.net/model/phi-4.

Microsoft Phi-4 is a compact open-weight language model in the Phi series, optimized for reasoning, math, code generation, and efficient on-device or API...

Canonical URL: https://lmspeed.net/model/phi-4
Last updated: 2026-11-04

Reproduction and quotation must name LMSpeed, link to the canonical HTML URL, and retain individual source citations.

Microsoft Phi-4 is a compact open-weight language model in the Phi series, optimized for reasoning, math, code generation, and efficient on-device or API deployment.

LLM

Quality[[4]](https://lmspeed.net/model/phi-4#model-source-4)

#152of 159

1209.8

Speed

#64of 73

43char/s

1.32 s

Official API price[[1]](https://lmspeed.net/model/phi-4#model-source-1)

$0.125input / 1M tokens

Output $0.50/1M

## Category Performance

Observed-capability estimates with uncertainty reported separately from independent benchmark families.

Coverage

5 / 8

Methodology

[V3.0](https://lmspeed.net/methodology)

#1Math41.9Estimated2/4 Measured dimensions

80% interval: 30.8–53.1

foundational math38.2

lmarena_math · lmarena_text_math_rating / lmarena_math · lmarena_text_style_control_math_rating / math_500 · math_500

competition math45.6

aime · aime

proof frontierPrior only

applied tool mathPrior only

#2Knowledge39.7Estimated2/4 Measured dimensions

80% interval: 27.8–51.6

broad knowledge45.6

mmlu · mmlu

professional knowledge33.8

lmarena_science · lmarena_text_industry_life_and_physical_and_social_science_rating / lmarena_science · lmarena_text_style_control_industry_life_and_physical_and_social_science_rating

factualityPrior only

retrieval open bookPrior only

#3Reasoning38.9RatedGlobal rank #1473/4 Measured dimensions

80% interval: 30.3–47.6

abstract logicPrior only

scientific causal41

critpt · critpt / gpqa · gpqa / hle · hle

multistep constraints44.9

mmlu_pro · mmlu_pro

evidence verification30.8

lcr · lcr

#4Instruction following37.1Estimated2/4 Measured dimensions

80% interval: 25.3–48.9

constraint following36.9

lmarena_if · lmarena_text_instruction_following_rating / lmarena_if · lmarena_text_style_control_instruction_following_rating

structured outputPrior only

novel instruction generalization37.4

ifbench · aa_if_bench

long multiturn instructionPrior only

#5Multilingual33.1Estimated2/4 Measured dimensions

80% interval: 21.8–44.4

cross language understandingPrior only

multilingual generation34.7

lmarena_multilingual · lmarena_text_chinese_rating / lmarena_multilingual · lmarena_text_french_rating / lmarena_multilingual · lmarena_text_german_rating / lmarena_multilingual · lmarena_text_japanese_rating / lmarena_multilingual · lmarena_text_korean_rating / lmarena_multilingual · lmarena_text_non_english_rating / lmarena_multilingual · lmarena_text_russian_rating / lmarena_multilingual · lmarena_text_spanish_rating / lmarena_multilingual · lmarena_text_style_control_chinese_rating / lmarena_multilingual · lmarena_text_style_control_french_rating / lmarena_multilingual · lmarena_text_style_control_german_rating / lmarena_multilingual · lmarena_text_style_control_japanese_rating / lmarena_multilingual · lmarena_text_style_control_korean_rating / lmarena_multilingual · lmarena_text_style_control_non_english_rating / lmarena_multilingual · lmarena_text_style_control_russian_rating / lmarena_multilingual · lmarena_text_style_control_spanish_rating

reasoning transfer31.5

mgsm · mgsm / mmlu_prox · mmlu_pro_x

low resource robustnessPrior only

## Specifications

[[3]](https://lmspeed.net/model/phi-4#model-source-3)

Model weights

Open weights

License

[MIT](https://lmspeed.net/model/license/mit)[[2]](https://lmspeed.net/model/phi-4#model-source-2)

Context window

16.4Ktokens

16,384 tokens · [[3]](https://lmspeed.net/model/phi-4#model-source-3)

≈ 19.7 pages of text

OpenRouter-reported max output

14.7Ktokens

14,745 tokens · [[3]](https://lmspeed.net/model/phi-4#model-source-3)

8K128K1M4M

16.4K

### Features

### Technical Details

Input

Output

Released

Jan 2025

Knowledge cutoff

2024-06-30

Documentation

[OpenRouter](https://openrouter.ai/microsoft/phi-4)[HuggingFace](https://huggingface.co/microsoft/phi-4)[Ollama](https://ollama.com/search?q=Phi%204)

Tokenizer

Other

Architecture

text->text

Moderated

No

Expiration date

2026-12-31

Supported parameters

frequency_penaltylogit_biasmax_tokensmin_ppresence_penaltyrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetop_ktop_p

## Rankings

### Excels at

## Detailed scores

Updated: Dec 2, 2026

#### Overall

15 metrics

Arena text style control / creative writing1209.8#152 / 159Arena text style control / industry writing and literature and language1229.2#153 / 159

Benchmark

Score

LMSpeed rank

Updated

Confidence

Arena text style control / creative writing[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1209.8

LMSpeed rank#152/159

UpdatedDec 2, 2026

Confidence-

Arena text style control / industry writing and literature and language[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1229.2

LMSpeed rank#153/159

UpdatedDec 2, 2026

Confidence-

Arena text style control / industry legal and government[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1298.4

LMSpeed rank#150/159

UpdatedDec 2, 2026

Confidence-

Arena text / industry business and management and financial operations[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1198.6

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

Arena text / industry legal and government[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1241.0

LMSpeed rank#153/159

UpdatedDec 2, 2026

Confidence-

Arena text / industry entertainment and sports and media[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1161.9

LMSpeed rank#153/159

UpdatedDec 2, 2026

Confidence-

Arena text / creative writing[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1181.3

LMSpeed rank#153/159

UpdatedDec 2, 2026

Confidence-

Arena text / industry writing and literature and language[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1197.7

LMSpeed rank#153/159

UpdatedDec 2, 2026

Confidence-

Arena text style control / industry entertainment and sports and media[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1202.3

LMSpeed rank#153/159

UpdatedDec 2, 2026

Confidence-

Arena text / industry medicine and healthcare[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1201.8

LMSpeed rank#152/159

UpdatedDec 2, 2026

Confidence-

Arena text style control / industry medicine and healthcare[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1273.3

LMSpeed rank#153/159

UpdatedDec 2, 2026

Confidence-

Arena text style control / industry business and management and financial operations[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1256.0

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

Overall score[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score39.0

LMSpeed rank#189/193

UpdatedNov 22, 2026

Confidence2

SVGBench Arena[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1297.0

LMSpeed rank#122/220

UpdatedDec 2, 2026

Confidence-

BuzzBench[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score38.7%

LMSpeed rank#12/15

UpdatedNov 23, 2026

Confidence-

#### Speed & latency

6 metrics

Output speed43.7 tok/s#64 / 73Time to first token0.90 s#26 / 73

Benchmark

Score

LMSpeed rank

Updated

Confidence

Output speed[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score43.7 tok/s

LMSpeed rank#64/73

UpdatedNov 4, 2026

Confidence4

Time to first token[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score0.90 s

LMSpeed rank#26/73

UpdatedNov 4, 2026

Confidence4

Berkeley Function Calling Leaderboard · cost total (USD, evaluation_total)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score8.72

LMSpeed rank#11/19

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · latency mean (seconds, per_call_mean)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score9.49 s

LMSpeed rank#13/19

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · latency sd (seconds, per_call_sd)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score26.73 s

LMSpeed rank#15/19

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · latency p95 (seconds, per_call_p95)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score23.02 s

LMSpeed rank#13/19

UpdatedNov 23, 2026

Confidence-

#### Pricing

2 metrics

Input price$0.125/MOutput price$0.500/M

Benchmark

Score

LMSpeed rank

Updated

Confidence

Input price[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score$0.125/M

LMSpeed rank-

UpdatedNov 4, 2026

Confidence-

Output price[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score$0.500/M

LMSpeed rank-

UpdatedNov 4, 2026

Confidence-

#### Agents

24 metrics

Berkeley Function Calling Leaderboard28.8%#15 / 20Berkeley Function Calling Leaderboard · non live ast acc (percent, reported_task_score)69.6%#16 / 19

Benchmark

Score

LMSpeed rank

Updated

Confidence

Berkeley Function Calling Leaderboard[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score28.8%

LMSpeed rank#15/20

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · non live ast acc (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score69.6%

LMSpeed rank#16/19

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · non live simple ast (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score74.3%

LMSpeed rank#11/19

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · non live multiple ast (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score89.5%

LMSpeed rank#16/19

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · non live parallel ast (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score65.0%

LMSpeed rank#16/19

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · non live parallel multiple ast (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score49.5%

LMSpeed rank#16/19

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · live acc (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score60.7%

LMSpeed rank#16/19

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · live simple ast (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score65.5%

LMSpeed rank#17/19

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · live multiple ast (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score59.6%

LMSpeed rank#15/19

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · live parallel ast (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score81.3%

LMSpeed rank#5/18

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · live parallel multiple ast (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score41.7%

LMSpeed rank#15/18

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · multi turn acc (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score3.9%

LMSpeed rank#17/18

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · multi turn base (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score9.0%

LMSpeed rank#15/18

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · multi turn miss param (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score3.5%

LMSpeed rank#17/18

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · multi turn long context (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score3.0%

LMSpeed rank#17/18

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · web search acc (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score4.5%

LMSpeed rank#13/17

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · web search base (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score4.0%

LMSpeed rank#14/17

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · web search no snippet (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score5.0%

LMSpeed rank#13/15

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · memory acc (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score24.7%

LMSpeed rank#5/19

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · memory kv (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score17.4%

LMSpeed rank#3/19

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · memory vector (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score25.2%

LMSpeed rank#3/19

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · memory recursive summarization (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score31.6%

LMSpeed rank#10/19

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · relevance detection (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score50.0%

LMSpeed rank#16/19

UpdatedNov 23, 2026

Confidence-

Berkeley Function Calling Leaderboard · irrelevance detection (percent, reported_task_score)[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score87.5%

LMSpeed rank#4/19

UpdatedNov 23, 2026

Confidence-

#### Coding

6 metrics

LiveCodeBench23.1%#100 / 113Arena text style control / coding1305.6#152 / 159

Benchmark

Score

LMSpeed rank

Updated

Confidence

LiveCodeBench[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score23.1%

LMSpeed rank#100/113

UpdatedNov 4, 2026

Confidence4

Arena text style control / coding[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1305.6

LMSpeed rank#152/159

UpdatedDec 2, 2026

Confidence-

Arena text style control / industry software and it services[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1289.4

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

Arena text / coding[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1231.3

LMSpeed rank#152/159

UpdatedDec 2, 2026

Confidence-

Arena text / industry software and it services[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1227.8

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

HumanEval[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score82.6

LMSpeed rank#9/10

UpdatedNov 22, 2026

Confidence2

#### Reasoning

4 metrics

MMLU-Pro71.4%#103 / 137GPQA57.5%#197 / 238

38.9#147

Dimensions and evidenceV3.0Rated

80% interval 30.3–47.63/4 Measured dimensions

Abstract logicPrior only

Scientific & causal reasoning413 families · 3 metrics

critpt · critptz -0.84 · q 1.00gpqa · gpqaz -0.94 · q 1.00hle · hlez -1.00 · q 1.00

Multi-step constraints44.91 family · 1 metric

mmlu_pro · mmlu_proz -0.78 · q 1.00

Evidence integration & verification30.81 family · 1 metric

lcr · lcrz -3.00 · q 1.00

Benchmark

Score

LMSpeed rank

Updated

Confidence

MMLU-Pro[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score71.4%

LMSpeed rank#103/137

UpdatedNov 4, 2026

Confidence4

GPQA[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score57.5%

LMSpeed rank#197/238

UpdatedNov 4, 2026

Confidence4

HLE[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score3.8%

LMSpeed rank#227/252

UpdatedNov 4, 2026

Confidence4

Reasoning score[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score24.1

LMSpeed rank#150/151

UpdatedNov 22, 2026

Confidence2

#### Knowledge

6 metrics

Arena text / industry life and physical and social science1206.5#154 / 159Arena text style control / industry life and physical and social science1264.7#154 / 159

39.7Estimated

Dimensions and evidenceV3.0Estimated

80% interval 27.8–51.62/4 Measured dimensions

Broad knowledge45.61 family · 1 metric

mmlu · mmluz -0.59 · q 1.00

Professional knowledge33.81 family · 2 metrics

lmarena_science · lmarena_text_industry_life_and_physical_and_social_science_ratingz -2.84 · q 1.00lmarena_science · lmarena_text_style_control_industry_life_and_physical_and_social_science_ratingz -2.06 · q 1.00

FactualityPrior only

Retrieval & open-book usePrior only

Benchmark

Score

LMSpeed rank

Updated

Confidence

Arena text / industry life and physical and social science[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1206.5

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

Arena text style control / industry life and physical and social science[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1264.7

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

AA-GPQA Diamond[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score57.5

LMSpeed rank#122/135

UpdatedNov 22, 2026

Confidence2

AA-HLE[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score3.8

LMSpeed rank#145/156

UpdatedNov 22, 2026

Confidence2

Knowledge score[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score52.4

LMSpeed rank#114/172

UpdatedNov 22, 2026

Confidence2

MMLU[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score84.8

LMSpeed rank#17/20

UpdatedNov 22, 2026

Confidence2

#### Math

6 metrics

AIME14.3%#52 / 68MATH-50081.0%#51 / 76

41.9Estimated

Dimensions and evidenceV3.0Estimated

80% interval 30.8–53.12/4 Measured dimensions

Foundational math38.22 families · 3 metrics

lmarena_math · lmarena_text_math_ratingz -2.25 · q 1.00lmarena_math · lmarena_text_style_control_math_ratingz -1.95 · q 1.00math_500 · math_500z -0.35 · q 1.00

Competition math45.61 family · 1 metric

aime · aimez -0.51 · q 1.00

Advanced proofsPrior only

Applied & tool-assisted mathPrior only

Benchmark

Score

LMSpeed rank

Updated

Confidence

AIME[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score14.3%

LMSpeed rank#52/68

UpdatedNov 4, 2026

Confidence4

MATH-500[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score81.0%

LMSpeed rank#51/76

UpdatedNov 4, 2026

Confidence4

Arena text style control / industry mathematical[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1278.5

LMSpeed rank#146/156

UpdatedDec 2, 2026

Confidence-

Arena text style control / math[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1264.7

LMSpeed rank#147/156

UpdatedDec 2, 2026

Confidence-

Arena text / math[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1245.8

LMSpeed rank#148/156

UpdatedDec 2, 2026

Confidence-

Arena text / industry mathematical[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1254.1

LMSpeed rank#147/156

UpdatedDec 2, 2026

Confidence-

#### Multilingual

21 metrics

Arena text style control / chinese1267.5#148 / 154Arena text / non english1196.7#154 / 159

33.1Estimated

Dimensions and evidenceV3.0Estimated

80% interval 21.8–44.42/4 Measured dimensions

Cross-language understandingPrior only

Multilingual generation34.71 family · 16 metrics

lmarena_multilingual · lmarena_text_chinese_ratingz -2.47 · q 1.00lmarena_multilingual · lmarena_text_french_ratingz -2.85 · q 1.00lmarena_multilingual · lmarena_text_german_ratingz -2.44 · q 1.00lmarena_multilingual · lmarena_text_japanese_ratingz -2.11 · q 1.00lmarena_multilingual · lmarena_text_korean_ratingz -2.50 · q 1.00lmarena_multilingual · lmarena_text_non_english_ratingz -2.30 · q 1.00lmarena_multilingual · lmarena_text_russian_ratingz -2.26 · q 1.00lmarena_multilingual · lmarena_text_spanish_ratingz -2.68 · q 1.00lmarena_multilingual · lmarena_text_style_control_chinese_ratingz -2.07 · q 1.00lmarena_multilingual · lmarena_text_style_control_french_ratingz -2.65 · q 1.00lmarena_multilingual · lmarena_text_style_control_german_ratingz -1.86 · q 1.00lmarena_multilingual · lmarena_text_style_control_japanese_ratingz -1.81 · q 1.00lmarena_multilingual · lmarena_text_style_control_korean_ratingz -2.29 · q 1.00lmarena_multilingual · lmarena_text_style_control_non_english_ratingz -2.02 · q 1.00lmarena_multilingual · lmarena_text_style_control_russian_ratingz -1.82 · q 1.00lmarena_multilingual · lmarena_text_style_control_spanish_ratingz -2.35 · q 1.00

Reasoning transfer31.52 families · 2 metrics

mgsm · mgsmz -0.97 · q 0.88mmlu_prox · mmlu_pro_xz -3.00 · q 1.00

Low-resource robustnessPrior only

Benchmark

Score

LMSpeed rank

Updated

Confidence

Arena text style control / chinese[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1267.5

LMSpeed rank#148/154

UpdatedDec 2, 2026

Confidence-

Arena text / non english[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1196.7

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

Arena text / korean[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1150.8

LMSpeed rank#125/129

UpdatedDec 2, 2026

Confidence-

Arena text / japanese[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1158.5

LMSpeed rank#121/126

UpdatedDec 2, 2026

Confidence-

Arena text style control / japanese[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1193.8

LMSpeed rank#122/126

UpdatedDec 2, 2026

Confidence-

Arena text style control / english[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1271.9

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

Arena text style control / russian[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1246.8

LMSpeed rank#154/158

UpdatedDec 2, 2026

Confidence-

Arena text / german[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1222.4

LMSpeed rank#129/136

UpdatedDec 2, 2026

Confidence-

Arena text style control / non english[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1233.2

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

Arena text style control / french[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1266.5

LMSpeed rank#135/138

UpdatedDec 2, 2026

Confidence-

Arena text style control / german[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1256.1

LMSpeed rank#131/136

UpdatedDec 2, 2026

Confidence-

Arena text / spanish[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1234.1

LMSpeed rank#139/142

UpdatedDec 2, 2026

Confidence-

Arena text style control / korean[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1196.0

LMSpeed rank#126/129

UpdatedDec 2, 2026

Confidence-

Arena text / russian[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1208.7

LMSpeed rank#154/158

UpdatedDec 2, 2026

Confidence-

Arena text / english[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1230.9

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

Arena text / french[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1224.3

LMSpeed rank#135/138

UpdatedDec 2, 2026

Confidence-

Arena text style control / spanish[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1270.0

LMSpeed rank#140/142

UpdatedDec 2, 2026

Confidence-

Arena text / chinese[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1211.4

LMSpeed rank#148/154

UpdatedDec 2, 2026

Confidence-

Multilingual score[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1.0

LMSpeed rank#20/20

UpdatedNov 22, 2026

Confidence2

MGSM[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score80.6

LMSpeed rank#7/7

UpdatedNov 22, 2026

Confidence2

MMLU-ProX[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score49.9

LMSpeed rank#15/15

UpdatedNov 22, 2026

Confidence2

#### Instruction following

4 metrics

Arena text / instruction following1201.1#154 / 159Arena text style control / instruction following1245.4#154 / 159

37.1Estimated

Dimensions and evidenceV3.0Estimated

80% interval 25.3–48.92/4 Measured dimensions

Constraint following36.91 family · 2 metrics

lmarena_if · lmarena_text_instruction_following_ratingz -2.06 · q 1.00lmarena_if · lmarena_text_style_control_instruction_following_ratingz -1.88 · q 1.00

Structured outputPrior only

Novel-instruction generalization37.41 family · 1 metric

ifbench · aa_if_benchz -1.98 · q 1.00

Multi-turn & long instructionsPrior only

Benchmark

Score

LMSpeed rank

Updated

Confidence

Arena text / instruction following[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1201.1

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

Arena text style control / instruction following[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score1245.4

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

AA-IFBench[[4]](https://lmspeed.net/model/phi-4#model-source-4)V3 evidence

Score23.5

LMSpeed rank#94/95

UpdatedNov 22, 2026

Confidence2

Instruction Following score[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score28.8

LMSpeed rank#102/103

UpdatedNov 22, 2026

Confidence2

#### Preference

14 metrics

Arena text style control / hard prompts1277.8#154 / 159Arena text / exclude ties1100.1#154 / 159

Benchmark

Score

LMSpeed rank

Updated

Confidence

Arena text style control / hard prompts[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1277.8

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

Arena text / exclude ties[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1100.1

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

Arena text / overall[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1216.7

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

Arena text style control / multi turn[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1241.8

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

Arena text style control / overall[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1256.3

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

Arena text style control / exclude ties[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1156.8

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

Arena text style control / hard prompts english[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1289.1

LMSpeed rank#152/159

UpdatedDec 2, 2026

Confidence-

Arena text / hard prompts[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1219.5

LMSpeed rank#153/159

UpdatedDec 2, 2026

Confidence-

Arena text / multi turn[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1205.9

LMSpeed rank#154/159

UpdatedDec 2, 2026

Confidence-

Arena text style control / longer query[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1266.9

LMSpeed rank#154/158

UpdatedDec 2, 2026

Confidence-

Arena text / longer query[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1217.0

LMSpeed rank#154/158

UpdatedDec 2, 2026

Confidence-

Arena text / expert[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1202.6

LMSpeed rank#151/157

UpdatedDec 2, 2026

Confidence-

Arena text style control / expert[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1268.4

LMSpeed rank#150/157

UpdatedDec 2, 2026

Confidence-

Arena text / hard prompts english[[4]](https://lmspeed.net/model/phi-4#model-source-4)

Score1229.8

LMSpeed rank#153/159

UpdatedDec 2, 2026

Confidence-

## OpenRouter endpoints

2 endpoints

Third-party OpenRouter endpoint data, shown separately from LMSpeed measurements. Some 30-minute live performance fields only appear after syncing with an OpenRouter API key.

|  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- |
| DeepInfra deepinfra/bf16/flex | $0.056/M | $0.112/M | 100% | — | — | 16.4K tokens / 14.7K tokens |
| DeepInfra deepinfra/bf16 | $0.070/M | $0.140/M | 100% | — | — | 16.4K tokens / 14.7K tokens |

## Pricing Comparison

Third-party relay quote comparison, not official model pricing. Verify currency and billing units before comparing.

|  |  | Model Variant | Group |  |  |  |  | Audit |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| [TokenFlux](https://lmspeed.net/provider/tokenflux-cloud) | L1 100% | microsoft/phi-4 | default | $0.0096/M | $0.019/M | — | — | — |
| [素墨API](https://lmspeed.net/provider/apifree-rensumo-top) | L1 0% | phi-4 | default | $0.010/request | - | — | — | — |

## Frequently Asked Questions

### What is the Phi 4 API price?

Official Standard API: input $0.125, output $0.50 per 1M tokens, USD. Standard · USD

### Can I compare Phi 4 API price and speed together?

Yes. LMSpeed shows Phi 4 API price, output speed, first-token latency, and provider health on the same page so you can compare cost and performance together.

## Sources & notes

- [1]

[Official · via Artificial Analysis](https://artificialanalysis.ai/models/phi-4)Checked: 2026-11-04

- [2]

[Model license](https://huggingface.co/microsoft/phi-4)Checked: 2026-10-17

- [3]

[OpenRouter-reported; not official](https://openrouter.ai/microsoft/phi-4)

- [4]

[Benchize](https://benchize.com/)Checked: 2026-12-02, 2024-12-12, 2026-11-23, 2026-11-04

- [5]

[LMSpeed methodology](https://lmspeed.net/methodology)

Endpoint statistics summarize 10 recorded observations. Token counts use reported usage when available and may be estimated otherwise. Output throughput excludes time to first token; first-token latency is shown separately. Benchmark data comes from Benchize (benchize.com). Category scores are calculated by LMSpeed.

Download benchmark evidence (JSON)

---
Cite as: Phi 4 — LMSpeed, https://lmspeed.net/model/phi-4 (retrieved 2026-12-04)
