Qwen2.5 7B Instruct
Alibaba · 7.6B · up to 32K context · apache-2.0
The default general-purpose pick for a 16GB Mac running 4-bit, with enough room left for a browser tab or two. It's a known quantity: broad training data, reliable instruction following, nothing flashy.
On a M4 Pro with 48 GB
macOS9.6 GBweights15.2 GBKV cache0.5 GBheadroom22.7 GB
- Weights
- 15.2 GB
- KV cache
- 0.5 GB
- Usable RAM
- 38.4 GB
- Headroom
- 22.7 GB
- Generation
- 14.0 tok/sest.
- Prompt processing
- 119 tok/sest.
- First token (1K prompt)
- 8.6 sest.
Decode speed is bandwidth ÷ active weight bytes, at 273 GB/s and 78% efficiency. These are modelled figures, not measurements.
Every quantization, on your Mac
| Quant | Weights | + KV | Verdict | Speed est. | Repo |
|---|---|---|---|---|---|
| q4 | 4.3 GB | 4.7 GB | FITS · 33.7 GB FREE | 49.8 tok/s | Qwen2.5-7B-Instruct-4bit |
| q8 | 8.1 GB | 8.5 GB | FITS · 29.9 GB FREE | 26.4 tok/s | Qwen2.5-7B-Instruct-8bit |
| bf16 | 15.2 GB | 15.7 GB | FITS · 22.7 GB FREE | 14.0 tok/s | Qwen2.5-7B-Instruct-bf16 |
We never host weights. Every link goes to Hugging Face.
Run it
Chat
mlx_lm.chat --model mlx-community/Qwen2.5-7B-Instruct-bf16Serve an OpenAI-compatible endpoint
mlx_lm.server --model mlx-community/Qwen2.5-7B-Instruct-bf16 --port 8080How far can you push the context
2K tokensFITS · 23.1 GB FREE
cache 0.1 GB
8K tokensFITS · 22.7 GB FREE
cache 0.5 GB
32K tokensFITS · 21.3 GB FREE
cache 1.9 GB
Which Macs run this
| Chip | Smallest RAM that fits | Speed est. |
|---|---|---|
| M1 | no configuration | — |
| M1 Pro | 32 GB | 10.0 tok/s |
| M1 Max | 32 GB | 20.8 tok/s |
| M1 Ultra | 64 GB | 42.6 tok/s |
| M2 | 24 GB | 4.8 tok/s |
| M2 Pro | 32 GB | 10.1 tok/s |
| M2 Max | 32 GB | 21.1 tok/s |
| M2 Ultra | 64 GB | 43.2 tok/s |
| M3 | 24 GB | 4.8 tok/s |
| M3 Pro | 36 GB | 7.4 tok/s |
| M3 Max (14-core CPU) | 36 GB | 15.4 tok/s |
| M3 Max (16-core CPU) | 48 GB | 21.1 tok/s |
| M3 Ultra | 96 GB | 44.7 tok/s |
| M4 | 24 GB | 5.8 tok/s |
| M4 Pro | 24 GB | 14.0 tok/s |
| M4 Max (14-core CPU) | 36 GB | 21.8 tok/s |
| M4 Max (16-core CPU) | 48 GB | 29.5 tok/s |
| M5 | 24 GB | 7.5 tok/s |
| M5 Prounverified | 24 GB | 16.0 tok/s |
| M5 Maxunverified | 36 GB | 33.5 tok/s |