the AI bench
VERIFIED JUNE 2026
All models

MODEL · MICROSOFT · 3.8B DENSE

Phi-4 Mini

Microsoft's dense 3.8B instruct model built on synthetic + filtered web data. Punches above its weight on reasoning-heavy prompts in the <5B bracket. MIT license is unusually clean for commercial redistribution.

License: MIT · Context: 128K · Released: February 26, 2025

The decision in five lines

The call
Skip for local — for coding
Best for
coding · chat · docs · agents
Runs on
23 hardware picks fit (cheapest: Intel Arc B580 12 GB · $249)
Watch out
Multilingual depth or vision workloads — Phi-4 Mini is English-heavy and text-only (vision lives in the separate Phi-4-multimodal-instruct).
Evidence
Estimated · last verified April 2026

3.8B dense
PARAMETERS
DENSE
TYPE
128K
CONTEXT
~3 GB
VRAM AT Q4

Where we recommend this

Every tier slot in the planner where this model is a top or alternate pick. Pulled live from planner.js — when the planner refreshes, this table stays current.

CODING · LOW
Phi-4 MiniMicrosoft 3.8B; strongest small-model STEM and reasoning performance.
CHAT · LOW
Phi-4 MiniMicrosoft 3.8B; punches above its weight on STEM.
DOCS · LOW
Phi-4 Mini3.8B STEM specialist for focused document work.
AGENTS · LOW
Phi-4 MiniMicrosoft 3.8B; works for small tool-calling agents.

The call

Microsoft's dense 3.8B instruct model built on synthetic + filtered web data. Punches above its weight on reasoning-heavy prompts in the <5B bracket. MIT license is unusually clean for commercial redistribution.

When not to use: Multilingual depth or vision workloads — Phi-4 Mini is English-heavy and text-only (vision lives in the separate Phi-4-multimodal-instruct).

Runner notes

Ollama tag `phi4-mini`. 200K vocab + GQA means tokenization differs from Llama-family; prompt templates aren't interchangeable.

License
MIT
Released
February 26, 2025
Maker
Microsoft

Hardware that fits

Every hardware pick whose memory fits this model at the quant we recommend. Sorted cheapest-first — the top row is your best-value fit. Click through for the full buyer’s guide.

Next step

Find-by-model — see what hardware runs this