Skip to content

Phi 4 on Mac mini M4 24 GB: VRAM, speed and fit

Phi 4 at 6-bit runs on the M4 24 GB with 16K of context at about 8.3 tokens a second.

Text generation · Chat · Ollama / LM Studio

Runs comfortably · on M4 24 GB · 6-bit (Q6_K) · Ollama / LM Studio · Chat

GPU memory
22.9 GB
of 24.0 GB
Context
16K
auto
Speed
8.3 tok/s
6.4 when full
First reply
19 s
2K prompt

Where the memory goes

Model
11.2 GB
Context
3.1 GB
Overhead
612 MB
OS
8.0 GB
Free
1.1 GB
Memory
22.9 GB of 24.0 GB
Context
16K tokens · auto
Speed
8.3 tok/s · 6.4 when full
First reply
19 s for a 2K prompt
Running cost
$0.85/mo at home · $29/mo on a cloud RTX 2000 Ada

Validation: Not validated

What Phi 4 on Mac mini M4 24 GB was checked against
CheckTargetResultStatus
Fits in GPU memory16.0 GB usable14.9 GB neededPass
Headroom5% free1.1 GB free (7%)Pass
Context for chat16K or more16KPass
Writing speed15 tok/s or more8.3 tok/sCheck
First replyunder 3 s, 2K prompt19 sFails

Targets: a reply you can read along with, a first reply the use case tolerates, and 5% of memory left free. Calculated from published specs, not benchmarked.

The setup

Model
Phi 4
Parameters
14.7B
Precision
6-bit (Q6_K)
Context
16K, auto
Chats at once
1
Use
Chat
Runs in
Ollama / LM Studio
Hardware
M4 24 GB
GPU can use
16.0 GB of 24.0 GB

Running cost

At home
$0.85/mo
39 W at the wall
Renting instead
$29/mo
RTX 2000 Ada at $0.24/h

4 h a day, power at $0.18 per kWh, cloud at RunPod on-demand prices as of Nov 22, 2026.

How to run it

llama.cpp
llama-server -hf MaziyarPanahi/phi-4-GGUF
vLLM
vllm serve microsoft/phi-4
MLX (Mac)
mlx_lm.chat --model mlx-community/phi-4-4bit

Phi 4 on similar machines

All machines: Phi 4 VRAM requirements. Everything that runs here: what can the Mac mini M4 24 GB run?

Other models that run on Mac mini M4 24 GB

Questions

Can Phi 4 run on Mac mini M4 24 GB?

Phi 4 at 6-bit runs on the M4 24 GB with 16K of context at about 8.3 tokens a second.

Report VR-05EZVG1, calculated Nov 22, 2026 from published specs, not benchmarked.