whatmodel.sh / Phi-4-mini-reasoning 3.8B

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

Model information sources

· Parameter count ↗

Also: "the 3.8B parameters Phi-4-mini-reasoning model". Repo safetensors header total 3,836,021,760 (HF API); sibling phi-4-mini entry uses 3.84. Dense: active_b = params_b.

45.9±2.2#464 of 743 LLMsfrom 6 benchmark results across 3 sources

Score within the LMArena (text) comparison set only.

$ how it compares

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

#modelscorewhereRAMreleased
562GPT-3.5 text-davinci-003 OpenAI46±1comparison only2022-11
563Olmo 3 7B Instruct Ai246±1local~5.8GB2025-11
564Phi-4-mini-reasoning 3.8B Microsoft46±2api $0.13/M +local~4GB2025-04
565Command R Plus (04-2024) Cohere46±1local~43GB2024-04
566Ministral 3 3B Mistral46±1api $0.10/M +local~3.4GB2025-12
more from Microsoft
273Phi-4-reasoning-plus 14B Microsoft58±1local~11GB2025-04
289Phi-4-reasoning 14B Microsoft57±1api $0.22/M +local~10GB2025-04
391Phi-4 14B Microsoft53±1api $0.087/M +local~11GB2024-12

see all LLMs · find the ones that fit your machine

$ what it's good at

math▁▁▃▅█▆▅█▄▁▁▁ #190 of 440 * · 25% of its score · 2 tests

Beats MiniMax-M2.1, Mistral Medium 3.5 (128B), GPT-4.1 here, though they rank higher overall.

testresultvs the others in its rundifficultycountswhy
AIME 2024 lab57.5% ✎▁▂·▂▁▂▂▄█▅▆▁ beats 27/86medium · avg 55%▇▇▇▇▇▇▇▇ 20%sharp · at its level · noisy
MATH-500 lab94.6% ✎▁▃▂▃▄▇▅▇█▄▂▁ beats 52/85very easy · avg 86%▇▇ 4.9%noisy
other tests4 not in a task · 73% of its score
testresultvs the others in its rundifficultycountswhy
GPQA Diamond lab52.0% ✎▁▁▁▁▂▃▅▆▇▇█▂ beats 94/336medium · avg 53%▇▇▇▇▇▇▇▇▇▇▇▇ 30%sharp
BRIDGE clinical text, zero-shot average (87 tasks)21.3% ✎▁▁▁▁▁▃▂▃▄▆█▃ beats 14/97hard · avg 32%▇▇▇▇▇▇▇▇▇▇ 26%blunt · at its level
EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy41.0% ✎▃·▁▁▂▃▂▅█▇▄▁ beats 22/100medium · avg 67%▇▇▇▇ 10%sharp · at its level · noisy
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy55.7% ✎▁▁▁▁▁▁▁▃▄█▄▃ beats 26/146easy · avg 82%▇▇▇ 7.2%at its level · noisy

$ where to run it

Through an API

api · Microsoft Azure · $0.13/M · $0.075 in / $0.3 out per 1M tokens · 128k context · azure.microsoft.com ↗ · price sourceUSD per 1M tokens, Azure AI Foundry Models pay-as-you-go (Microsoft models table), 'Phi-4-mini-reasoning' (GA), 128K context: input $0.075, output $0.30, 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.

Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.

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-mini-reasoning 3.8B · needs 4.3 GB memory, 2.49 GB download · from huggingface.co/unsloth
    chat in the terminal
    llama cli -hf unsloth/Phi-4-mini-reasoning-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf unsloth/Phi-4-mini-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-mini-reasoning 3.8B · needs 4.3 GB memory, 2.49 GB download · from huggingface.co/unsloth

    open in LM Studio ↗

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

Ollama

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run Phi-4-mini-reasoning 3.8B · needs 5 GB memory, 3.15 GB download · from ollama.com
    chat in the terminal
    ollama run phi4-mini-reasoning:3.8b

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-mini-reasoning 3.8B · needs 4 GB memory, 2.16 GB download, Mac only · from huggingface.co/lmstudio-community
    chat in the terminal
    mlx_lm.chat --model lmstudio-community/Phi-4-mini-reasoning-MLX-4bit
  3. Or start an OpenAI-compatible server at http://localhost:8080/v1
    mlx_lm.server --model lmstudio-community/Phi-4-mini-reasoning-MLX-4bit

Model repository and documentation: huggingface.co/microsoft ↗

$ how the score was worked out · microsoft/Phi-4-mini-reasonin… 55%, BRIDGE Medical Leaderboard (H… 26%, EuroEval leaderboards (result… 17%

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-mini-reasoning model card · maker-reported3MIT
BRIDGE Medical Leaderboard (Harvard Medical School / Brigham and Women's YLab)1MIT
EuroEval leaderboards (results collection), English generative leaderboard2MIT
prior · pull toward the middle
weighted average= 45.9

$ 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