Skip to content

Best LLMs for Mac M5 Max 128 GB

182 of 264 open LLMs fit completely in Mac M5 Max 128 GB's memory (128 GB unified (~108 GB GPU), 0.614 TB/s) at a 32K context. Top ranked: Gemma 4 31B (BF16, ~7.8 tok/s).

Open Mac M5 Max 128 GB in the calculator →

Mac M5 Max 128 GB for local LLMs at a glance

GPU memory
128 GB unified (~108 GB GPU) (see 96 GB VRAM tier)
Memory bandwidth
0.614 TB/s
Compute (BF16)
35 TFLOPS
Native precision
BF16, INT8
Default engine
llama.cpp / Ollama / MLX
Hardware price
$5,099 (list) · compare local LLM hardware
Best overall LLM
Gemma 4 31B (BF16, ~7.8 tok/s)
Best coding LLM
Qwen3.8 27B (BF16, ~9.4 tok/s)
Largest model in VRAM
Hy4 Flash (220B, Q5_K_M)

Models that run on Mac M5 Max 128 GB

ModelParamsFormatSpeedLMArena
Gemma 4 31B31BBF16~7.8 tok/s1,443
Qwen3.8 27B28BBF16~9.4 tok/s1,438
Gemma 4 26B-A4B26B (4B active)BF16~34 tok/s1,434
Qwen3.5 122B-A10B125B (10B active)Q6_K~30 tok/s1,418
Qwen3-Next 80B-A3B81B (3B active)Q8_0~58 tok/s1,417
Qwen3.5 27B28BBF16~9.4 tok/s1,409
Nemotron 3.5 Super VL 120B-A12B124B (12B active)Q4_K_M~27 tok/s1,407
Step 3.5 Flash199B (11B active)Q3_K_M~38 tok/s1,403
Qwen3.5 35B-A3B36B (3B active)BF16~42 tok/s1,395
GLM-4.5-Air110B (13B active)Q6_K~17 tok/s1,384
Nemotron 3 Super 120B-A12B124B (12B active)Q6_K~20 tok/s1,377
gpt-oss 120B117B (5.1B active)MXFP4~75 tok/s1,365
Granite 4.2 30B29BBF16~7.5 tok/s1,361
Gemma 3 27B27BBF16~8.8 tok/s1,358
GLM-4.7-Flash31B (3.6B active)BF16~33 tok/s1,351
Nemotron 3 Nano 30B-A3B32B (3B active)BF16~39 tok/s1,348
Inkling 2 Mini26B (3.4B active)Q6_K~36 tok/s1,344
Qwen3 32B33BBF16~6.8 tok/s1,340
Mistral Small 3.2 24B24BBF16~9.8 tok/s1,338
Gemma 3 12B12BBF16~19 tok/s1,334
Nemotron 3.5 Lightning 30B-A3B33B (3B active)BF16~39 tok/s1,330
Granite 4.2 8B8.8BBF16~21 tok/s1,319
Qwen3 30B-A3B31B (3B active)BF16~34 tok/s1,317
Granite 4.2 3B3.7BBF16~48 tok/s1,293
Gemma 3 4B4.3BBF16~56 tok/s1,291

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 M5 Max 128 GB LLM FAQ

What is the best LLM to run on Mac M5 Max 128 GB?

At a 32K context, the highest-ranked open model that fits entirely in Mac M5 Max 128 GB's memory (128 GB unified (~108 GB GPU)) is Gemma 4 31B in BF16 (about 7.8 tokens/s). In total, 182 open models fit completely in GPU memory.

What is the best coding LLM for Mac M5 Max 128 GB?

Qwen3.8 27B leads the LMArena coding category among models that fit on one Mac M5 Max 128 GB (BF16, about 9.4 tokens/s).

Can Mac M5 Max 128 GB run a 70B LLM?

Yes. A 70B model such as Llama 3.3 70B fits entirely in memory on one Mac M5 Max 128 GB in Q8_0 at about 5.8 tokens/s (32K context).

How fast is Mac M5 Max 128 GB for local LLMs?

LLM token generation speed is bounded by memory bandwidth. Mac M5 Max 128 GB delivers 0.614 TB/s of memory bandwidth and 35 BF16 TFLOPS, reaching about 7.8 tokens/s on Gemma 4 31B (BF16) and 58 tokens/s on Qwen3-Next 80B-A3B.

Compare with similar hardware

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