← Canonical rankings
Canonical Rankings

Best Macs for this model

Gemma 4 31B ranked across the Mac lineup at the best practical quantization, using the best available runtime evidence.

28 ranked MacsUse the strongest current runtime evidence for each row.Static paths cover only canonical model pages; sort and quantization stay as query state.
RankMacScoreQuantTok/sRuntimeFitsEvidencePriceWhy it ranks here
1Mac Studio M3 Ultra 256GB3578bit18.0 tok/sMLXFitsEstimated$7,4998bit is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 219.4 GB headroom remains at this quantization.
2Mac Pro M2 Ultra 192GB2938bit18.0 tok/sMLXFitsEstimated$6,9998bit is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 155.4 GB headroom remains at this quantization.
3Mac Studio M4 Max 128GB2298bit18.0 tok/sMLXFitsEstimated$4,4998bit is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 91.4 GB headroom remains at this quantization.
4MacBook Pro M4 Max 128GB 16-inch2298bit18.0 tok/sMLXFitsEstimated$5,9998bit is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 91.4 GB headroom remains at this quantization.
5Mac Studio M3 Ultra 96GB1978bit18.0 tok/sMLXFitsEstimated$3,9998bit is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 59.4 GB headroom remains at this quantization.
6Mac Studio M4 Max 64GB1658bit18.0 tok/sMLXFitsEstimated$2,9998bit is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 27.4 GB headroom remains at this quantization.
7MacBook Pro M4 Max 64GB 16-inch1658bit18.0 tok/sMLXFitsEstimated$4,4998bit is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 27.4 GB headroom remains at this quantization.
8Mac Mini M4 Pro 48GB1498bit18.0 tok/sMLXFitsEstimated$1,5998bit is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 11.4 GB headroom remains at this quantization.
9MacBook Pro M4 Pro 48GB 14-inch1498bit18.0 tok/sMLXFitsEstimated$2,4998bit is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 11.4 GB headroom remains at this quantization.
10Mac Studio M4 Max 48GB1498bit18.0 tok/sMLXFitsEstimated$2,4998bit is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 11.4 GB headroom remains at this quantization.
11MacBook Pro M4 Pro 48GB 16-inch1498bit18.0 tok/sMLXFitsEstimated$2,9998bit is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 11.4 GB headroom remains at this quantization.
12MacBook Pro M4 Max 48GB 14-inch1498bit18.0 tok/sMLXFitsEstimated$3,4998bit is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 11.4 GB headroom remains at this quantization.
13MacBook Pro M4 Max 48GB 16-inch1498bit18.0 tok/sMLXFitsEstimated$3,9998bit is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 11.4 GB headroom remains at this quantization.
14Mac Studio M4 Max 36GB1396bit18.0 tok/sMLXFitsEstimated$1,9996bit is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 6.6 GB headroom remains at this quantization.
15MacBook Pro M4 Max 36GB 14-inch1396bit18.0 tok/sMLXFitsEstimated$2,9996bit is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 6.6 GB headroom remains at this quantization.
16MacBook Pro M4 Max 36GB 16-inch1396bit18.0 tok/sMLXFitsEstimated$3,4996bit is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 6.6 GB headroom remains at this quantization.
17Mac Mini M4 32GB132Q518.0 tok/sMLXFitsEstimated$799Q5 is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 6.1 GB headroom remains at this quantization.
18MacBook Air M4 32GB 13-inch132Q518.0 tok/sMLXFitsEstimated$1,499Q5 is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 6.1 GB headroom remains at this quantization.
19MacBook Air M4 32GB 15-inch132Q518.0 tok/sMLXFitsEstimated$1,699Q5 is the current best practical quantization. 18.0 tok/s is estimated from nearby benchmark coverage. 6.1 GB headroom remains at this quantization.
20Mac Mini M4 24GB87Q2_K14.0 tok/sOllamaFitsEstimated$599Q2_K is the current best practical quantization. 14.0 tok/s is estimated from nearby benchmark coverage. 6.6 GB headroom remains at this quantization.
21MacBook Air M4 24GB 13-inch87Q2_K14.0 tok/sOllamaFitsEstimated$1,299Q2_K is the current best practical quantization. 14.0 tok/s is estimated from nearby benchmark coverage. 6.6 GB headroom remains at this quantization.
22Mac Mini M4 Pro 24GB87Q2_K14.0 tok/sOllamaFitsEstimated$1,399Q2_K is the current best practical quantization. 14.0 tok/s is estimated from nearby benchmark coverage. 6.6 GB headroom remains at this quantization.
23MacBook Air M4 24GB 15-inch87Q2_K14.0 tok/sOllamaFitsEstimated$1,499Q2_K is the current best practical quantization. 14.0 tok/s is estimated from nearby benchmark coverage. 6.6 GB headroom remains at this quantization.
24MacBook Pro M4 Pro 24GB 14-inch87Q2_K14.0 tok/sOllamaFitsEstimated$1,999Q2_K is the current best practical quantization. 14.0 tok/s is estimated from nearby benchmark coverage. 6.6 GB headroom remains at this quantization.
25MacBook Pro M4 Pro 24GB 16-inch87Q2_K14.0 tok/sOllamaFitsEstimated$2,499Q2_K is the current best practical quantization. 14.0 tok/s is estimated from nearby benchmark coverage. 6.6 GB headroom remains at this quantization.
26Mac Mini M4 16GB0F32MLXNoEstimated$499Gemma 4 31B does not fit on Mac Mini M4 16GB at the current practical quantization.
27MacBook Air M4 16GB 13-inch0F32MLXNoEstimated$1,099Gemma 4 31B does not fit on MacBook Air M4 16GB 13-inch at the current practical quantization.
28MacBook Air M4 16GB 15-inch0F32MLXNoEstimated$1,299Gemma 4 31B does not fit on MacBook Air M4 16GB 15-inch at the current practical quantization.

