Can It Run?
HomeGemma 3 27B › M4 Pro 24GB

Can an M4 Pro 24GB Mac run Gemma 3 27B?

M4 Pro · 24 GB unified memory · 273 GB/s · Mac mini (M4 Pro), MacBook Pro 14" (M4 Pro)

No — not at Q4_K_M.

Gemma 3 27B needs about 21.1 GiB but an M4 Pro 24GB Mac has only ~20.4 GiB available for a model — you are 0.7 GiB short. macOS will swap to SSD and generation will crawl. There is a smaller quantisation that fits: see below.

Weights
15.6 GiB
27.4B params @ Q4_K_M
KV cache
3.9 GiB
8K context, FP16
Overhead
1.6 GiB
runtime + activations
Total needed
21.1 GiB
of ~20.4 GiB usable
Est. speed
13 tok/s
273 GB/s bandwidth
Max context
4K tokens
at Q4_K_M

Where the memory goes

Three things occupy memory when a model is loaded: the weights themselves, the KV cache that holds the conversation, and the runtime's own working buffers. Only the first is fixed — the KV cache grows with every token in your context.

QuantisationWeightsTotalTok/sFits?
FP1651.0 GiB58.3 GiB4No
Q8_027.1 GiB33.1 GiB8No
Q6_K21.1 GiB26.8 GiB10No
Q5_K_M18.2 GiB23.8 GiB11No
Q4_K_M15.6 GiB21.1 GiB13No
Q3_K_M12.4 GiB17.7 GiB16Yes, but tight
Q2_K9.6 GiB14.7 GiB21Yes, comfortably

The default. Best quality-per-gigabyte for most people.

How long a context fits

The KV cache is often what breaks a setup that looked fine at load time. Quantising it to 8-bit roughly halves its footprint with little measurable quality cost.

ContextKV cacheTotalFP16 KVQ8 KV
2K1.0 GiB18.0 GiBYes, but tightYes, but tight
4K1.9 GiB19.0 GiBYes, but tightYes, but tight
8K3.9 GiB21.1 GiBNoYes, but tight
16K7.8 GiB25.3 GiBNoNo
32K15.5 GiB33.6 GiBNoNo
128K62.0 GiB83.7 GiBNoNo

What to run instead on an M4 Pro 24GB Mac

These are the largest models that fit comfortably on this machine at Q4_K_M with an 8K context.

ModelSizeTotalTok/s
Mistral Small 3 24B23.6B16.2 GiB15Yes, comfortably
gpt-oss-20b20.9B13.7 GiB62Yes, comfortably
DeepSeek-R1-Distill-Qwen-14B14.8B11.2 GiB24Yes, comfortably
Qwen2.5 14B14.8B11.2 GiB24Yes, comfortably
Qwen2.5-Coder 14B14.8B11.2 GiB24Yes, comfortably
Qwen3 14B14.8B10.9 GiB24Yes, comfortably

Macs that run Gemma 3 27B comfortably

The smallest configuration that handles it is the M1 Max 32GB (MacBook Pro 14" (M1 Max)).

MacMemoryBandwidthTok/s
M1 Max 32GB32 GB400 GB/s19
M2 Max 32GB32 GB400 GB/s19
M4 32GB32 GB120 GB/s6
M3 Max 36GB36 GB300 GB/s14
M4 Max 36GB36 GB410 GB/s20
M4 Pro 48GB48 GB273 GB/s13
M4 Max 48GB48 GB546 GB/s26
M1 Max 64GB64 GB400 GB/s19
M2 Ultra 64GB64 GB800 GB/s38
M4 Pro 64GB64 GB273 GB/s13
M4 Max 64GB64 GB546 GB/s26
M2 Max 96GB96 GB400 GB/s19

Common questions

Can an M4 Pro 24GB Mac run Gemma 3 27B?
No. At Q4_K_M it needs about 21.1 GiB, and an M4 Pro 24GB Mac has roughly 20.4 GiB available for a model after macOS takes its share.
How fast is Gemma 3 27B on an Mac?
Around 13 tokens per second. Token generation on Apple Silicon is limited by memory bandwidth, and this machine has 273 GB/s.
How much memory does Gemma 3 27B need?
15.6 GiB for the weights at Q4_K_M, plus 3.9 GiB for an 8K-token KV cache and about 1.6 GiB of runtime overhead — 21.1 GiB in total.