whatmodel.sh / Phi-4-reasoning 14B

Phi-4-reasoning 14B is an open-weights language model from Microsoft, released April 2025. Its published size is 14.7B parameters and a 33k-token context window. Licence: mit.

57.9±0.9#217 of 719 LLMsfrom 24 benchmark results across 5 sources

$ how it compares

The LLMs ranked either side of Phi-4-reasoning 14B, out of 828 with a score, then more from Microsoft.

#modelscorewhereRAMreleased
259Olmo 3.1 32B Think Ai258±1local~21GB2025-12
260DeepSeek R1 Distill Llama 70B DeepSeek58±1api $0.80/M +local~30GB2025-01
261Phi-4-reasoning 14B Microsoft58±1api $0.22/M +local~10GB2025-04
262Olmo 3 32B Think Ai258±1local~21GB2025-11
263Magistral Small 1.2 Mistral58±1api $0.75/M +local~16GB2025-09
more from Microsoft
252Phi-4-reasoning-plus 14B Microsoft59±1local~10GB2025-04
365Phi-4 14B Microsoft53±1api $0.087/M +local~10GB2024-12
422WizardLM-2 8x22B Microsoft50±1local~91GB2024-04

see all LLMs · find the ones that fit your machine

$ what it's good at

coding▁▁▁▃▆██▇▆▄▃▁ #143 of 458 * · 13% of its score · 3 tests

Beats Gemini 2.5 Pro, Gemini 3.1 Flash-Lite, Qwen3-Coder-Next (80B-A3B) here, though they rank higher overall.

testresultvs the others in its rundifficultycountswhy
HumanEval+ lab +192.9% ✎▁·▁▁▂▃▄▄█▅▄▃ beats 141/145easy · avg 78%▇▇▇▇▇ 13%sharp · several runs
LiveCodeBench (Aug 1, 2024–Feb 1, 2025) lab53.8% ✎█··········█ beats 1/1—not counted yet: no other model in the same run to compare it with
LiveCodeBench 2024-08 to 2025-01 (version not stated) lab53.8% ✎█··········█ beats 1/1—not counted yet: no other model in the same run to compare it with
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #174 of 393 · 11% of its score · 3 tests

Beats Seed-OSS 36B Instruct, Nemotron-Cascade-14B-Thinking, Qwen3-VL 32B Instruct here, though they rank higher overall. Trails LFM2.5 1.2B Instruct, LFM2.5 1.2B Thinking, Gemma 3 12B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
Arena-Hard (version/judge unspecified) lab +173.3% ✎▃▃▂▅▃▆▅█▅▅▂▃ beats 22/30medium · avg 60%▇▇▇ 7.8%at its level · several runs
IFEval strict (prompt/instruction level unspecified) lab83.4% ✎█·········██ beats 1/2easy · avg 67%▇ 1.9%small run
IFEval (aggregation unspecified) lab83.4% ✎▁▁▃▁▂▄▄▆█▃▂▁ beats 64/141easy · avg 75%▇ 1.3%typical
math▁▂▃▅▆▅▄█▄▁▁▁ #173 of 398 · 20% of its score · 3 tests

Beats MiniMax-M2.1, Mistral Medium 3.5 (128B), GPT-4.1 here, though they rank higher overall. Trails OpenThinker3 7B, Olmo 3 7B Think, OpenThinker2 32B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
AIME 2025 lab +163.1% ✎█··▄··█··▄·▄ beats 2/6medium · avg 46%▇▇▇ 8.6%sharp · at its level · small run · several runs
AIME 2024 lab +174.6% ✎▄···▄█·▄▄··▄ beats 3/6medium · avg 55%▇▇▇ 8.1%sharp · small run · several runs
HMMT February 2025 lab43.8% ✎▁▁▁▃▁▅▅▃██▁▄ beats 4/31hard · avg 33%▇ 3.6%at its level · small run
other tests9 not in a task · 55% of its score
testresultvs the others in its rundifficultycountswhy
GPQA Diamond lab +167.1% ✎█··▄··▄···█▄ beats 1/6hard · avg 44%▇▇▇▇▇▇▇▇ 20%sharp · at its level · several runs
Medmarks-V mean win rate (19 verifiable medical benchmarks, 71 configurations)0.4815 ✎▁▄▃▃▇▄█▃▅▁▁▁ beats 15/30avg 0.423▇▇▇▇▇ 12%sharp
MMLU-Pro lab +174.3% ✎▁▁·▁▁▁▃▂▄▅█▁ beats 100/188medium · avg 60%▇▇▇ 8.5%at its level · several runs
Medmarks-V weighted mean win rate (61 models, 71 configurations)48.1% ✎▂▃▅▂▆▃█▅█▅▃▆ beats 14/34medium · avg 42%▇▇ 5.8%blunt · at its level
FlenQA (3K-token subset) lab +197.7% ✎▄···▄····▄·█ beats 3/4easy · avg 86%▇▇ 5.0%sharp · noisy · several runs
Open PT-LLM Leaderboard average (9 Portuguese tasks)67.9% ✎▃▁▁▁▁▁▁▁▂█▅▁ beats 142/276medium · avg 73%▇ 1.3%at its level · noisy
Omni-MATH lab +176.6% ✎█·█·█·██··██ beats 4/6easy · avg 68%▇ 1.1%blunt · at its level · small run · several runs
EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy48.7% ✎▃·▁▁▂▁▃▅█▇▄▁ beats 25/100medium · avg 68%▇ 1.0%noisy
1 more test
testresultvs the others in its rundifficultycountswhy
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy83.5% ✎▁▁▁▁▁▁▁▂▄█▄▃ beats 88/146easy · avg 83%▇ 0.6%noisy

