Which AI models can a Mac with 24 GB run?

A Mac with 24 GB of unified memory lets the GPU use about 16 GB by default, enough to run 25 of the 43 open models we track fully on the GPU. The biggest is DeepSeek-R1 Distill (Qwen 14B) at Q5, using about 12.0 GB.

Model figures checked 19 Nov 2026 against each model's published configuration · Sources and method

Find MacBook Air 24 GB on AmazonAffiliate link

Any Apple Silicon Mac (M1 to M5, base, Pro, Max or Ultra) with 24 GB holds the same models; faster chips answer quicker.

Runs fully on the GPU (25)

Model and Ollama commandBest quality that fitsMemory
DeepSeek-R1 Distill (Qwen 14B)
ollama run deepseek-r1:14b
Q512.0 GB
Qwen3 14B
ollama run qwen3:14b
Q511.8 GB
Phi-4 14B
ollama run phi4
Q511.9 GB
Qwen2.5 14B
ollama run qwen2.5:14b
Q511.9 GB
Qwen2.5 Coder 14B
ollama run qwen2.5-coder:14b
Q511.9 GB
Gemma 3 12B
ollama run gemma3:12b
Q815.2 GB
Mistral Nemo 12B
ollama run mistral-nemo
Q814.2 GB
Gemma 4 12B
ollama run gemma4:12b
Q813.7 GB
Qwen3.5 9B
ollama run qwen3.5:9b
Q811.0 GB
Gemma 2 9B
ollama run gemma2:9b
Q811.8 GB
Qwen3 8B
ollama run qwen3:8b
Q89.9 GB
Gemma 4 E4B
ollama run gemma4:e4b
Q87.4 GB
Llama 3.1 8B
ollama run llama3.1:8b
Q89.6 GB
DeepSeek-R1 Distill (Qwen 7B)
ollama run deepseek-r1:7b
Q88.9 GB
Qwen2.5 7B
ollama run qwen2.5:7b
Q88.9 GB
Qwen2.5 Coder 7B
ollama run qwen2.5-coder:7b
Q88.9 GB
Mistral 7B
ollama run mistral:7b
Q88.8 GB
Gemma 4 E2B
ollama run gemma4:e2b
Q84.8 GB
Qwen3.5 4B
ollama run qwen3.5:4b
Q85.7 GB
Gemma 3 4B
ollama run gemma3:4b
Q85.7 GB
Qwen3 4B
ollama run qwen3:4b
Q85.5 GB
Phi-3.5 Mini 3.8B
ollama run phi3.5
Q86.2 GB
Llama 3.2 3B
ollama run llama3.2:3b
Q84.5 GB
Llama 3.2 1B
ollama run llama3.2:1b
Q82.0 GB
Gemma 3 1B
ollama run gemma3:1b
Q81.8 GB

Runs slowly, partly on the CPU (9)

Bigger than the about 16 GB the GPU may use, but still inside the Mac's memory, so part of the model runs on the CPU. It works, but replies are several times slower.

ModelMemory at Q4More than the GPU share by
Qwen3 30B-A3B (MoE, fast)19.5 GB4.3 GB
Qwen3.5 27B17.7 GB2.5 GB
Qwen3.6 27B17.7 GB2.5 GB
Qwen3.8 27B17.7 GB2.5 GB
Gemma 3 27B19.3 GB4.1 GB
Gemma 2 27B18.6 GB3.4 GB
Gemma 4 26B-A4B (MoE, fast)16.5 GB1.3 GB
Devstral Small 2 24B (coding)15.8 GB0.6 GB
Mistral Small 3 24B15.6 GB0.4 GB

Won't run (9)

Even at Q4 these need more than the Mac can spare: DeepSeek-R1 Distill (Llama 70B) (44.8 GB), Llama 3.1 70B (44.8 GB), Llama 3.3 70B (44.8 GB), Qwen3.6 35B-A3B (MoE, fast) (22.5 GB), DeepSeek-R1 Distill (Qwen 32B) (21.6 GB), Qwen2.5 32B (21.6 GB), Qwen2.5 Coder 32B (21.6 GB), Qwen3 32B (21.5 GB), Gemma 4 31B (20.7 GB).

Estimates at a 4K-token context (Ollama's usual default): model weights + KV cache + about 0.6 GB for the runtime. The GPU share is macOS's default (about two thirds of memory), an estimate; it can be raised (see below).

What more memory adds

Other Mac memory sizes

Comparing with a PC? 12 GB graphics cards · 24 GB graphics cards · all graphics cards

Sources and method

Parameter counts and attention layouts come from each model's Hugging Face model card and config, and context limits from Ollama's library; each model's page links its sources (checked 19 Nov 2026). The GPU share of a Mac's memory (about two thirds on Macs with up to 36 GB, three quarters on Macs with more) is macOS's usual default limit and an estimate; it can be raised with iogpu.wired_limit_mb. Memory = quantised weights + KV cache for a 4K context + about 0.6 GB for the runtime.

Questions people ask

What is the biggest AI model a 24 GB Mac can run?

DeepSeek-R1 Distill (Qwen 14B) at Q5 (Q5_K_M): about 12.0 GB with a 4K context, inside the roughly 16 GB macOS lets the GPU use. Run it with "ollama run deepseek-r1:14b". Bigger models such as Qwen3 30B-A3B (MoE, fast) also load, but run partly on the CPU and much slower.

Is 24 GB enough for local AI on a Mac?

It runs 7B to 14B models well, which covers everyday chat, writing and simple coding. For 27B to 32B models, 32 GB or more is a real step up.

Can I let the GPU use more of the memory?

Yes. On recent macOS, the command sudo sysctl iogpu.wired_limit_mb=<megabytes> raises the GPU limit until the next restart. Leave a few GB for macOS and your apps, or the Mac will slow down badly. Apple's default, which these numbers use, is about two thirds of memory on a 24 GB Mac.

Spotted a wrong number? Tell us and we'll fix it.