Skip to content
can-i-run-this-llm

Can I run this LLM?

Can a MacBook Pro / Mac mini M4 Pro (24GB) run Gemma 4 31B?

Gemma · Apache 2.0 · estimated for a 24.0 GB machine at 4K context.

Yes — it runs great.

Runs great

Best fit: Gemma 4 31B at Q2_K · 11.8 GB weights · 13–20 tok/s on a MacBook Pro / Mac mini M4 Pro (24GB).

Arena Text Overall · style-controlled

1,452Q2_K untested

gemma-4-31b · published configuration reference · Q2_K not tested

Arena Text Overall (style-controlled), exact published entry gemma-4-31b, 2026-10-08: reference rating 1,452.4. Published confidence bounds 1,444.9–1,459.8. 6,145 votes. Published gemma-4-31b configuration reference. Reasoning mode is not disclosed by the Arena dataset. Tested precision, runtime and sampling settings are not disclosed in this dataset. Selected Q2_K has not been measured by this Arena entry. No quantization quality adjustment is applied.

Snapshot published 2026-10-08 · snapshot imported 2026-10-11 UTC · validated last-good data · manual refresh

Arena leaderboard dataset · Arena / lmarena-ai, Arena Leaderboard Dataset (CC BY 4.0). Selected Text Overall style-controlled rows; field names adapted, ratings unchanged. · dataset CC BY 4.0 · revision e16f90232986

Total memory at 4K context
13.7 GB
Weights + KV cache + runtime overhead
Estimated generation
13–20 tok/s
Estimated first token
~43s

Every quantization on this machine

On small screens, each quant lists every metric below its name. On wider screens, scroll sideways for total memory, speed and fit. Keyboard: focus the table, then use the arrow keys. Quant names stay visible.

Gemma 4 31B quantizations on MacBook Pro / Mac mini M4 Pro (24GB), estimated at 4K context. Weights and total memory are shown separately.
QuantWeightsTotal memorySpeedFit
Q2_K11.8 GB13.7 GB13–20 tok/sRuns great
Q3_K_M14.7 GB16.7 GB11–16 tok/sTight / slow
Q4_K_M18.3 GB20.3 GB— not residentWon't fit
Q5_K_M21.7 GB23.6 GB— not residentWon't fit
Q6_K25.2 GB27.2 GB— not residentWon't fit
Q8_032.6 GB34.6 GB— not residentWon't fit
FP1661.4 GB63.4 GB— not residentWon't fit

Ran Gemma 4 31B on a MacBook Pro / Mac mini M4 Pro (24GB)? Add your real numbers →