Apple

Best local LLMs for the Mac · M4 (base), 24 GB

24 GB unified memory · 120 GB/s · ~17 GB usable.

Try it with your context & use case

Preset to the Mac · M4 (base), 24 GB. Change the context length or filter by use case.

18 models run well and 5 run tight on Mac · M4 (base), 24 GB (any context — just fitting the weights) — 17 GB usable (≈72% of unified memory).

Sort:
ModelSizeFitBest quantNeedsMemorySpeed
Gemma 3 27B27.4BRuns wellQ4_K_M17 GB
~5.2 tok/s
Gemma 2 27B27.2BRuns wellQ4_K_M17 GB
~5.3 tok/s
Mistral Small 3 24B23.6BRuns wellQ5_K_M17 GB
~5.2 tok/s
Qwen3 14B14.8BRuns wellQ8_016 GB
~5.5 tok/s
Qwen2.5 14B14.8BRuns wellQ8_016 GB
~5.5 tok/s
DeepSeek-R1 Distill Qwen 14B14.8BRuns wellQ8_016 GB
~5.5 tok/s
Phi-4 14B14.7BRuns wellQ8_016 GB
~5.5 tok/s
Mistral Nemo 12B12.2BRuns wellQ8_013 GB
~6.7 tok/s
Gemma 3 12B12.2BRuns wellQ8_013 GB
~6.7 tok/s
Gemma 2 9B9.2BRuns wellQ8_010 GB
~8.8 tok/s
Qwen3 8B8.2BRuns wellFP1617 GB
~5.3 tok/s
Llama 3.1 8B8.0BRuns wellFP1616 GB
~5.4 tok/s
Qwen2.5-Coder 7B7.6BRuns wellFP1615 GB
~5.7 tok/s
Mistral 7B v0.37.3BRuns wellFP1615 GB
~6.0 tok/s
Gemma 3 4B4.3BRuns wellFP169.1 GB
~10 tok/s
Qwen3 4B4BRuns wellFP168.5 GB
~11 tok/s
Llama 3.2 3B3.2BRuns wellFP167.0 GB
~13 tok/s
Llama 3.2 1B1.2BRuns wellFP163.2 GB
~35 tok/s
Qwen3 32B32.8BRuns (tight)Q3_K_M16 GB
~5.4 tok/s
Qwen2.5 32B32.8BRuns (tight)Q3_K_M16 GB
~5.4 tok/s
Qwen2.5-Coder 32B32.8BRuns (tight)Q3_K_M16 GB
~5.4 tok/s
DeepSeek-R1 Distill Qwen 32B32.8BRuns (tight)Q3_K_M16 GB
~5.4 tok/s
Qwen3 30B-A3B (MoE)MoE30.5BRuns (tight)Q3_K_M15 GB
~35 tok/s
DeepSeek-R1 671B-A37B (MoE)MoE671BWon't fit—273 GB
—
Qwen3 235B-A22B (MoE)MoE235BWon't fit—96 GB
—
Llama 4 Scout (MoE)MoE109BWon't fit—45 GB
—
Qwen2.5 72B72.7BWon't fit—30 GB
—
Llama 3.3 70B70.6BWon't fit—29 GB
—
DeepSeek-R1 Distill Llama 70B70.6BWon't fit—29 GB
—
Mixtral 8x7B (MoE)MoE46.7BWon't fit—20 GB
—

Estimates, computed in your browser — VRAM, quantisation and speed vary with your runtime and settings. How we estimate →

Top picks for the Mac · M4 (base), 24 GB

Best for general chat & assistance

Mistral Small 3 24B

23.6B · Q4 · ~6.1 tok/s

Best for coding

Mistral Small 3 24B

23.6B · Q4 · ~6.1 tok/s

Best for reasoning & math

Qwen3 14B

14.8B · Q8 · ~5.5 tok/s

Best for writing

Qwen2.5 14B

