What LLMs can an M4 Pro Mac (24 GB) run?
An M4 Pro Mac (24 GB) gives a model 16 GB usable of memory (about two thirds of unified memory is usable by the GPU) and 273 GB/s of bandwidth. Of the 61 open models tracked here, 18 fit at Q4_K_M with an 8,192-token context, and 12 more at a lower precision, each leaving at least 0.5 GB free on the M4 Pro Mac (24 GB).
Models that fit on one M4 Pro Mac (24 GB)
The most precise weights that still fit with 8K tokens of context and one request, the memory that takes, the longest context at that precision and the writing speed. Bigger models come first. gpt-oss-20b (14.8 GB, 30–51 tokens/s on the M4 Pro Mac (24 GB)) is listed at MXFP4 only, as published.
| Model | Best precision | Memory | Longest context | Tokens/s |
|---|---|---|---|---|
| LLM-jp-4.1 32B-A3B Thinking 32.1B, 3.8B active | GGUF Q2_K | 14.8 GB | 17K | 36–62 |
| Nemotron 3 Nano 30B-A3B 31.6B, 3.5B active | GGUF Q2_K | 14.1 GB | 225K | 50–86 |
| GLM-4.7 Flash 31.2B, 3B active | GGUF Q2_K | 14.3 GB | 28K | 45–77 |
| Xing 4.0 29B-A4B 31.2B, 4B active | GGUF Q2_K | 14.3 GB | 33K | 38–64 |
| Qwen3-Coder 30B-A3B 30.5B, 3.3B active | GGUF Q2_K | 14.4 GB | 18K | 35–61 |
| Qwen3 30B-A3B 30.5B, 3.3B active | GGUF Q2_K | 14.4 GB | 18K | 35–61 |
| Muse Glimmer 30B 29.8B | GGUF Q2_K | 13.5 GB | 128K (full) | 12–16 |
| Granite 4.2 30B 29.3B | GGUF Q2_K | 15.3 GB | 8K | 10–14 |
| Qwen3.6 27B 27.8B | GGUF Q3_K_M | 15.0 GB | 15K | 10–14 |
| Qwen3.8 27B 27.8B | GGUF Q3_K_M | 15.0 GB | 15K | 10–14 |
| Hemmingway-1 27B 27.3B | GGUF Q3_K_M | 14.7 GB | 19K | 11–15 |
| Gemma 4 26B-A4B 25.8B, 4B active | GGUF Q3_K_M | 13.9 GB | 81K | 32–54 |
| gpt-oss-20b 20.9B, 3.6B active | As published (MXFP4) | 14.8 GB | 34K | 30–51 |
| Gemma 4 12B 12.0B | GGUF Q8_0 | 14.2 GB | 85K | 11–15 |
| ZDTaichu 5.0 9B 9.8B | GGUF Q8_0 | 11.4 GB | 126K | 14–19 |
| Ornith 1.5 9B 9.7B | GGUF Q8_0 | 11.3 GB | 130K | 14–19 |
| Qwen3.5 9B 9.7B | GGUF Q8_0 | 11.3 GB | 130K | 14–19 |
| Ornith 1.0 9B 9.4B | GGUF Q8_0 | 11.0 GB | 138K | 14–20 |
| MiMo V2.6 Distill Qwen 9B 9.4B | GGUF Q8_0 | 11.0 GB | 138K | 14–20 |
| Granite 4.2 8B 8.8B | GGUF Q8_0 | 11.4 GB | 31K | 14–19 |
| LFM2.5 8B-A1B 8.5B, 1.5B active | GGUF Q8_0 | 9.82 GB | 128,000 (full) | 45–77 |
| Qwen3 8B 8.2B | GGUF Q8_0 | 10.7 GB | 39K | 15–20 |
| Llama 3.1 8B 8.0B | GGUF Q8_0 | 10.3 GB | 45K | 15–21 |
| Gemma 4 E4B 8.0B | GGUF Q8_0 | 9.38 GB | 128K (full) | 17–23 |
| Ling 3.0 Tiny 7.9B-A1.3B 7.9B, 1.3B active | GGUF Q8_0 | 9.15 GB | 128K (full) | 52–91 |
| Spark-X2.5 4B 4.1B | FP16 / BF16 | 9.35 GB | 166K | 17–23 |
| Nemotron 3 Nano 4B 4.0B | FP16 / BF16 | 8.78 GB | 256K (full) | 18–25 |
| Granite 4.2 3B 3.7B | FP16 / BF16 | 8.69 GB | 87K | 18–25 |
| MiniCPM5 2B 2.5B | FP16 / BF16 | 6.02 GB | 128K (full) | 27–37 |
| Limite 1B Violetto 1.0B | FP16 / BF16 | 2.79 GB | 128K (full) | 61–88 |
Raising the GPU memory limit on an M4 Pro Mac (24 GB)
macOS lets the GPU wire about 16 GB of this Mac's 24 GB by default. Running
sudo sysctl iogpu.wired_limit_mb=20480 raises that to 20 GB, leaving
4 GB to macOS and the apps next to it, until the next restart
(macOS 14 or newer; iogpu.wired_limit_mb=0 restores the default). LM Studio and Ollama pick the new limit up after a restart of the app.
At 20 GB, 23 of the 61 models fit at Q4_K_M with 8K context, against 18 by default
: Gemma 4 26B-A4B (27–46 tokens/s), Hemmingway-1 27B (8.7–12 tokens/s), Qwen3.6 27B (8.5–12 tokens/s), Qwen3.8 27B (8.5–12 tokens/s) and Muse Glimmer 30B (8.1–11 tokens/s) join the list. gpt-oss-20b, the biggest model that fits already, goes from 34K to 128K of context. If macOS runs short of memory it swaps or kills apps, so close big apps first and raise the limit in steps.
Too big for M4 Pro Mac (24 GB) at 8K context
How much memory each of these lacks at Q4_K_M (gpt-oss-120b at MXFP4) with 8K context, one request and 0.5 GB kept free, out of the 16 GB usable here; a bigger machine or a smaller quant is the way in.
- Gemma 4 31B: 6.36 GB short
- Ornith 1.0 35B: 6.93 GB short
- Ornith 1.5 35B-A3B: 7.45 GB short
- Qwen3.6 35B-A3B: 7.45 GB short
- K2-Horizon MoVA 36B-A4B: 9.86 GB short
- Llama 3.1 70B: 31.5 GB short
- Qwen3-Coder-Next: 34.6 GB short
- AliceAI Foundation 80B-A3B: 35.6 GB short
- gpt-oss-120b: 52.2 GB short
- Nemotron 3 Super 120B-A12B: 61.7 GB short
- Qwen3.5 122B-A10B: 62.7 GB short
- Mistral Medium 3.5 128B: 67.2 GB short
- Qwen3.8 Flash Next: 96.8 GB short
- Step 3.7 Flash 196B-A11B: 110 GB short
- MiniMax M2.7: 129 GB short
- DeepSeek V4 Flash: 166 GB short
- DeepSeek V4 Flash 0731: 174 GB short
- MiMo V2.6 Flash: 178 GB short
- IQuest-Q1 320B-A15B: 186 GB short
- GLM-5.3 Flash: 184 GB short
- MiniMax M3: 251 GB short
- DeepSeek V3 / R1: 410 GB short
- DeepSeek V3.2: 410 GB short
- GLM-5.3: 453 GB short
- GLM-5.2: 453 GB short
- DeepSeek V4.1 Flash: 459 GB short
- Hy4 Preview 770B-A49B: 469 GB short
- MiMo V2.6 Pro: 620 GB short
- DeepSeek V4 Pro: 977 GB short
- Qwen3.8 2.4T-A95B: 1,502 GB short
- Kimi K3: 1,708 GB short
Best models for M4 Pro Mac (24 GB) with room for long context
The biggest models that still fit at Q4_K_M with 32,768 tokens of context (or their whole window, if shorter), the memory left over, the longest context the Mac takes at that precision and the writing speed with that context in the cache, from 273 GB/s of bandwidth. gpt-oss-20b is at MXFP4, as published.
| Model | Context | Memory | Left over | Longest context | Tokens/s |
|---|---|---|---|---|---|
| gpt-oss-20b 20.9B, MXFP4 | 32K | 15.4 GB | 571 MB | 34K | 25–42 |
| Gemma 4 12B 12.0B | 32K | 8.98 GB | 7.02 GB | 256K (full) | 18–24 |
| ZDTaichu 5.0 9B 9.8B | 32K | 7.67 GB | 8.33 GB | 128K (full) | 21–29 |
| Ornith 1.5 9B 9.7B | 32K | 7.58 GB | 8.42 GB | 256K (full) | 21–29 |
| Qwen3.5 9B 9.7B | 32K | 7.58 GB | 8.42 GB | 256K (full) | 21–29 |
llama-server commands for an M4 Pro Mac (24 GB)
GGUF repos checked 2026-09-29; -c is the longest context with 0.5 GB free on the M4 Pro Mac (24 GB). No -ngl: llama.cpp’s -fit, on by default since b7440, places the layers.
gpt-oss-20b, MXFP4 with 34K tokens: 24–41 tokens/s on the M4 Pro Mac (24 GB)
llama-server -hf ggml-org/gpt-oss-20b-GGUF:MXFP4 -c 34816 -np 1 gpt-oss-20b-MXFP4.gguf, 12.1 GB: 15.5 GB used and 518 MB free of the M4 Pro Mac (24 GB)'s 16 GB usable, 24–41 tokens/s once the 34K cache is full. -np 1: one slot, one sliding window.
Gemma 4 12B, Q4_K_M with 256K tokens: 12–17 tokens/s on the M4 Pro Mac (24 GB)
llama-server -hf unsloth/gemma-4-12b-it-GGUF:Q4_K_M -c 262144 -np 1 gemma-4-12b-it-Q4_K_M.gguf, 7.1 GB: 12.8 GB used and 3.17 GB free of the M4 Pro Mac (24 GB)'s 16 GB usable, 12–17 tokens/s once the 256K cache is full. -np 1: one slot, one sliding window.
How fast the M4 Pro Mac (24 GB) writes as the context fills
Tokens per second at Q4_K_M (gpt-oss-20b at MXFP4) for the biggest models that fit with 32K tokens, with 8K and 32K tokens in the cache and at the longest context the Mac holds, and at Q8_0 with 8K where that fits. Each token reads the active weights and the whole cache once, so the speed follows the 273 GB/s of bandwidth and falls as the cache grows. The ceiling is that bandwidth divided by the bytes read per token, which no runtime reaches; the reply time is for 1,000 new tokens with 32K (or the longest context) in the cache, prompt processing aside. With the same memory, M2 or M3 Mac (24 GB), 100 GB/s, writes 63% slower on average; M4 Mac (24 GB), 120 GB/s, writes 55% slower on average; M5 Mac (24 GB), 153 GB/s, writes 43% slower on average; M5 Pro Mac (24 GB), 307 GB/s, writes 12% faster on average.
| Model | 8K | 32K | Longest | At the longest | Q8_0 at 8K | Bandwidth ceiling at 8K | 1,000-token reply at 32K |
|---|---|---|---|---|---|---|---|
| gpt-oss-20b | 30–51 | 25–42 | 34K | 24–41 | MXFP4 only | 105 | 24–40 s |
| Gemma 4 12B | 19–26 | 18–24 | 256K | 12–17 | 11–15 | 35 | 41–57 s |
| ZDTaichu 5.0 9B | 23–33 | 21–29 | 128K | 14–20 | 14–19 | 44 | 35–48 s |
| Ornith 1.5 9B | 24–33 | 21–29 | 256K | 10–14 | 14–19 | 45 | 34–48 s |
| Qwen3.5 9B | 24–33 | 21–29 | 256K | 10–14 | 14–19 | 45 | 34–48 s |
| Ornith 1.0 9B | 24–34 | 21–30 | 256K | 10–14 | 14–20 | 46 | 34–47 s |
| MiMo V2.6 Distill Qwen 9B | 24–34 | 21–30 | 256K | 10–14 | 14–20 | 46 | 34–47 s |
| Granite 4.2 8B | 22–30 | 14–19 | 55K | 10–14 | 14–19 | 41 | 53–73 s |
| LFM2.5 8B-A1B | 72–127 | 57–99 | 128,000 | 31–54 | 45–77 | 271 | 10–17 s |
| Qwen3 8B | 24–33 | 15–21 | 40K | 13–18 | 15–20 | 44 | 48–67 s |
M4 Pro Mac (24 GB) against the other Macs with 16 GB usable
The same models fit on every Mac with 16 GB usable, so speed is what separates them. By bandwidth the M4 Pro Mac (24 GB) ranks 2 of 5 at 273 GB/s. Over the 12 biggest models that fit at Q4_K_M with 8K context, the M2 or M3 Mac (24 GB), at 100 GB/s, writes 63% slower, the M4 Mac (24 GB), at 120 GB/s, writes 55% slower, the M5 Mac (24 GB), at 153 GB/s, writes 43% slower and the M5 Pro Mac (24 GB), at 307 GB/s, writes 12% faster than the M4 Pro Mac (24 GB). Each cell below is the other Mac's tokens per second minus this one's, midpoints of the estimated ranges.
| Model | M4 Pro Mac (24 GB) tokens/s | M2 or M3 Mac (24 GB) | M4 Mac (24 GB) | M5 Mac (24 GB) | M5 Pro Mac (24 GB) |
|---|---|---|---|---|---|
| gpt-oss-20b | 30–51 | −26 | −23 | −18 | +4.9 |
| Gemma 4 12B | 19–26 | −14 | −12 | −9.6 | +2.7 |
| ZDTaichu 5.0 9B | 23–33 | −18 | −15 | −12 | +3.4 |
| Ornith 1.5 9B | 24–33 | −18 | −16 | −12 | +3.4 |
| Qwen3.5 9B | 24–33 | −18 | −16 | −12 | +3.4 |
| Ornith 1.0 9B | 24–34 | −18 | −16 | −13 | +3.5 |
| MiMo V2.6 Distill Qwen 9B | 24–34 | −18 | −16 | −13 | +3.5 |
| Granite 4.2 8B | 22–30 | −16 | −14 | −11 | +3.2 |
| LFM2.5 8B-A1B | 72–127 | −61 | −54 | −42 | +11 |
| Qwen3 8B | 24–33 | −18 | −16 | −12 | +3.4 |
| Llama 3.1 8B | 24–34 | −18 | −16 | −13 | +3.5 |
| Gemma 4 E4B | 29–40 | −22 | −19 | −15 | +4.1 |
Near misses on M4 Pro Mac (24 GB)
Models that miss at Q4_K_M with 32,768 tokens of context (or their whole window), or leave under 0.5 GB free there, but fit with a shorter context or 3-bit weights, or are short by at most a quarter of the memory and fit with MoE offload. Smallest shortfall first.
| Model | Short by at Q4_K_M | Fits instead |
|---|---|---|
| Gemma 4 26B-A4B 25.8B | 1.50 GB | GGUF Q3_K_M with 32K, 14.4 GB |
| Muse Glimmer 30B 29.8B | 3.51 GB | GGUF IQ3_XXS with 32K, 13.6 GB |
| Hemmingway-1 27B 27.3B | 3.63 GB | GGUF IQ3_XXS with 32K, 14.2 GB |
| Qwen3.6 27B 27.8B | 3.92 GB | GGUF IQ3_XXS with 32K, 14.4 GB |
| Qwen3.8 27B 27.8B | 3.92 GB | GGUF IQ3_XXS with 32K, 14.4 GB |
How these numbers are worked out
Memory is the weights at each precision plus the KV cache for 8,192 tokens in FP16 and runtime overhead (0.5 GB plus 10%), computed from each model's files on Hugging Face with the LLM VRAM Calculator. Speed is estimated from memory bandwidth and the parameters read per token with the LLM Speed Calculator. Both tools take any other model from Hugging Face.
Nearby GPUs and setups
How many of the tracked models each one holds at Q4_K_M with 8K context, against 18 here.
| Setup | How it relates | Memory | Bandwidth | Models at Q4_K_M |
|---|---|---|---|---|
| M2 or M3 Mac (24 GB) | Same memory | 16 GB usable | 100 GB/s | 18 (same) |
| M4 Mac (24 GB) | Same memory | 16 GB usable | 120 GB/s | 18 (same) |
| M5 Mac (24 GB) | Same memory | 16 GB usable | 153 GB/s | 18 (same) |
| M5 Pro Mac (24 GB) | Same memory | 16 GB usable | 307 GB/s | 18 (same) |
| M3 Pro Mac (18 GB) | Next size down | 12 GB usable | 150 GB/s | 17 (−1) |
| M4 Mac (32 GB) | Next size up | 21.3 GB usable | 120 GB/s | 28 (+10) |
Model numbers read from Hugging Face on .