Models / Phi-4 Mini

AI-generated content marks

The provider reports that this model does not add embedded watermarks or provenance metadata to generated output.

Provider transparency docs β†’

coding reasoning
Parameters
3.8B
Context
128k
License
mit
Developer
Microsoft
Origin
πŸ‡ΊπŸ‡Έ USA
Released
Feb 2025

Scores

Coding
55
Reasoning
58
General
52

Related models

Save your hardware and every model page answers the real question: will it run on your machine, and how fast?

Join free - save your rig β†’

Run it locally

Per-quant memory needs and a static "can you run it?" reference - no rig entry required

Q4_K_M
2.5GB 2.5GB min 3.0GB rec
Balanced - the usual local sweet spot
Q8_0
4.1GB 4.1GB min 5.0GB rec
Near-lossless

The reference hardware

Schematic of the 4x H100 80GB (320GB) reference rig - 320GB VRAM, 13400 GB/s aggregate bandwidth
Schematic of the NVIDIA DGX Station 748GB reference rig - 748GB unified memory, 8000 GB/s aggregate bandwidth
Schematic of the 8x RTX 3090 rack (192GB) reference rig - 192GB VRAM, 7489 GB/s aggregate bandwidth
Schematic of the 4x RTX 5090 (128GB) reference rig - 128GB VRAM, 7168 GB/s aggregate bandwidth
Schematic of the AMD Instinct MI300X (192GB) reference rig - 192GB VRAM, 5324 GB/s aggregate bandwidth
Schematic of the 4x RTX 4090 (96GB) reference rig - 96GB VRAM, 4032 GB/s aggregate bandwidth
Schematic of the 2x RTX 5090 (64GB) reference rig - 64GB VRAM, 3584 GB/s aggregate bandwidth
Schematic of the 2x RTX 3090 (48GB) reference rig - 48GB VRAM, 1872 GB/s aggregate bandwidth
Schematic of the Single RTX 5090 (32GB) reference rig - 32GB VRAM, 1792 GB/s aggregate bandwidth
Schematic of the RTX PRO 6000 Blackwell (96GB) reference rig - 96GB VRAM, 1792 GB/s aggregate bandwidth
Schematic of the Mac Studio M4 Ultra 192GB reference rig - 192GB unified memory, 1092 GB/s aggregate bandwidth
Schematic of the Mac Studio M4 Ultra 512GB reference rig - 512GB unified memory, 1092 GB/s aggregate bandwidth
Schematic of the Single RTX 4090 (24GB) reference rig - 24GB VRAM, 1008 GB/s aggregate bandwidth
Schematic of the MacBook Pro M5 Max 128GB reference rig - 128GB unified memory, 614 GB/s aggregate bandwidth
Schematic of the Single GTX 1080 Ti (11GB) reference rig - 11GB VRAM, 484 GB/s aggregate bandwidth
Schematic of the Dual EPYC 9004 + 768GB DDR5-4800 reference rig - 768GB unified memory, 460 GB/s aggregate bandwidth
Schematic of the DGX Spark 128GB unified reference rig - 128GB unified memory, 273 GB/s aggregate bandwidth
Schematic of the Ryzen AI Max+ 395 128GB reference rig - 128GB unified memory, 256 GB/s aggregate bandwidth
Schematic of the Jetson AGX Orin 64GB reference rig - 64GB unified memory, 204 GB/s aggregate bandwidth
Schematic of the Epyc + 512GB DDR4-3200 + 2x RTX 3090 reference rig - 560GB unified memory, 204 GB/s aggregate bandwidth
Schematic of the Epyc + 512GB DDR4-2400 + 2x RTX 3090 reference rig - 560GB unified memory, 153 GB/s aggregate bandwidth
Schematic of the NVIDIA Jetson Orin NX 16GB reference rig - 16GB unified memory, 102 GB/s aggregate bandwidth

22 reference configs, drawn in-house. Scroll for more.

Can you run it? - reference rigs

Rig Q4_K_M Q8_0
4x H100 80GB (320GB) fast 2947.1t/s fast 1797.2t/s
NVIDIA DGX Station 748GB fast 1759.4t/s fast 1073.0t/s
8x RTX 3090 rack (192GB) fast 1647.2t/s fast 1004.5t/s
4x RTX 5090 (128GB) fast 1576.5t/s fast 961.4t/s
AMD Instinct MI300X (192GB) fast 1171.1t/s fast 714.2t/s
4x RTX 4090 (96GB) fast 886.8t/s fast 540.8t/s
2x RTX 5090 (64GB) fast 788.2t/s fast 480.7t/s
2x RTX 3090 (48GB) fast 411.8t/s fast 251.1t/s
Single RTX 5090 (32GB) fast 394.1t/s fast 240.3t/s
RTX PRO 6000 Blackwell (96GB) fast 394.1t/s fast 240.3t/s
Mac Studio M4 Ultra 192GB fast 262.0t/s fast 159.8t/s
Mac Studio M4 Ultra 512GB fast 262.0t/s fast 159.8t/s
Single RTX 4090 (24GB) fast 221.7t/s fast 135.2t/s
MacBook Pro M5 Max 128GB fast 147.3t/s fast 89.8t/s
Single GTX 1080 Ti (11GB) fast 106.5t/s fast 64.9t/s
Dual EPYC 9004 + 768GB DDR5-4800 fast 101.3t/s fast 61.8t/s
DGX Spark 128GB unified fast 60.0t/s fast 36.6t/s
Ryzen AI Max+ 395 128GB fast 56.3t/s fast 34.3t/s
Jetson AGX Orin 64GB fast 45.0t/s fast 27.5t/s
Epyc + 512GB DDR4-3200 + 2x RTX 3090 fast 45.0t/s fast 27.5t/s
Epyc + 512GB DDR4-2400 + 2x RTX 3090 fast 33.8t/s fast 20.6t/s
NVIDIA Jetson Orin NX 16GB fast 22.5t/s ok 13.7t/s

Fit tiers use the same will-it-run logic as the rig finder. For comfortable fits, the badge reflects decode speed: fast >=20 t/s, ok 8-20 t/s, slow <8 t/s. t/s is a bandwidth estimate, not a measured benchmark.

Download options

Q4_K_M official -5% vs fp16
2.5GB dl 2.5GB min 3.0GB rec
REC RAM vs largest quant
Q8_0 official -1% vs fp16
4.1GB dl 4.1GB min 5.0GB rec
REC RAM vs largest quant

Or run it in the cloud

No per-token API provider pricing tracked for Phi-4 Mini yet. For flagship list prices, see the calculator.

See who runs Microsoft in production β†’

PRICE HISTORY

Inference cost over time

Data accumulates from the first daily sync - longer ranges populate over time. Prices come from OpenRouter snapshots, not a historical API.

Loading price history...