14.8B · Q6 · ~7.1 tok/s

Best for vision (image input)

Gemma 3 12B

12.2B · Q8 · ~6.7 tok/s

Best for low-end & edge hardware

Gemma 3 4B

4.3B · FP16 · ~10 tok/s

Best for tool use & agents

Mistral Small 3 24B

23.6B · Q4 · ~6.1 tok/s

Every model on the Mac · M4 (base), 24 GB

ModelSizeFitBest quantNeedsSpeed
Mistral Small 3 24B 23.6B Runs well Q4 16 GB ~6.1 tok/s
Qwen3 14B 14.8B Runs well Q8 17 GB ~5.5 tok/s
Qwen2.5 14B 14.8B Runs well Q6 14 GB ~7.1 tok/s
DeepSeek-R1 Distill Qwen 14B 14.8B Runs well Q6 14 GB ~7.1 tok/s
Phi-4 14B 14.7B Runs well Q6 14 GB ~7.2 tok/s
Mistral Nemo 12B 12.2B Runs well Q8 15 GB ~6.7 tok/s
Gemma 3 12B 12.2B Runs well Q8 16 GB ~6.7 tok/s
Gemma 2 9B 9.2B Runs well Q8 13 GB ~8.8 tok/s
Qwen3 8B 8.2B Runs well Q8 10 GB ~9.9 tok/s
Llama 3.1 8B 8.0B Runs well Q8 10 GB ~10 tok/s
Qwen2.5-Coder 7B 7.6B Runs well FP16 16 GB ~5.7 tok/s
Mistral 7B v0.3 7.3B Runs well FP16 16 GB ~6.0 tok/s
Gemma 3 4B 4.3B Runs well FP16 10 GB ~10 tok/s
Qwen3 4B 4B Runs well FP16 9.6 GB ~11 tok/s
Llama 3.2 3B 3.2B Runs well FP16 7.8 GB ~13 tok/s
Llama 3.2 1B 1.2B Runs well FP16 3.4 GB ~35 tok/s
Qwen3 32B 32.8B Runs (tight) Q2 16 GB ~6.3 tok/s
Qwen2.5 32B 32.8B Runs (tight) Q2 16 GB ~6.3 tok/s
Qwen2.5-Coder 32B 32.8B Runs (tight) Q2 16 GB ~6.3 tok/s
DeepSeek-R1 Distill Qwen 32B 32.8B Runs (tight) Q2 16 GB ~6.3 tok/s
Qwen3 30B-A3B (MoE)MoE 30.5B Runs (tight) Q3 16 GB ~35 tok/s
Gemma 3 27B 27.4B Runs (tight) Q2 16 GB ~7.5 tok/s
Gemma 2 27B 27.2B Runs (tight) Q3 17 GB ~6.5 tok/s
DeepSeek-R1 671B-A37B (MoE)MoE 671B Won't fit — 303 GB —
Qwen3 235B-A22B (MoE)MoE 235B Won't fit — 98 GB —
Llama 4 Scout (MoE)MoE 109B Won't fit — 46 GB —
Qwen2.5 72B 72.7B Won't fit — 33 GB —
Llama 3.3 70B 70.6B Won't fit — 32 GB —
DeepSeek-R1 Distill Llama 70B 70.6B Won't fit — 32 GB —
Mixtral 8x7B (MoE)MoE 46.7B Won't fit — 21 GB —

Similar hardware

FAQ

What is the best LLM for the Mac · M4 (base), 24 GB?

For general use, Mistral Small 3 24B is the strongest model that runs well on the Mac · M4 (base), 24 GB. See the picks-by-use-case below for coding, reasoning and more.

How much can the Mac · M4 (base), 24 GB run?

The Mac · M4 (base), 24 GB has 24 GB of unified memory, of which about 17 GB is usable for a model. That runs 16 of our tracked models well and 7 more at a tight quantisation.

Estimates at 8K context — see how we compute these.