Skip to content

Best LLMs for Mac M4 24 GB

125 of 264 open LLMs fit completely in Mac M4 24 GB's memory (24 GB unified (~18 GB GPU), 0.12 TB/s) at a 32K context. Top ranked: Qwen3.8 27B (Q3_K_M, ~5.7 tok/s).

Open Mac M4 24 GB in the calculator →

Mac M4 24 GB for local LLMs at a glance

GPU memory
24 GB unified (~18 GB GPU) (see 16 GB VRAM tier)
Memory bandwidth
0.12 TB/s
Compute (BF16)
4.3 TFLOPS
Native precision
BF16, INT8
Default engine
llama.cpp / Ollama / MLX
Best overall LLM
Qwen3.8 27B (Q3_K_M, ~5.7 tok/s)
Best coding LLM
Qwen3.8 27B (Q3_K_M, ~5.7 tok/s)
Largest model in VRAM
Ornith 1.5 35B-A3B (36B, Q3_K_M)

Models that run on Mac M4 24 GB

ModelParamsFormatSpeedLMArena
Qwen3.8 27B28BQ3_K_M~5.7 tok/s1,438
Gemma 4 26B-A4B26B (4B active)Q3_K_M~19 tok/s1,434
Qwen3.5 27B28BQ3_K_M~5.7 tok/s1,409
Qwen3.5 35B-A3B36B (3B active)Q3_K_M~24 tok/s1,395
Gemma 3 27B27BQ3_K_M~5.2 tok/s1,358
GLM-4.7-Flash31B (3.6B active)Q3_K_M~17 tok/s1,351
Inkling 2 Mini26B (3.4B active)Q3_K_M~13 tok/s1,344
Mistral Small 3.2 24B24BQ3_K_M~5.1 tok/s1,338
Gemma 3 12B12BQ8_0~6.2 tok/s1,334
Granite 4.2 8B8.8BQ8_0~6.2 tok/s1,319
Granite 4.2 3B3.7BBF16~9.4 tok/s1,293
Gemma 3 4B4.3BBF16~11 tok/s1,291
gpt-oss 20B21B (3.6B active)MXFP4~20 tok/s1,288
Mistral Small 3.1 24B24BQ3_K_M~5.1 tok/s1,277
Mistral Small 3 24B24BQ3_K_M~5.1 tok/s1,234
phi-415BQ4_K_M~5.4 tok/s1,217
Gemma 2 9B9.2BQ8_0~5.5 tok/s1,207
Ministral 8B8.0BQ8_0~6.9 tok/s1,191
Llama 3.1 8B8.0BQ8_0~7.3 tok/s1,187
Llama 3 8B8.0BQ8_0~7.3 tok/s1,166
Llama 3.2 3B3.2BBF16~8.7 tok/s1,110
Phi-3-mini-128k3.8BQ8_0~4.8 tok/s1,050
Ornith 1.5 35B-A3B36B (3B active)Q3_K_M~24 tok/s—
Sage-A1.536B (2.9B active)Q3_K_M~24 tok/s—
Qwen3.6 35B-A3B36B (3B active)Q3_K_M~24 tok/s—

One request at 32K context, BF16 KV cache, using the same rules as the LLM VRAM Calculator. Speed estimates are calibrated against published benchmarks (see accuracy).

Mac M4 24 GB LLM FAQ

What is the best LLM to run on Mac M4 24 GB?

At a 32K context, the highest-ranked open model that fits entirely in Mac M4 24 GB's memory (24 GB unified (~18 GB GPU)) is Qwen3.8 27B in Q3_K_M (about 5.7 tokens/s). In total, 125 open models fit completely in GPU memory.

What is the best coding LLM for Mac M4 24 GB?

Qwen3.8 27B leads the LMArena coding category among models that fit on one Mac M4 24 GB (Q3_K_M, about 5.7 tokens/s).

Can Mac M4 24 GB run a 70B LLM?

No. A 70B model needs roughly 40–45 GiB in 4-bit plus KV cache, which exceeds Mac M4 24 GB's 18 GB of usable GPU memory.

How fast is Mac M4 24 GB for local LLMs?

LLM token generation speed is bounded by memory bandwidth. Mac M4 24 GB delivers 0.12 TB/s of memory bandwidth and 4.3 BF16 TFLOPS, reaching about 5.7 tokens/s on Qwen3.8 27B (Q3_K_M) and 45 tokens/s on Unlimited-OCR.

Compare with similar hardware

See all best computers for local LLMs, browse by 16 GB VRAM, or check cloud GPU rental prices.