Gemma 4 12B on Apple M5 Pro (64 GB)
Can the Apple M5 Pro (64 GB) run Gemma 4 12B?
Yes, it runs well
Runs well. At Q4_K_M it needs about 12.4 GB of 48.0 GB usable, with an estimated speed of 27.1 tok/s.
- Best quant
Q4_K_M- Generation speed
- 27.1 tok/s
- Prompt processing
- 487 tok/s
- First token (1K prompt)
- 2.1 s
- Largest safe context
- 256K
Best app to run it on the Apple M5 Pro (64 GB)
On macOS
- Runs the MLX build, typically 10–20% faster than GGUF for a model with 12B active parameters on Apple silicon.
- Point-and-click: search, download and chat in one window.
Download Gemma 4 12B
Recommended for the Apple M5 Pro (64 GB): Q4_K_M. Every other quantization has its own download link in the table below.
Quickest · Ollama
One command downloads a ready-to-run version and starts a chat.
ollama run gemma4:12b-it-q4_K_MQuantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
Download the Q4_K_M file (opens in a new tab)
huggingface.co/unsloth/gemma-4-12B-it-GGUF (opens in a new tab)
ollama run hf.co/unsloth/gemma-4-12B-it-GGUF:Q4_K_MOriginal weights · Hugging Face
Full-precision files from Google, for fine-tuning, vLLM, Transformers.
Official repo · GitHub
Reference code, inference scripts and docs from Google. The weights themselves download from Hugging Face.
github.com/google-deepmind/gemma (opens in a new tab)
git clone https://github.com/google-deepmind/gemmaHow it’s rated
Match score
To order lists, each result also gets a match score out of 100 from four parts. It favors the most capable model that still runs well.
| Model quality | 35.5 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 12.4 / 15 | |
| Memory use | 6.0 / 15 | |
| Match score | 78.8 / 100 |
Every quantization on the Apple M5 Pro (64 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q2_K | 9.9 GB | 48.0 GB | 44.6 tok/s | Runs great | 58Good quality (B) · 58 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 70/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (UD-Q2_K_XL) (opens in a new tab) |
Q3_K_M | 11.0 GB | 48.0 GB | 35.1 tok/s | Runs great | 69Good quality (B) · 69 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q4_K_M | 12.4 GB | 48.0 GB | 27.1 tok/s | Runs well | 78Great quality (A) · 78 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q5_K_M | 13.6 GB | 48.0 GB | 22.4 tok/s | Runs well | 80Great quality (A) · 80 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q6_K | 14.9 GB | 48.0 GB | 18.8 tok/s | Runs well | 82Great quality (A) · 82 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q8_0 | 17.8 GB | 48.0 GB | 13.8 tok/s | Runs well | 83Great quality (A) · 83 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
F16 | 29.0 GB | 48.0 GB | 6.4 tok/s | Slow | 83Great quality (A) · 83 of 100: how capable the model is at F16, whatever it runs on. Match score 82/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) Original weights (opens in a new tab) |
Memory figures assume 8K of context. Longer conversations or documents grow the KV cache.
Other hardware that runs it
-
83Great quality (A) · 83 of 100: how capable the model is at F16, whatever it runs on. Match score 92/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5090
-
82Great quality (A) · 82 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 91/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4070 Ti SUPER
-
82Great quality (A) · 82 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 91/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4080 SUPER
-
82Great quality (A) · 82 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 91/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5070 Ti
-
82Great quality (A) · 82 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 91/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5080
-
83Great quality (A) · 83 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 91/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.