Can MacBook Pro M4 Pro (24 GB) run Aya Expanse 32B?

Only with tuning. At Q4_K_M Aya Expanse 32B needs 21.3 GB, more than the 18.0 GB macOS gives the GPU by default on MacBook Pro M4 Pro (24 GB). It loads after raising the memory limit, but expect swapping and about 3.5–8.2 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 · 8K context
3.5–8.2 tok/s
21.3 GBof 18.0 GB usable memory
118% used
Weights18.4 GBKV cache1.3 GBOverhead1.6 GB
+3.3 GB over limit

Every quantization on M4 Pro 24GB

Q4_K_M (4-bit)
aya-expanse:32b
18.4 GB
real file size
21.3 GBPartial offload—
3.5–8.2 tok/s
Estimate
Q6_K (6-bit)
aya-expanse:32b-q6_K
24.7 GB
real file size
27.8 GBToo large—
—
Q8_0 (8-bit)
aya-expanse:32b-q8_0
32.0 GB
real file size
35.4 GBToo large—
—
FP16 / BF16 (16-bit)
aya-expanse:32b-fp16
60.2 GB
real file size
64.9 GBToo large—
—

MacBook Pro M4 Pro (24 GB) has 18.0 GB usable for models out of 24 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.

Aya Expanse 32B on M4 Pro 24GB by runtime

Command
Ollama
Q4_K_M
aya-expanse:32b
18.4 GB
real file size
21.3 GBPartial offload3.5–8.2 tok/s
LM Studio
Q4_K_M
lmstudio-community/aya-expanse-32b-GGUF
18.4 GB
real file size
21.3 GBPartial offload3.5–8.2 tok/sNot in LM Studio's catalog. Search for lmstudio-community/aya-expanse-32b-GGUF in the app's Discover tab.
llama.cpp
Q4_K_M
lmstudio-community/aya-expanse-32b-GGUF
18.4 GB
real file size
21.3 GBPartial offload3.5–8.2 tok/s
MLX
4-bit
16.9 GB
estimate
19.7 GBPartial offload3.8–8.9 tok/sNo 4-bit MLX build of this model on mlx-community. Convert one with mlx_lm.convert.

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 24GB
—

Does not fit

Rented cloud GPU
$0.56

1x RTX 3090 (24 GB) on Vast.ai at $0.18/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 Vast.ai

Questions and answers

Can MacBook Pro M4 Pro (24 GB) run Aya Expanse 32B?

Only with tuning. At Q4_K_M Aya Expanse 32B needs 21.3 GB, more than the 18.0 GB macOS gives the GPU by default on MacBook Pro M4 Pro (24 GB). It loads after raising the memory limit, but expect swapping and about 3.5–8.2 tok/s.

How fast is Aya Expanse 32B on MacBook Pro M4 Pro (24 GB)?

It does not run at a usable speed: Aya Expanse 32B does not fit into the memory of MacBook Pro M4 Pro (24 GB).

How much context can Aya Expanse 32B use on MacBook Pro M4 Pro (24 GB)?

None of the standard quantizations fit MacBook Pro M4 Pro (24 GB), so there is no usable context length.