Advisor / Guides / 24GB Mac

Best local LLMs for a 24GB Mac

On a 24GB Mac (Apple M6, 170 GB/s), the largest model in our dataset that fits fully at 16k context is LFM2.5 24B-A2B Q4_K_M (14.9 GB, ~57 tok/s (estimated)). The fastest that fits is LFM3 1.7B Q8_0 at ~60 tok/s (estimated). Unified memory is shared with the system, so about 16.3 GB is usable for the model and KV cache. Speeds are labelled measured, scaled or estimated.

16.3 GBusable for model + KV cache
12/35models fit fully at 16k
170 GB/sApple M6 bandwidth at 24GB
13Mac configs with 24GB

The short answer

On a 24GB Mac (Apple M6, 170 GB/s), the largest model in our dataset that fits fully at 16k context is LFM2.5 24B-A2B Q4_K_M (14.9 GB, ~57 tok/s (estimated)). The fastest that fits is LFM3 1.7B Q8_0 at ~60 tok/s (estimated).

Some 24GB Macs are much faster than the base Apple M6: Mac mini — M5 Pro (16-core GPU) at 307 GB/s; MacBook Pro 14 — M5 Pro (16-core GPU) at 307 GB/s; MacBook Pro 14/16 — M5 Pro (20-core GPU) at 307 GB/s. The table uses the common base chip so the numbers stay conservative.

Macs with 24 GB of unified memory

Bandwidth can change with the memory size (for example M6 is 153 GB/s at 16GB and 170 GB/s at 24/32GB). Amazon links are search results, not a price. As an Amazon Associate I earn from qualifying purchases.

Models that fit a 24GB Apple M6, largest first

16k context, f16 KV cache, 170 GB/s. Other chips at this size: Apple M5 Pro (307 GB/s), Apple M4 Pro (273 GB/s), Apple M5 (153 GB/s), Apple M4 (120 GB/s).

ModelParamsQuantFitMemoryTok/sSpeed source
LFM2.5 24B-A2B23.97B MoEQ4_K_Mfits fully14.9 GB57estimated
gpt-oss 20B20.91B MoEQ8_0fits fully12.5 GB40estimated
Mellum2.1 12B-A2.5B Instruct12.15B MoEQ8_0fits fully13.2 GB32estimated
Gemma 4 12B11.96BQ4_K_Mfits fully7.7 GB17scaled from measured
Qwen3.5 9B9.65BQ6_Kfits fully8.0 GB16scaled from measured
Ornith 1.5 9B9.65BQ6_Kfits fully8.3 GB16scaled from measured
Qwen3-VL 8B8.77BQ6_Kfits fully9.1 GB18scaled from measured
Gemma 4 E4B8BQ6_Kfits fully7.4 GB17scaled from measured
DeepSeek R1 Distill Qwen 7B7.62BQ8_0fits fully9.0 GB15scaled from measured
Qwen3.5 4B4.66BQ8_0fits fully5.1 GB27scaled from measured
Nemotron 3 Nano 4B3.97BQ8_0fits fully4.6 GB29scaled from measured
LFM3 1.7B1.73BQ8_0fits fully2.1 GB60estimated

MLX on this Mac

MLX is Apple's machine-learning framework for Apple Silicon. Where a verified MLX conversion exists (mlx-community or the model's own publisher), the commands above include an MLX block next to llama.cpp and ollama.

Repos are checked against the Hugging Face API (how).

FAQ

What is the best local LLM for a 24GB Mac?

On a 24GB Mac (Apple M6, 170 GB/s), the largest model in our dataset that fits fully at 16k context is LFM2.5 24B-A2B Q4_K_M (14.9 GB, ~57 tok/s (estimated)). The fastest that fits is LFM3 1.7B Q8_0 at ~60 tok/s (estimated).

Does a 24GB Mac share memory with the OS?

Yes. We treat about 16.3 GB of the 24 GB as usable for the model and KV cache, which is why a model whose file is close to 24 GB may not fit at 16k context.

Are these speeds measured on a Mac?

Most Mac speeds on this page are estimated from memory bandwidth, or scaled from a measured run on similar hardware. They are labelled so you can tell them apart. MLX may be faster than the llama.cpp figures; we do not estimate by how much.

Which 24GB Mac is fastest for local LLMs?

At this memory size, higher bandwidth wins: Mac mini — M5 Pro (16-core GPU) is listed at 307 GB/s, versus 170 GB/s for the base Apple M6.

Also see: 16GB Mac · 32GB Mac · all guides · 24GB VRAM (GPUs) · interactive advisor.