Best LLMs for Mac with 24 GB unified memory: what runs locally

18 of the 40 open-source models in our directory fit on a Mac with 24 GB, the biggest being gpt-oss-20b. Below: which ones, at which quality, and our picks for chat, coding and reasoning.

A Mac shares one pool of 24 GB unified memory between processor and graphics. macOS and your apps need part of it, so we count about 17 GB as usable for a model.

A common upgrade on Mac mini and MacBook models.

Memory size from the official spec page, checked November 28, 2026.

Our picks for Mac with 24 GB unified memory

Picks are our editorial choice based on what each maker says the model is built for and on its size; they are not benchmark results.

All models that fit (18)

ModelBest format that fitsMemory needed*
gpt-oss-20b
21B · 3.6B active
Q4_K_Mabout 15 GB
Ministral 3 14B
13.9B
Q6_Kabout 14 GB
Gemma 4 12B
11.96B
Q8_0about 15 GB
Qwen3.5 9B
9.65B
Q8_0about 12 GB
Ministral 3 8B
8.9B
Q8_0about 11 GB
Llama 3.1 8B Instruct
8.03B
Q8_0about 9.9 GB
Gemma 4 E4B
8B
Q8_0about 9.9 GB
Olmo 3 7B Instruct
7.3B
BF16 / FP16about 17 GB
Gemma 4 E2B
5.12B
BF16 / FP16about 12 GB
Qwen3.5 4B
4.66B
BF16 / FP16about 11 GB
Qwen3 4B Instruct 2507
4.02B
BF16 / FP16about 9.3 GB
Nemotron 3 Nano 4B
3.97B
BF16 / FP16about 9.2 GB
Phi-4-mini Instruct
3.84B
BF16 / FP16about 8.9 GB
Granite 4.1 3B
3.4B
BF16 / FP16about 8.0 GB
Llama 3.2 3B Instruct
3.21B
BF16 / FP16about 7.6 GB
SmolLM3 3B
3.08B
BF16 / FP16about 7.3 GB
Qwen3.5 2B
2.27B
BF16 / FP16about 5.5 GB
LFM3 1.7B
1.73B
BF16 / FP16about 4.3 GB

* Estimates: parameters × bits per weight ÷ 8, plus about 10% overhead and a cache for an 8K-token conversation. Longer conversations need more. How we calculate this.

Just too big

These need more memory than this setup has, even at 4-bit: Mistral Small 3.2 24B (about 17 GB), Gemma 4 26B A4B (about 18 GB), Qwen3.8 27B (about 20 GB), Qwen3.5 27B (about 20 GB).

Questions

What is the biggest AI model that runs on a Mac with 24 GB?

Of the models we track, gpt-oss-20b (21B parameters) fits at Q4_K_M, needing about 15 GB by our estimate.

Which local model is best for coding on a Mac with 24 GB?

Our pick is gpt-oss-20b at Q4_K_M (about 15 GB). This is an editorial choice based on the model's stated focus and size, not a benchmark.

How to run them

Install LM Studio (it offers Apple's fast MLX format) or Ollama. Mixture-of-experts models are a great fit for Macs: they need a lot of memory but compute only a small part per word, so they answer quickly.

Other Macs

← All open-source models