← 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. Model picker is focused on current-market choices.

29 ranked MacsUse the strongest current runtime evidence for each row.28 historical models hiddenStatic paths cover only canonical model pages; sort and quantization stay as query state.
RankMacScoreQuantTok/sRuntimeFitsHeadroomContextEvidencePriceWhy it ranks here
1Mac Studio M3 Ultra 256GB3738bit 22.0 tok/s Fastest evidence path: 8bit · 22.0 tok/s · MLX · EstimatedMLXFits219.4 GB206kEstimated$7,4998bit is the current best practical quantization. 22.0 tok/s is estimated from nearby benchmark coverage. 219.4 GB headroom remains at this quantization.
2Mac Pro M2 Ultra 192GB3098bit 22.0 tok/s Fastest evidence path: 8bit · 22.0 tok/s · MLX · EstimatedMLXFits155.4 GB146kEstimated$6,9998bit is the current best practical quantization. 22.0 tok/s is estimated from nearby benchmark coverage. 155.4 GB headroom remains at this quantization.
3MacBook Pro M5 Max 128GB 16-inch2618bit 26.0 tok/s Fastest evidence path: 8bit · 26.0 tok/s · MLX · EstimatedMLXFits91.4 GB87kEstimated$5,3998bit is the current best practical quantization. 26.0 tok/s is estimated from nearby benchmark coverage. 91.4 GB headroom remains at this quantization.
4Mac Studio M4 Max 128GB2458bit 22.0 tok/s Fastest evidence path: 8bit · 22.0 tok/s · MLX · EstimatedMLXFits91.4 GB87kEstimated$4,4998bit is the current best practical quantization. 22.0 tok/s is estimated from nearby benchmark coverage. 91.4 GB headroom remains at this quantization.
5MacBook Pro M4 Max 128GB 16-inch2458bit 22.0 tok/s Fastest evidence path: 8bit · 22.0 tok/s · MLX · EstimatedMLXFits91.4 GB87kEstimated$5,9998bit is the current best practical quantization. 22.0 tok/s is estimated from nearby benchmark coverage. 91.4 GB headroom remains at this quantization.
6Mac Studio M3 Ultra 96GB2138bit 22.0 tok/s Fastest evidence path: 8bit · 22.0 tok/s · MLX · EstimatedMLXFits59.4 GB57kEstimated$3,9998bit is the current best practical quantization. 22.0 tok/s is estimated from nearby benchmark coverage. 59.4 GB headroom remains at this quantization.
7Mac Studio M4 Max 64GB1818bit 22.0 tok/s Fastest evidence path: 8bit · 22.0 tok/s · MLX · EstimatedMLXFits27.4 GB28kEstimated$2,9998bit is the current best practical quantization. 22.0 tok/s is estimated from nearby benchmark coverage. 27.4 GB headroom remains at this quantization.
8MacBook Pro M4 Max 64GB 16-inch1818bit 22.0 tok/s Fastest evidence path: 8bit · 22.0 tok/s · MLX · EstimatedMLXFits27.4 GB28kEstimated$4,4998bit is the current best practical quantization. 22.0 tok/s is estimated from nearby benchmark coverage. 27.4 GB headroom remains at this quantization.
9Mac Mini M4 Pro 48GB1658bit 22.0 tok/s Fastest evidence path: 8bit · 22.0 tok/s · MLX · EstimatedMLXFits11.4 GB13kEstimated$1,5998bit is the current best practical quantization. 22.0 tok/s is estimated from nearby benchmark coverage. 11.4 GB headroom remains at this quantization.
10MacBook Pro M4 Pro 48GB 14-inch1658bit 22.0 tok/s Fastest evidence path: 8bit · 22.0 tok/s · MLX · EstimatedMLXFits11.4 GB13kEstimated$2,4998bit is the current best practical quantization. 22.0 tok/s is estimated from nearby benchmark coverage. 11.4 GB headroom remains at this quantization.
11MacBook Pro M4 Pro 48GB 16-inch1658bit 22.0 tok/s Fastest evidence path: 8bit · 22.0 tok/s · MLX · EstimatedMLXFits11.4 GB13kEstimated$2,9998bit is the current best practical quantization. 22.0 tok/s is estimated from nearby benchmark coverage. 11.4 GB headroom remains at this quantization.
12Mac Studio M4 Max 36GB1556bit 22.0 tok/s Fastest evidence path: 6bit · 22.0 tok/s · MLX · EstimatedMLXFits6.6 GB9kEstimated$1,9996bit is the current best practical quantization. 22.0 tok/s is estimated from nearby benchmark coverage. 6.6 GB headroom remains at this quantization.
13MacBook Pro M4 Max 36GB 14-inch1556bit 22.0 tok/s Fastest evidence path: 6bit · 22.0 tok/s · MLX · EstimatedMLXFits6.6 GB9kEstimated$2,9996bit is the current best practical quantization. 22.0 tok/s is estimated from nearby benchmark coverage. 6.6 GB headroom remains at this quantization.
14MacBook Pro M4 Max 36GB 16-inch1556bit 22.0 tok/s Fastest evidence path: 6bit · 22.0 tok/s · MLX · EstimatedMLXFits6.6 GB9kEstimated$3,4996bit is the current best practical quantization. 22.0 tok/s is estimated from nearby benchmark coverage. 6.6 GB headroom remains at this quantization.
15Mac Studio M4 Max 48GB1498bit 18.0 tok/s Fastest evidence path: 8bit · 18.0 tok/s · MLX · EstimatedMLXFits11.4 GB13kEstimated$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.
16MacBook Pro M4 Max 48GB 14-inch1498bit 18.0 tok/s Fastest evidence path: 8bit · 18.0 tok/s · MLX · EstimatedMLXFits11.4 GB13kEstimated$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.
17MacBook Pro M4 Max 48GB 16-inch1498bit 18.0 tok/s Fastest evidence path: 8bit · 18.0 tok/s · MLX · EstimatedMLXFits11.4 GB13kEstimated$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.
18Mac Mini M4 32GB1485bit 22.0 tok/s Fastest evidence path: 5bit · 22.0 tok/s · MLX · EstimatedMLXFits6.1 GB10kEstimated$7995bit is the current best practical quantization. 22.0 tok/s is estimated from nearby benchmark coverage. 6.1 GB headroom remains at this quantization.
19MacBook Air M4 32GB 13-inch1485bit 22.0 tok/s Fastest evidence path: 5bit · 22.0 tok/s · MLX · EstimatedMLXFits6.1 GB10kEstimated$1,4995bit is the current best practical quantization. 22.0 tok/s is estimated from nearby benchmark coverage. 6.1 GB headroom remains at this quantization.
20MacBook Air M4 32GB 15-inch1485bit 22.0 tok/s Fastest evidence path: 5bit · 22.0 tok/s · MLX · EstimatedMLXFits6.1 GB10kEstimated$1,6995bit is the current best practical quantization. 22.0 tok/s is estimated from nearby benchmark coverage. 6.1 GB headroom remains at this quantization.
21Mac Mini M4 24GB853bit 14.0 tok/s Fastest evidence path: 3bit · 14.0 tok/s · Ollama · EstimatedOllamaFits5.3 GB10kEstimated$5993bit is the current best practical quantization. 14.0 tok/s is estimated from nearby benchmark coverage. 5.3 GB headroom remains at this quantization.
22MacBook Air M4 24GB 13-inch853bit 14.0 tok/s Fastest evidence path: 3bit · 14.0 tok/s · Ollama · EstimatedOllamaFits5.3 GB10kEstimated$1,2993bit is the current best practical quantization. 14.0 tok/s is estimated from nearby benchmark coverage. 5.3 GB headroom remains at this quantization.
23Mac Mini M4 Pro 24GB853bit 14.0 tok/s Fastest evidence path: 3bit · 14.0 tok/s · Ollama · EstimatedOllamaFits5.3 GB10kEstimated$1,3993bit is the current best practical quantization. 14.0 tok/s is estimated from nearby benchmark coverage. 5.3 GB headroom remains at this quantization.
24MacBook Air M4 24GB 15-inch853bit 14.0 tok/s Fastest evidence path: 3bit · 14.0 tok/s · Ollama · EstimatedOllamaFits5.3 GB10kEstimated$1,4993bit is the current best practical quantization. 14.0 tok/s is estimated from nearby benchmark coverage. 5.3 GB headroom remains at this quantization.
25MacBook Pro M4 Pro 24GB 14-inch853bit 14.0 tok/s Fastest evidence path: 3bit · 14.0 tok/s · Ollama · EstimatedOllamaFits5.3 GB10kEstimated$1,9993bit is the current best practical quantization. 14.0 tok/s is estimated from nearby benchmark coverage. 5.3 GB headroom remains at this quantization.
26MacBook Pro M4 Pro 24GB 16-inch853bit 14.0 tok/s Fastest evidence path: 3bit · 14.0 tok/s · Ollama · EstimatedOllamaFits5.3 GB10kEstimated$2,4993bit is the current best practical quantization. 14.0 tok/s is estimated from nearby benchmark coverage. 5.3 GB headroom remains at this quantization.
27Mac Mini M4 16GB0F32 MLXNo-106.4 GBEstimated$499Gemma 4 31B does not fit on Mac Mini M4 16GB at the current practical quantization.
28MacBook Air M4 16GB 13-inch0F32 MLXNo-106.4 GBEstimated$1,099Gemma 4 31B does not fit on MacBook Air M4 16GB 13-inch at the current practical quantization.
29MacBook Air M4 16GB 15-inch0F32 MLXNo-106.4 GBEstimated$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