$ where to run it

Through an API

api · Microsoft Azure · $0.22/M · $0.125 in / $0.5 out per 1M tokens · 33k context · azure.microsoft.com ↗ · price sourceUSD per 1M tokens, Azure AI Foundry Models pay-as-you-go (Microsoft models table), 'Phi-4-reasoning' (GA; not Phi-4-reasoning-plus), 32K context: input $0.125, output $0.50, region US East. Currency: USD. Microsoft Azure official pricing page (price cells carry the amounts in the page's own data), observed 2026-09-25.

llama.cpp · recommended

version

  1. Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.
    macOS / Linux
    curl -LsSf https://llama.app/install.sh | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run Phi-4-reasoning 14B · needs ~9.1 GB · from huggingface.co/lmstudio-community
    chat in the terminal
    llama cli -hf lmstudio-community/Phi-4-reasoning-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf lmstudio-community/Phi-4-reasoning-GGUF:Q4_K_M

LM Studio

version

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run Phi-4-reasoning 14B · needs ~9.1 GB · from huggingface.co/lmstudio-community

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/lmstudio-community/Phi-4-reasoning-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

version

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run Phi-4-reasoning 14B · needs ~9.32 GB · from ollama.com
    chat in the terminal
    ollama run phi4-reasoning:14b

MLX (Mac)

version

  1. Install MLX (Mac) · Apple silicon Macs only, text only.
    with uv
    uv tool install mlx-lm
    or
    pip install mlx-lm
  2. Run Phi-4-reasoning 14B · needs ~8.2 GB, Mac only · from huggingface.co/lmstudio-community
    chat in the terminal
    mlx_lm.chat --model lmstudio-community/Phi-4-reasoning-MLX-4bit
  3. Or start an OpenAI-compatible server at http://localhost:8080/v1
    mlx_lm.server --model lmstudio-community/Phi-4-reasoning-MLX-4bit

Official weights and documentation: huggingface.co/microsoft ↗

$ how the score was worked out · Microsoft — Phi-4-reasoning T… 45%, microsoft/Phi-4-reasoning mod… 34%, Medmarks: A Comprehensive Ope… 18% and 2 more

Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works

sourceresultsshare of the scorelicence
Microsoft — Phi-4-reasoning Technical Report · lab-reported10▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 45%CC BY 4.0
microsoft/Phi-4-reasoning model card · lab-reported9▇▇▇▇▇▇▇▇▇▇ 34%mit
Medmarks: A Comprehensive Open-Source LLM Benchmark Suite for Medical Tasks — authors' own runs of 61 models2▇▇▇▇▇ 18%CC BY 4.0
EuroEval leaderboards (results collection), English generative leaderboard2▇ 2%MIT
Open Portuguese LLM Leaderboard (archived)1▇ 1%Apache-2.0
prior · pull toward the middle▇ 0%
weighted average= 57.9

not counted (2)

microsoft/Phi-4-reasoning model cardLiveCodeBench (Aug 1, 2024–Feb 1, 2025) [correct]53.8%fewer than three models have this test yet, or this source ran it for this model alone
Microsoft — Phi-4-reasoning Technical ReportLiveCodeBench 2024-08 to 2025-01 (version not stated) [correct]53.8%fewer than three models have this test yet, or this source ran it for this model alone
$ quantization evidence · 4 measurements

How much of the full-precision result a quantized version kept, measured within one study. Rows from the same study share a table and aren't independent.

precisiontestfull → quantizedkept
FP8 W8A8 dynamic (weights symmetric static per-channel, activations symmetric dynamic per-token)AIME 2025 (lighteval, vLLM, reasoning parser)0.613 → 0.646105.4%source ↗
FP8 W8A8 dynamic (weights symmetric static per-channel, activations symmetric dynamic per-token)GPQA Diamond (lighteval, vLLM)0.646 → 0.665102.9%source ↗
FP8 W8A8 dynamic (weights symmetric static per-channel, activations symmetric dynamic per-token)MMLU-Pro 0-shot chat (lm-evaluation-harness `mmlu_pro_chat`, vLLM)0.765 → 0.768100.5%source ↗
FP8 W8A8 dynamic (weights symmetric static per-channel, activations symmetric dynamic per-token)MATH-500 (lighteval, vLLM)0.9 → 0.88698.4%source ↗

$ improve this page

Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.

data updated · sources and licences · json