Microsoft · model passport
Phi 4
phi-4- Open weights
- MIT licence
- 14.7B params
- 16,384 context
- Released 2024-12-12(curated)
- Overall · LMArena
- 1,256#291 of 379
- Best percentile
- 97.4HHEM Hallucination (Vectara)
- Cohort standing
- 40.4median 40.9
What the data says
Benchmarked on 8 of 22 tracked axes. Every figure below is the model's own published result on that board.
Strongest axes
- 97.4 pct — HHEM Hallucination (Vectara) (96.3%)
Uneven: 74.1 percentile points between its best and worst axis — 97.4 pct on HHEM Hallucination (Vectara) versus 23.3 pct on AIME (math).
- HHEM Hallucination (Vectara)97.4 pct96.3%Verify →
- BFCL v4 (function calling)Dormant board38.6 pct28.8%Verify →
- GPQA Diamond35.4 pct56.1%Verify →
- Hard prompts26.1 pct1,278Verify →
- Coding25.7 pct1,306Verify →
- Instruction following24.3 pct1,245Verify →
- Overall23.5 pct1,256Verify →
- AIME (math)23.3 pct13.8%Verify →
- WebDev ArenaNot benchmarked
- Vision ArenaNot benchmarked
- Factuality ArenaNot benchmarked
- Search ArenaNot benchmarked
- Document ArenaNot benchmarked
- Agent ArenaNot benchmarked
- FrontierMathNot benchmarked
- SimpleQA VerifiedNot benchmarked
- ARC-AGI-2Not benchmarked
- Humanity's Last ExamNot benchmarked
- SimpleBenchNot benchmarked
- LiveBenchNot benchmarked
- SWE-bench Verified (live board)Not benchmarked
- Terminal-Bench 4.0Not benchmarked
Percentiles are the model's standing within each board's own population. Axes marked "not benchmarked" have no published result for this model — that is an absence of data, not a low score.
How to run it
Run it yourself
Transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "microsoft/phi-4"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)Ollama
We don't sync Ollama tags, so we won't print a command we can't verify — a wrong one would pull the wrong model. Search the Ollama library →
Unsloth fine-tuning recipes are model-specific and we don't derive them here. Unsloth docs →
Use it hosted
API parameters this endpoint supports
Context, limits and prices come from the last catalogue sync; the API id, the request and the link come from the provider's own documentation. Any field we haven't synced is left out entirely rather than guessed.
Phi-4 from microsoft has a composite score of 36.8, which is 40.4% of the shrunk composite, covering 8 out of 22 axes with thin coverage being false.
standingVerify →The Phi-4 model from microsoft has a standing of 40.4, which is below the cohort median standing of 40.9 across 119 models in an 180-day window.
cohortVerify →
Phi-4 from microsoft scores at the 97.4 percentile on the HHEM Hallucination (Vectara) axis.
strengthVerify →
For Phi-4 by microsoft, the sensitivity spread is 156 across ranks 307 to 463, with best-under-template performance on Coding-focused and worst-under-template performance on All-rounder among 5 covered templates.
rank swingVerify →
Every claim is a computed fact from the current board data, phrased by a low-temperature model call and rejected by a validation gate if any number is not in the source row. How the leaderboards work →