Can It Run?
Home โ€บ Gemma 3 4B โ€บ M3 Max 36GB

Can an M3 Max 36GB Mac run Gemma 3 4B?

M3 Max ยท 36 GB unified memory ยท 300 GB/s ยท MacBook Pro 14" (M3 Max), MacBook Pro 16" (M3 Max)

Yes โ€” Gemma 3 4B runs on an M3 Max 36GB Mac.

At Q4_K_M it needs about 4.4 GiB, leaving 26.2 GiB spare out of the ~30.6 GiB macOS will let you use. Expect roughly 91 tokens/sec โ€” faster than you can read.

Weights
2.5 GiB
4.3B params @ Q4_K_M
KV cache
1.1 GiB
8K context, FP16
Overhead
0.9 GiB
runtime + activations
Total needed
4.4 GiB
of ~30.6 GiB usable
Est. speed
91 tok/s
300 GB/s bandwidth
Max context
128K 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?
FP168.0 GiB10.3 GiB28Yes, comfortably
Q8_04.3 GiB6.3 GiB53Yes, comfortably
Q6_K3.3 GiB5.3 GiB68Yes, comfortably
Q5_K_M2.9 GiB4.9 GiB78Yes, comfortably
Q4_K_M2.5 GiB4.4 GiB91Yes, comfortably
Q3_K_M2.0 GiB3.9 GiB114Yes, comfortably
Q2_K1.5 GiB3.4 GiB149Yes, 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
2K0.3 GiB3.4 GiBYes, comfortablyYes, comfortably
4K0.5 GiB3.8 GiBYes, comfortablyYes, comfortably
8K1.1 GiB4.4 GiBYes, comfortablyYes, comfortably
16K2.1 GiB5.8 GiBYes, comfortablyYes, comfortably
32K4.3 GiB8.5 GiBYes, comfortablyYes, comfortably
128K17.0 GiB24.9 GiBYes, comfortablyYes, comfortably

How to run it

Ollama is the shortest path. It picks a quantisation automatically โ€” usually Q4_K_M, which is what the numbers above assume.

brew install ollama
ollama serve &
ollama run gemma3:4b

For MLX โ€” Apple's own array framework, typically a little faster than llama.cpp on Apple Silicon:

pip install mlx-lm
mlx_lm.generate --model mlx-community/Gemma-3-4B-4bit --prompt "Hello"

Macs that run Gemma 3 4B comfortably

The smallest configuration that handles it is the M1 16GB (MacBook Air (M1)).

MacMemoryBandwidthTok/s
M1 16GB16 GB68 GB/s21
M1 Pro 16GB16 GB200 GB/s61
M2 16GB16 GB100 GB/s30
M4 16GB16 GB120 GB/s36
M3 Pro 18GB18 GB150 GB/s46
M2 24GB24 GB100 GB/s30
M4 24GB24 GB120 GB/s36
M4 Pro 24GB24 GB273 GB/s83
M1 Max 32GB32 GB400 GB/s121
M2 Max 32GB32 GB400 GB/s121
M4 32GB32 GB120 GB/s36
M3 Max 36GB36 GB300 GB/s91

Common questions

Can an M3 Max 36GB Mac run Gemma 3 4B?
Yes. At Q4_K_M it needs about 4.4 GiB of the roughly 30.6 GiB available, generating around 91 tokens per second.
How fast is Gemma 3 4B on an Mac?
Around 91 tokens per second. Token generation on Apple Silicon is limited by memory bandwidth, and this machine has 300 GB/s.
How much memory does Gemma 3 4B need?
2.5 GiB for the weights at Q4_K_M, plus 1.1 GiB for an 8K-token KV cache and about 0.9 GiB of runtime overhead โ€” 4.4 GiB in total.