Gemma 4 31B — ranking first, raw rows below

Start with the ranked Mac table above. Use the rest of this page to inspect raw Apple Silicon coverage and model metadata.

Quantizations observed: Q4_K - Medium

3Benchmark rows
3Chip tiers covered
26.0Fastest avg tok/s (M5 Max (128 GB))
Minimum RAM observed

Fastest published result is 26.0 tok/s on M5 Max (128 GB) at Q4_K - Medium. Published runtimes include MLX, Ollama. Start with Rankings for the decision, then use the raw rows below to audit the evidence.

Evidence state: 3 linked reference rows and no Silicon Score Lab rows yet.

Published runtimes here: MLX, Ollama.

30.7BTotal params
DenseActive params
262,144Context window
2026-04-02Release date

What this model is, and what Apple Silicon users are actually seeing

Official model cards tell you what the model is for and which software stacks it targets. Field reality below shows how much Apple Silicon evidence we have so far.

Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input (with audio supported on small models) and generating text output. This release includes open-weights models in both pre-trained and instruction-tuned variants.

Official source  ·  Raw model card

agentscodingreasoningvisual-understanding

Runtime support mentioned

llama.cppTransformers

Official takeaways

  • No Thinking Content in History: In multi-turn conversations, the historical model output should only include the final response. Thoughts from previous model turns must not be added before the next user turn begins.
  • Web Documents: A diverse collection of web text ensures the model is exposed to a broad range of linguistic styles, topics, and vocabulary. The training dataset includes content in over 140 languages.
  • Code: Exposing the model to code helps it to learn the syntax and patterns of programming languages, which improves its ability to generate code and understand code-related questions.
  • Mathematics: Training on mathematical text helps the model learn logical reasoning, symbolic representation, and to address mathematical queries.

Official model cards describe intent, capabilities, and supported stacks. They do not prove Apple Silicon speed by themselves.

Gemma 4 31B: 2 Apple Silicon field reports; best reported generation ~18 tok/s; best reported prompt processing ~161.5 tok/s; seen on MacBook Pro M4 MAX 36GB; via oMLX.

3Benchmark rows
2Field reports
1Practitioner signals
Sparse BenchmarksEvidence status

What practitioners keep saying

  • The oMLX page reports Gemma 4 31B 4bit on an M4 Max 36GB MacBook Pro at 4096 tokens context with 161.5 tok/s prompt processing and 12.5 tok/s generation.
  • The same report shows generation dropping from 18.0 tok/s at 1024 tokens context to 7.8 tok/s at 8192 tokens context, which keeps Gemma 4 31B in the watchlist but flags long-context cost.

Runtime mentions in the field

oMLX

Hardware mentioned in reports

M4MacBookMacBook Pro

What would improve confidence

  • Capture Practitioner Runtime Notes
  • Queue Lab Verification If Hardware Available
  • Reproduce Field Performance Signal
  • Upgrade To First Party Measurement

Published chip coverage includes M5 Max (128 GB), M4 Max (48 GB), M4 Pro (24 GB). Fastest published row is 26.0 tok/s on M5 Max (128 GB) at Q4_K - Medium.

Related Gemma 4 models with published pages: Gemma 4 26B-A4B

Raw benchmark rows for Gemma 4 31B

Rows stay below the ranking because this page is answer-first. Use them to inspect exact chips, quantizations, runtimes, and sources.

ChipQuantRAM req.ContextAvg tok/sPrompt tok/sRuntimeSource
M5 Max (128 GB)Q4_K - Medium26.0 tok/sMLXref
M4 Max (48 GB)Q4_K - Medium18.0 tok/sMLXref
M4 Pro (24 GB)Q4_K - Medium14.0 tok/sOllamaref

benchmarks.json — full dataset  ·  models.json — model summaries  ·  benchmarks.csv — CSV export

See all models →