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

Yes. Mac mini M4 Pro (64 GB) runs Qwen 2.5 Coder 32B at Q8_0 with a 16K context, using 38.6 GB of 48.0 GB usable memory at an estimated 6.0–8.1 tok/s. The largest context that still fits at Q8_0 is 32K.

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

Open in calculator
Fits comfortablyQ8_0 · 16K context
6.0–8.1 tok/s
38.6 GBof 48.0 GB usable memory
81% used
Weights32.4 GBKV cache4.0 GBOverhead2.2 GB
9.4 GB free

Every quantization on M4 Pro 64GB

Q4_K_M (4-bit)
qwen2.5-coder:32b
18.5 GB
real file size
24.1 GBFits comfortably64K
10.2–13.8 tok/s
Calibrated
Q6_K (6-bit)
qwen2.5-coder:32b-base-q6_K
25.0 GB
real file size
30.9 GBFits comfortably64K
7.7–10.4 tok/s
Calibrated
Q8_0 (8-bit)
qwen2.5-coder:32b-base-q8_0
32.4 GB
real file size
38.6 GBFits comfortably32K
6.0–8.1 tok/s
Calibrated
FP16 / BF16 (16-bit)
qwen2.5-coder:32b-base-fp16
61.0 GB
real file size
68.5 GBToo large—
—

Mac mini M4 Pro (64 GB) has 48.0 GB usable for models out of 64 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 Coder 32B on M4 Pro 64GB by runtime

Command
Ollama
Q8_0
qwen2.5-coder:32b-base-q8_0
32.4 GB
real file size
38.6 GBFits comfortably6.0–8.1 tok/s
LM Studio
Q8_0
unsloth/Qwen2.5-Coder-32B-Instruct-GGUF
32.4 GB
real file size
38.6 GBFits comfortably6.0–8.1 tok/s
llama.cpp
Q8_0
unsloth/Qwen2.5-Coder-32B-Instruct-GGUF
32.4 GB
real file size
38.6 GBFits comfortably6.0–8.1 tok/s
MLX
8-bit
mlx-community/Qwen2.5-Coder-32B-Instruct-8bit
32.4 GB
real file size
38.6 GBFits comfortably5.1–8.6 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 Pro 64GB
—

$4.18/mo power

Rented cloud GPU
$2.01

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

OpenRouter API
$0.75

$0.66 in / $1.00 out per 1M

Counting the hardware, the API stays cheaper at every volume this machine can serve. Local still wins on privacy and offline use. Assumes 75% input and 25% output tokens, one request at a time. Rent on RunPod · Open on OpenRouter

Questions and answers

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

Yes. Mac mini M4 Pro (64 GB) runs Qwen 2.5 Coder 32B at Q8_0 with a 16K context, using 38.6 GB of 48.0 GB usable memory at an estimated 6.0–8.1 tok/s. The largest context that still fits at Q8_0 is 32K.

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

About 6.0–8.1 tok/s at Q8_0. Scaled from 6 published llama.cpp measurements on this chip.

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

At Q8_0 the largest context that fits is 32K tokens. Q4_K_M: 64K, Q6_K: 64K.