Can MacBook Pro M4 Pro (24 GB) run Granite 4.2 30B?

Only with tuning. At Q4_K_M Granite 4.2 30B needs 22.0 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.9–9.1 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
3.9–9.1 tok/s
22.0 GBof 18.0 GB usable memory
122% used
Weights16.5 GBKV cache4.0 GBOverhead1.5 GB
+4.0 GB over limit

Every quantization on M4 Pro 24GB

Q4_K_M (4-bit)
granite4.2:30b
16.5 GB
real file size
22.0 GBPartial offload—
3.9–9.1 tok/s
Estimate
Q6_K (6-bit)
granite4.2:30b-q6_K
22.4 GB
real file size
28.1 GBToo large—
—
Q8_0 (8-bit)
granite4.2:30b-q8_0
29.0 GB
real file size
35.0 GBToo large—
—
FP16 / BF16 (16-bit)
granite4.2:30b-bf16
41.8 GB
real file size
48.4 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.

Granite 4.2 30B on M4 Pro 24GB by runtime

Command
Ollama
Q4_K_M
granite4.2:30b
16.5 GB
real file size
22.0 GBPartial offload3.9–9.1 tok/s
LM Studio
Q4_K_M
lmstudio-community/granite-4.2-30b-GGUF
16.5 GB
real file size
22.0 GBPartial offload3.9–9.1 tok/sNot in LM Studio's catalog. Search for lmstudio-community/granite-4.2-30b-GGUF in the app's Discover tab.
llama.cpp
Q4_K_M
lmstudio-community/granite-4.2-30b-GGUF
16.5 GB
real file size
22.0 GBPartial offload3.9–9.1 tok/s
MLX
4-bit
15.8 GB
estimate
21.3 GBPartial offload4.1–9.5 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.50

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 Granite 4.2 30B?

Only with tuning. At Q4_K_M Granite 4.2 30B needs 22.0 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.9–9.1 tok/s.

How fast is Granite 4.2 30B on MacBook Pro M4 Pro (24 GB)?

It does not run at a usable speed: Granite 4.2 30B does not fit into the memory of MacBook Pro M4 Pro (24 GB).

How much context can Granite 4.2 30B 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.