Microsoft
Phi-4 Mini Reasoning 4B (3.799999952316284B parameters) requires approximately 5.6 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 7 GB of VRAM.
Get started
— copy & paste to run locallyCopy-paste commands to run Phi-4 Mini Reasoning 4B on your machine.
Run
ollama run phi4-miniQuick specs
About this model
Related models
Inference speed
Estimated decode speed (tokens/sec) for Phi-4 Mini Reasoning 4B at Q4_K_M across popular GPUs and Apple Silicon, using the fastest local runtime per device. Fastest is RTX 5090 32GB at ~72 tok/s. Speed is memory-bandwidth bound, so cards that fit the whole model in VRAM run far faster than ones that offload to system RAM.
| GPU / Mac | Memory | Quant | Speed (tok/s) | Fits? |
|---|---|---|---|---|
| 32 GB | Q4_K_M | 72.2 | Fits | |
| 24 GB | Q4_K_M | 60.8 | Fits | |
| 16 GB | Q4_K_M | 60.8 | Fits | |
| 8 GB | Q4_K_M | 60.8 | Fits | |
| 24 GB | Q4_K_M | 53.2 | Fits | |
| 12 GB | Q4_K_M | 53.2 | Fits | |
| 12 GB | Q4_K_M | 53.2 | Fits | |
RX 7900 XTX 24GB | 24 GB | Q4_K_M | 53.2 | Fits |
MacBook Pro M4 Max 128GB | 128 GB | Q4_K_M | 53.2 | Fits |
Mac Studio M3 Ultra 256GB | 256 GB | Q4_K_M | 53.2 | Fits |
Mac Studio M2 Ultra 128GB | 128 GB | Q4_K_M | 53.2 | Fits |
Mac Studio M1 Ultra 128GB | 128 GB | Q4_K_M | 53.2 | Fits |
MacBook Pro M4 Max 64GB | 64 GB | Q4_K_M | 53.2 | Fits |
MacBook Pro M3 Max 64GB | 64 GB | Q4_K_M | 53.2 | Fits |
MacBook Pro M1 Max 64GB | 64 GB | Q4_K_M | 53.2 | Fits |
MacBook Pro M4 Pro 48GB | 48 GB | Q4_K_M | 53.2 | Fits |
Estimates for single-stream decoding at Q4_K_M; real tokens/sec varies with prompt length, context, batch size, and runtime build. Prompt processing (prefill) is faster than the decode figures shown here.
Quick picks
Best hardware
Run this model
Quantization options
No hardware detected — fit column shows raw VRAM estimates
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 1.5 GB | Low | — |
Q3_K_S | 3 | 1.9 GB | Low | — |
NVFP4 | 4 | 2.1 GB | Medium | — |
Q4_K_M | 4 | 2.3 GB | Medium | — |
Q5_K_M | 5 | 2.7 GB | High | — |
Q6_K | 6 | 3.1 GB | High | — |
Q8_0 | 8 | 4.1 GB | Very High | — |
F16 | 16 | 7.8 GB | Maximum | — |
Quality benchmarks
Reasoning
Source: official · 2025-04-30
Hardware compatibility
Computing compatibility...
Memory breakdown
Frequently asked questions
Phi-4 Mini Reasoning 4B (3.799999952316284B parameters) requires approximately 5.6 GB of VRAM with Q4_K_M quantization. Lower quantizations like Q4_K_M use less memory but may reduce quality.
Yes, Intel Arc A380 6GB can run Phi-4 Mini Reasoning 4B with a compatibility score of 88/100. It provides 6 GB of memory and achieves approximately 42.3 tokens per second.
The recommended quantization for Phi-4 Mini Reasoning 4B is Q4_K_M, which offers the best balance between model quality and memory efficiency. Higher quantizations preserve more quality but require more VRAM.
The top recommended hardware for Phi-4 Mini Reasoning 4B: RTX 5060 8GB (score: 93/100), RTX 5060 Ti 8GB (score: 93/100), RTX 5050 8GB (score: 93/100). These provide the best combination of memory, bandwidth, and compute for running this model locally.
Yes, Phi-4 Mini Reasoning 4B is well-suited for reasoning as well as chat. It was designed with these use cases in mind.
See also