Can Mac mini M4 (32 GB) run Qwen 2.5 32B?

Only with tuning. At Q4_K_M Qwen 2.5 32B needs 24.1 GB, more than the 24.0 GB macOS gives the GPU by default on Mac mini M4 (32 GB). It loads after raising the memory limit, but expect swapping and about 1.6–3.7 tok/s.

Asking through an AI agent? Point it at llms.txt or the JSON API.

Open in calculator
Over GPU memory limitQ4_K_M · 16K context
1.6–3.7 tok/s
24.1 GBof 24.0 GB usable memory
100% used
Weights18.5 GBKV cache4.0 GBOverhead1.6 GB
+0.1 GB over limit

Every quantization on M4 32GB

Q4_K_M (4-bit)
qwen2.5:32b
18.5 GB
real file size
24.1 GBPartial offload8K
1.6–3.7 tok/s
Estimate
Q6_K (6-bit)
qwen2.5:32b-instruct-q6_K
25.0 GB
real file size
30.9 GBToo large—
—
Q8_0 (8-bit)
qwen2.5:32b-instruct-q8_0
32.4 GB
real file size
38.6 GBToo large—
—
FP16 / BF16 (16-bit)
qwen2.5:32b-instruct-fp16
61.0 GB
real file size
68.5 GBToo large—
—

Mac mini M4 (32 GB) has 24.0 GB usable for models out of 32 GB of unified memory. Max context is the longest window that still loads without spilling out of that memory. The label under each speed says whether it was measured, scaled from measurements on this hardware, or modelled.

Qwen 2.5 32B on M4 32GB by runtime

Command
Ollama
Q4_K_M
qwen2.5:32b
18.5 GB
real file size
24.1 GBPartial offload1.6–3.7 tok/s
LM Studio
Q4_K_M
lmstudio-community/Qwen2.5-32B-Instruct-GGUF
18.5 GB
real file size
24.1 GBPartial offload1.6–3.7 tok/s
llama.cpp
Q4_K_M
lmstudio-community/Qwen2.5-32B-Instruct-GGUF
18.5 GB
real file size
24.1 GBPartial offload1.6–3.7 tok/s
MLX
4-bit
mlx-community/Qwen2.5-32B-Instruct-4bit
17.2 GB
real file size
22.7 GBTight fit4.1–6.8 tok/s

Each runtime loads its own build, so sizes differ. Ollama, LM Studio and llama.cpp use GGUF files, MLX its own format. Numbers above this table are for Ollama.

Cost per 1M tokens at 1M tokens/day

Local on M4 32GB
—

Does not fit

Rented cloud GPU
$1.16

1x RTX A6000 (48 GB) on RunPod at $0.33/hr

OpenRouter API
—

Not listed on OpenRouter

Local cost is not shown because the model does not fit. Assumes 75% input and 25% output tokens, one request at a time. Rent on RunPod

Questions and answers

Can Mac mini M4 (32 GB) run Qwen 2.5 32B?

Only with tuning. At Q4_K_M Qwen 2.5 32B needs 24.1 GB, more than the 24.0 GB macOS gives the GPU by default on Mac mini M4 (32 GB). It loads after raising the memory limit, but expect swapping and about 1.6–3.7 tok/s.

How fast is Qwen 2.5 32B on Mac mini M4 (32 GB)?

It does not run at a usable speed: Qwen 2.5 32B does not fit into the memory of Mac mini M4 (32 GB).

How much context can Qwen 2.5 32B use on Mac mini M4 (32 GB)?

None of the standard quantizations fit Mac mini M4 (32 GB), so there is no usable context length.