4Benchmark rows
4Chip 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.

Based on 4 external benchmarks; no lab runs yet.

Published runtimes: 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 specs

  • Architecture: Dense.
  • Total parameters: 30.7B.
  • Context: 256K tokens.
  • Sliding window: 1024 tokens.
  • Modalities: Text, Image.

Official takeaways

  • Reasoning: All models in the family are designed as highly capable reasoners, with configurable thinking modes.
  • Extended Multimodalities: Processes Text, Image with variable aspect ratio and resolution support (all models), Video, and Audio (featured natively on the E2B and E4B models).
  • Diverse & Efficient Architectures: Offers Dense and Mixture-of-Experts (MoE) variants of different sizes for scalable deployment.
  • Increased Context Window: The small models feature a 128K context window, while the medium models support 256K.

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

Gemma 4 31B: 10 Apple Silicon field reports; best reported generation ~28 tok/s; best reported prompt processing ~628.6 tok/s; reported RAM use ~17.6-34.5GB; seen on M5 MAX 128GB, MacBook Pro M5 MAX 64GB, MacBook Pro M5 MAX 128GB; via atomic.chat, cupel, oMLX, llama.cpp.

4Benchmark rows
10Field reports
6Practitioner signals
Sparse BenchmarksEvidence status

What practitioners keep saying

  • The oMLX context table reports gemma-4-31b-it 8bit on an M5 Max 40-core 128GB Mac at 1024 tokens context with 607.7 tok/s prompt processing, 15.2 tok/s generation, and peak memory at 31.8GB.
  • The oMLX context table reports gemma-4-31b-it 8bit on an M5 Max 40-core 128GB Mac at 4096 tokens context with 628.6 tok/s prompt processing, 11.9 tok/s generation, 6.516s TTFT, and peak memory at 34.5GB.
  • The page also includes separate batching results, so multi-request aggregate throughput should be modeled outside single-stream generation claims.

