whatmodel.sh / Phi-4-mini-reasoning 3.8B
Phi-4-mini-reasoning 3.8B
↗ share
+ contribute
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
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.
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.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 562 | 46±1 | comparison only | |||
| 563 | 46±1 | local | |||
| 564 | 46±2 | api $0.13/M +local | |||
| 565 | 46±1 | local | |||
| 566 | 46±1 | api $0.10/M +local | |||
| more from Microsoft | |||||
| 273 | 58±1 | local | |||
| 289 | 57±1 | api $0.22/M +local | |||
| 391 | 53±1 | api $0.087/M +local | |||
$ 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.
other tests4 not in a task · 73% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| GPQA Diamond lab | 52.0% ✎ | ▁▁▁▁▂▃▅▆▇▇█▂ beats 94/336 | 30% |
| BRIDGE clinical text, zero-shot average (87 tasks) | 21.3% ✎ | ▁▁▁▁▁▃▂▃▄▆█▃ beats 14/97 | 26% |
| EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy | 41.0% ✎ | ▃·▁▁▂▃▂▅█▇▄▁ beats 22/100 | 10% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 55.7% ✎ | ▁▁▁▁▁▁▁▃▄█▄▃ beats 26/146 | 7.2% |
$ 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
- 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 | shWindowsirm https://llama.app/install.ps1 | iex - Run Phi-4-mini-reasoning 3.8B · needs 4.3 GB memory, 2.49 GB download · from huggingface.co/unslothchat in the terminal
llama cli -hf unsloth/Phi-4-mini-reasoning-GGUF:Q4_K_M - 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
- Install LM Studio · Open the app once before using the lms command.
- Run Phi-4-mini-reasoning 3.8B · needs 4.3 GB memory, 2.49 GB download · from huggingface.co/unsloth
- Or download it in the terminal
lms get https://huggingface.co/unsloth/Phi-4-mini-reasoning-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run Phi-4-mini-reasoning 3.8B · needs 5 GB memory, 3.15 GB download · from ollama.comchat in the terminal
ollama run phi4-mini-reasoning:3.8b
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run Phi-4-mini-reasoning 3.8B · needs 4 GB memory, 2.16 GB download, Mac only · from huggingface.co/lmstudio-communitychat in the terminal
mlx_lm.chat --model lmstudio-community/Phi-4-mini-reasoning-MLX-4bit - 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
| source | results | share of the score |
|---|---|---|
| 3 | 55% | |
| 1 | 26% | |
| 2 | 17% | |
| prior · pull toward the middle | 2% | |
| 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