The LLMCheck index estimates Gemma 4 31B at ~26 tok/s on an M5 Max at Q4_K_M, a figure from its published bandwidth model, not a measured run. It needs about 24 GB of unified memory. It is Google's 31B dense model, released under the Apache 2.0 licence.
Want to run Gemma 4 31B faster — or step up to bigger models? Find your Mac →This is an LLMCheck index estimate from its published two-term bandwidth model, not a measured run; the index labels it so everywhere it appears. Own this Mac? Submit a real run →
| Metric | Value |
|---|---|
| Tokens per second | estimated~26 tok/s |
| Provenance | estimate · how estimates are made |
| Quantization | Q4_K_M |
| Engine | MLX |
| Figure dated | 2026-04 |
| Minimum RAM | 24 GB |
| Parameters | 31B |
| Chip bandwidth | 614 GB/s |
Each row as the index holds it, with its source. “Mac RAM” is the memory of the Mac a run used, not the model’s requirement (24 GB). The headline figure follows the reference rule: the lower-median measured plain-decode run at 5 bits or fewer (a run whose quant was not stated counts only when no stated-quant run qualifies), else the estimate; a run marked “not used to anchor estimates” is listed here but never becomes the headline.
| Speed | Quant | Engine | Mac RAM | Context | Source | Note |
|---|---|---|---|---|---|---|
| estimated26 tok/s | Q4_K_M | MLX | 128 GB | — | LLMCheck estimator | — |
Ollama — install it (brew install ollama or the app from ollama.com), then pull the model by its tag, checked on ollama.com on 2026-10-24:
MLX — pick a build from Hugging Face’s MLX listings, then run it with its repo id:
Downloads: Search the Ollama library → · model card →
Prefer a GUI? LM Studio downloads GGUF and MLX builds in one click. Step by step: install Ollama on a Mac.
Google's dense 31B Gemma 4 with 256K context, Apache 2.0. Needs a 24 GB+ Mac at 4-bit; a community run measured ~8 tok/s on a 32 GB Mac mini M6 (QAT).
Apache 2.0 licence · 31B · 256K context · LLMCheck capability 40/50 · see its leaderboard rank →
Gemma 4 31B needs about 24 GB of unified memory. These current Apple Silicon Macs have the headroom to run it comfortably:
As an Amazon Associate, LLMCheck earns from qualifying purchases. These affiliate links cost you nothing extra and help keep the LLMCheck index free.
See how Gemma 4 31B stacks up against other models on your specific Mac hardware.
Open Compare Tool Full Leaderboard