Apple Silicon field sources

  • oMLX community benchmarks

    2026-05-05 · M5 Max 40-core GPU, 128GB unified memory · oMLX

    A same-day oMLX row shows the 8-bit Gemma 4 31B conversion running on an M5 Max 128GB setup, adding high-memory Max-tier context for dense Gemma while preserving the first-party reproduction gate.

  • r/LocalLLaMA

    2026-05-01 · MacBook Pro M5 Max 64GB · atomic.chat

    A high-engagement practitioner comparison reports Gemma 4 31B producing the preferred one-shot game implementation on an M5 Max 64GB MacBook Pro even though Qwen3.6-27B reported higher decode speed.

  • oMLX community benchmarks

    2026-04-23 · MacBook Pro M4 Max 36GB · oMLX

    Gemma 4 31B now has a concrete oMLX 4-bit M4 Max 36GB profile, but the dense 31B decode rate makes it a more conditional recommendation than the smaller-active-parameter frontier options.

  • r/LocalLLaMA

    2026-04-19 · M5 Max laptop, 128GB unified memory

    A Gemma 4 31B operator says an M5 Max 128GB laptop can run the 4-bit dense model for one or two local agents, but concurrency pressure quickly pushes the workload toward dedicated GPU infrastructure.

  • r/LocalLLaMA

    2026-04-14 · MacBook Pro M5 Max 128GB · cupel

    An M5 Max 128GB operator reports preferring the Gemma 4 31B 4-bit path over 8-bit in a subjective cupel comparison, but the source itself and comments make the result unsuitable as benchmark truth.

1 more Apple Silicon field source tracked in the research queue.

Runtime mentions in the field

llama.cppMLXoMLX

Hardware mentioned in reports

64GB128GBM4MacMacBookMacBook Pro

What would improve confidence

  • Reproduce Field Performance Signal
  • Upgrade To First Party Measurement

Published chip coverage includes M5 Max (128 GB), M5 Max (64 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 E4B · Gemma 4 26B-A4B · Gemma 4 E2B

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
M5 Max (64 GB)Q4_K - Medium22.0 tok/sOllamaref
M4 Max (48 GB)Q4_K - Medium18.0 tok/sMLXref
M4 Pro (24 GB)Q4_K - Medium14.0 tok/sOllamaref

Ordered by fastest published tok/s on the chip family in each Mac. Click through for the full machine page.

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

See all models →