RunsOnMy ModelsGPUs & MacsAPI pricesVRAM calculatorNew

Can I run Phi 4 mini instruct locally?

Phi 4 mini instruct by microsoft has 3.8B parameters. At 4-bit with an 8K context it needs about 4.1 GB of GPU memory. It fits on 65 of 65 GPUs and Macs we track.

4.1 GBQ4_K_M · 8K context
RTX 4060smallest consumer GPU that fits
M1 16GBsmallest Mac that fits
128Kmax context
GQAattention type

Memory needed by quant and context length

GB of GPU memory = weights + KV cache (FP16) + runtime overhead. Weights use real file sizes from unsloth/Phi-4-mini-instruct-GGUF where available (marked •), otherwise parameter count × bits per weight. How we calculate.

QuantQuality4K ctx8K ctx32K ctx128K ctx
2-bit (Q2_K) •rough2.8 GB3.3 GB6.3 GB18.3 GB
3-bit (Q3_K_M) •usable3.3 GB3.8 GB6.8 GB18.8 GB
4-bit (Q4_K_M) •good, most popular3.6 GB4.1 GB7.1 GB19.1 GB
5-bit (Q5_K_M) •very good3.9 GB4.4 GB7.4 GB19.4 GB
6-bit (Q6_K) •near lossless4.2 GB4.7 GB7.7 GB19.7 GB
8-bit (Q8_0) •effectively lossless5.1 GB5.6 GB8.6 GB20.6 GB
16-bit (F16/BF16) •original weights8.4 GB8.9 GB11.9 GB23.9 GB

Which GPUs and Macs run Phi 4 mini instruct?

Best quality quant that fits at 8K context. "Tight" = within 10% of usable memory. Speed is a ceiling from memory bandwidth (real speed is typically 50–80% of it).

HardwareMemoryFits?Best quantNeedsMax tok/s (est.)
RTX 3060 12GB12 GBFitsF168.9 GB47details
RTX 4060 Ti 16GB16 GBFitsF168.9 GB37details
RTX 309024 GBFitsF168.9 GB122details
RTX 409024 GBFitsF168.9 GB131details
RTX 509032 GBFitsF168.9 GB233details
RTX 5070 Ti16 GBFitsF168.9 GB117details
RX 7900 XTX24 GBFitsF168.9 GB125details
Mac M4 Pro 48GB48 GBFitsF168.9 GB36details
Mac M4 Max 128GB128 GBFitsF168.9 GB71details
Mac M3 Ultra 512GB512 GBFitsF168.9 GB107details
DGX Spark128 GBFitsF168.9 GB36details
RTX 407012 GBFitsF168.9 GB66details
RTX 5060 Ti 16GB16 GBFitsF168.9 GB58details
RTX 40608 GBFitsQ8_05.6 GB67details
Arc B58012 GBFitsF168.9 GB59details
RTX 3060 Ti8 GBFitsQ8_05.6 GB110details
RTX 30708 GBFitsQ8_05.6 GB110details
RTX 3080 10GB10 GBFitsQ8_05.6 GB186details
RTX 3080 12GB12 GBFitsF168.9 GB119details
RTX 3090 Ti24 GBFitsF168.9 GB131details
RTX 4060 Ti 8GB8 GBFitsQ8_05.6 GB71details
RTX 4070 Super12 GBFitsF168.9 GB66details
RTX 4070 Ti12 GBFitsF168.9 GB66details
RTX 4070 Ti Super16 GBFitsF168.9 GB87details
RTX 408016 GBFitsF168.9 GB93details
RTX 4080 Super16 GBFitsF168.9 GB96details
RTX 50608 GBFitsQ8_05.6 GB110details
RTX 507012 GBFitsF168.9 GB87details
RTX 508016 GBFitsF168.9 GB125details
2x RTX 30902×24 GBFitsF168.9 GB122details
2x RTX 40902×24 GBFitsF168.9 GB131details
2x RTX 50902×32 GBFitsF168.9 GB233details
RTX A600048 GBFitsF168.9 GB100details
RTX 6000 Ada48 GBFitsF168.9 GB125details
RTX PRO 6000 Blackwell96 GBFitsF168.9 GB233details
L40S48 GBFitsF168.9 GB112details
A100 40GB40 GBFitsF168.9 GB202details
A100 80GB80 GBFitsF168.9 GB265details
H100 PCIe80 GBFitsF168.9 GB260details
H100 SXM80 GBFitsF168.9 GB436details
H200141 GBFitsF168.9 GB625details
RX 76008 GBFitsQ8_05.6 GB71details
RX 7700 XT12 GBFitsF168.9 GB56details
RX 7800 XT16 GBFitsF168.9 GB81details
RX 7900 GRE16 GBFitsF168.9 GB75details
RX 7900 XT20 GBFitsF168.9 GB104details
RX 907016 GBFitsF168.9 GB83details
RX 9070 XT16 GBFitsF168.9 GB83details
Ryzen AI Max+ 395 128GB128 GBFitsF168.9 GB33details
Arc A770 16GB16 GBFitsF168.9 GB73details
Mac M1 16GB16 GBFitsF168.9 GB8.9details
Mac M2 24GB24 GBFitsF168.9 GB13details
Mac M3 24GB24 GBFitsF168.9 GB13details
Mac M4 16GB16 GBFitsF168.9 GB16details
Mac M4 32GB32 GBFitsF168.9 GB16details
Mac M1 Pro 32GB32 GBFitsF168.9 GB26details
Mac M3 Pro 36GB36 GBFitsF168.9 GB20details
Mac M4 Pro 24GB24 GBFitsF168.9 GB36details
Mac M4 Pro 64GB64 GBFitsF168.9 GB36details
Mac M1 Max 64GB64 GBFitsF168.9 GB52details
Mac M2 Max 96GB96 GBFitsF168.9 GB52details
Mac M3 Max 128GB128 GBFitsF168.9 GB52details
Mac M4 Max 64GB64 GBFitsF168.9 GB71details
Mac M2 Ultra 192GB192 GBFitsF168.9 GB104details
Mac M3 Ultra 256GB256 GBFitsF168.9 GB107details

Questions

How much VRAM does Phi 4 mini instruct need?

About 4.1 GB at 4-bit (Q4_K_M) with an 8K context: 2.3 GB of weights (real GGUF file size), 1.0 GB of KV cache and 0.8 GB of runtime overhead. At 8-bit it needs about 5.6 GB.

What is the smallest GPU that runs Phi 4 mini instruct?

At Q4_K_M and 8K context, the smallest single consumer GPU in our table that fits it is the RTX 4060 (8 GB).

Can I run Phi 4 mini instruct on a Mac?

Yes. At Q4_K_M with 8K context it fits on a Mac M1 16GB or larger, using the default macOS GPU memory limit.

Model facts

Hugging Face repomicrosoft/Phi-4-mini-instruct
Parameters3,836,021,760 (3.8B)
Layers / hidden size32 / 3072
AttentionGQA; 24 heads, 8 KV heads, head dim 128
KV cache per token (FP16)128.0 KiB
Max context131,072 tokens
Licensemit
Released on HFFeb 19, 2025
Downloads (30d) / likes302,028 / 890

Sources: Hugging Face model API · config.json (microsoft/Phi-4-mini-instruct) · GGUF files · GPU specs from vendor pages (list). Data fetched Nov 17, 2026. Spot an error? Report it.