Run Phi-5 Mini on M3

Yes — Phi-5 Mini (4B) runs at 88 tok/s on M3 with 16 GB RAM using Q4_K_M quantization via MLX. First token latency is 0.3s. A capable open-source LLM with 4B parameters.

Speed
88
tok/s
First Token
0.3
seconds
RAM Needed
16
GB minimum
Engine
MLX
recommended

Benchmark Details

LLMCheck measured Phi-5 Mini on M3 using the standard methodology: Q4_K_M quantization, 256-token input, 512-token output, 3 runs averaged on a freshly-booted system.

MetricValue
Tokens per second88 tok/s
Time to first token0.3s
QuantizationQ4_K_M
Minimum RAM16 GB
Recommended engineMLX
Parameters4B
Benchmark date2026-05

Q4_K_M 4B MLX M3

Setup Guide: Run Phi-5 Mini on M3

The recommended engine for Phi-5 Mini on M3 is MLX. Install with pip and pull the model:

pip install mlx-lm
mlx_lm.generate --model mlx-community/phi-5-mini-q4_k_m --prompt "Hello!"

Alternatively, you can use Ollama for a simpler setup:

ollama run phi-5-mini

Performance on Other Apple Silicon Chips

ChipSpeedFirst TokenMin RAMEngine
M5 Max 145 tok/s 0.2s 128 GB MLX
M4 Pro 110 tok/s 0.3s 24 GB Ollama
M5 Pro 95 tok/s 0.3s 24 GB MLX
M2 68 tok/s 0.4s 8 GB Ollama
M1 50 tok/s 0.5s 8 GB Ollama

System Requirements

To run Phi-5 Mini on M3 you need:

Compare More Models

See how Phi-5 Mini stacks up against other models on your specific Mac hardware.

Open Compare Tool Full Leaderboard