128GB VRAM

Mac M5 Max 128G — what LLMs can it run?

102 of 112 indexed models fit comfortably in 128GB at 4K context, each at the highest-quality quant that still leaves headroom.

The short answer for Mac M5 Max 128G

128 GB, 614 GB/s Unified LPDDR5X. 102 of 112 models in this index fit comfortably at 4K context; 102 load at all.

Biggest that fits
DBRX Instruct — 84.3 GB at Q4_K_M — 11.7 GB spare at 4K, so longer context comes out of a thin margin.
Room to grow
Llama 3.2 90B Vision Instruct — 57.5 GB at Q4_K_M — under 60% of the card, which leaves 38.5 GB for a long context window or a second process.
Speed ceiling
Llama 3.1 8B Instruct at Q4_K_M reads 4.6 GB of weights per token, so 614 GB/s puts a hard ceiling near 133 tok/s. That is arithmetic on two published numbers, not a benchmark — real throughput lands below it. No run on this card has been measured here, so there is nothing to compare the ceiling against.
The wall you will hit
The GPU's share of unified memory, not the 128 GB on the box. macOS reserves part of the pool for the system and caps what a single process may wire down, so the practical budget is meaningfully below nameplate — the limit is adjustable (`iogpu.wired_limit_mb`) but it is not absent. Bandwidth is 614 GB/s, which is the number that decides tok/s once a model fits.
Best local LLM for Apple silicon

70B+ · 13

Mac M5 Max 128G — what LLMs can it run? — 70B+
ModelQuantEst. VRAMHeadroomtok/s
DBRX Instruct132B MoEQ4_K_M84.31 GB+11.7 GB≤30Ceiling
Qwen3.8-Flash-Next125B-A6BQ4_K_M79.32 GB+16.7 GB≤178Ceiling
Nemotron 3.5 Super VL 120B-A12B120B-A12BQ4_075.12 GB+20.9 GB≤91Ceiling
GPT-OSS 120B117B MoEMXFP466.4 GB+29.6 GB≤234Ceiling
Llama 4 Scout 17B (16E)109B MoEQ4_K_M69.88 GB+26.1 GB≤63Ceiling
GLM-4.5-Air106B MoEQ4_K_M67.94 GB+28.1 GB≤89Ceiling
Llama 3.2 90B Vision Instruct90BQ4_K_M57.5 GB+38.5 GB≤12Ceiling
Nemotron 3.5 Bolt 74B-A9B74B-A9BIQ2_XXS23.05 GB+73 GB≤241Ceiling
Qwen2.5 72B Instruct72BQ5_K_M55.31 GB+40.7 GB≤13Ceiling
Llama 3.1 70B Instruct70BQ5_K_M53.75 GB+42.3 GB≤13Ceiling
Llama 3.3 70B Instruct70BQ5_K_M53.75 GB+42.3 GB≤13Ceiling
DeepSeek-R1-Distill-Llama-70B70BQ4_K_M46.1 GB+49.9 GB≤15Ceiling
Jamba 1.5 Mini52B-A12BQ4_K_M33.01 GB+63 GB≤89Ceiling

32B · 31

Mac M5 Max 128G — what LLMs can it run? — 32B
ModelQuantEst. VRAMHeadroomtok/s
Kimi Linear 48B-A3B Instruct48B-A3BQ8_053.33 GB+42.7 GB≤203Ceiling
Mixtral 8x7B Instruct47B MoEQ4_K_M30.13 GB+65.9 GB≤83Ceiling
Seed-OSS 36B Instruct36BQ5_K_M27.81 GB+68.2 GB≤25Ceiling
Qwen3.6 35B-A3B35B-A3BQ8_039.6 GB+56.4 GB≤203Ceiling
Command R 35B35BQ4_K_M22.86 GB+73.1 GB≤30Ceiling
Yi 1.5 34B Chat34BQ4_K_M22.82 GB+73.2 GB≤31Ceiling
Qwen3 32B Instruct32BQ4_K_M21.85 GB+74.2 GB≤33Ceiling
Qwen2.5 32B Instruct32BQ4_K_M21.69 GB+74.3 GB≤33Ceiling
Qwen2.5-Coder 32B Instruct32BQ4_K_M21.69 GB+74.3 GB≤33Ceiling
DeepSeek-R1-Distill-Qwen-32B32BQ4_K_M21.69 GB+74.3 GB≤33Ceiling
Nemotron 3.5 Lightning 30B-A3B30B-A3BQ8_035.14 GB+60.9 GB≤203Ceiling
Gemma 4 31B IT31BQ8_035.72 GB+60.3 GB≤20Ceiling
Qwen3 30B-A3B Instruct30B-A3BQ5_K_M23.04 GB+73 GB≤303Ceiling
Qwen3-Coder 30B-A3B Instruct30B-A3BQ5_K_M23.04 GB+73 GB≤303Ceiling
Qwen3-VL 30B-A3B Instruct30B-A3BQ8_034.28 GB+61.7 GB≤203Ceiling
North Mini Code 1.0 30B-A3B30B-A3BQ8_034.3 GB+61.7 GB≤203Ceiling
GLM-4.7-Flash30B-A3BQ8_033.47 GB+62.5 GB≤203Ceiling
Granite 4.2 30B30BQ8_033.61 GB+62.4 GB≤21Ceiling
Muse Glimmer 30B30BQ8_031.08 GB+64.9 GB≤22Ceiling
Qwen3.8 27B27BQ4_K_M17.47 GB+78.5 GB≤39Ceiling
Qwen3.6 27B27BQ8_030.71 GB+65.3 GB≤22Ceiling
Gemma 3 27B IT27BQ4_K_M18.37 GB+77.6 GB≤39Ceiling
Gemma 2 27B Instruct27BQ5_K_M21.76 GB+74.2 GB≤33Ceiling
Gemma 4 26B-A4B IT26B-A4BQ8_028.42 GB+67.6 GB≤152Ceiling
Mistral Small 24B Instruct24BQ4_K_M15.89 GB+80.1 GB≤44Ceiling
LFM2.5 24B-A2B24B-A2BQ8_026.73 GB+69.3 GB≤248Ceiling
Devstral Small 1.1 24B24BQ6_K20.91 GB+75.1 GB≤33Ceiling
Magistral Small 1.2 24B24BQ6_K20.91 GB+75.1 GB≤33Ceiling
Codestral 22B22BQ4_K_M15.03 GB+81 GB≤48Ceiling
ERNIE 4.5 21B-A3B21B-A3BQ8_024.44 GB+71.6 GB≤203Ceiling
GPT-OSS 20B21B MoEMXFP412.76 GB+83.2 GB≤310Ceiling

14B · 19

Mac M5 Max 128G — what LLMs can it run? — 14B
ModelQuantEst. VRAMHeadroomtok/s
InternLM2 20B Chat20BQ5_K_M15.59 GB+80.4 GB≤46Ceiling
DeepSeek-Coder-V2-Lite Instruct16B-A2.4BQ8_017.56 GB+78.4 GB≤253Ceiling
DeepSeek-V2-Lite Chat16B-A2.4BQ4_K_M10.08 GB+85.9 GB≤444Ceiling
StarCoder2 15B15BQ4_K_M10.19 GB+85.8 GB≤71Ceiling
Qwen3 14B Instruct14BQ5_K_M11.65 GB+84.4 GB≤62Ceiling
Qwen2.5 14B Instruct14BQ5_K_M11.73 GB+84.3 GB≤62Ceiling
DeepSeek-R1-Distill-Qwen-14B14BQ4_K_M10.14 GB+85.9 GB≤72Ceiling
Phi-4 14B14BQ5_K_M11.77 GB+84.2 GB≤62Ceiling
Phi-3 Medium 14B Instruct14BQ6_K12.86 GB+83.1 GB≤56Ceiling
Mistral Nemo 12B Instruct12BQ6_K11.14 GB+84.9 GB≤65Ceiling
Gemma 3 12B IT12BQ5_K_M9.84 GB+86.2 GB≤75Ceiling
Mellum2.1 12B-A2.5B Thinking12B-A2.5BQ8_013.6 GB+82.4 GB≤244Ceiling
Stable LM 2 12B Chat12BQ4_K_M8.35 GB+87.7 GB≤88Ceiling
Gemma 4 12B IT12BQ8_013.82 GB+82.2 GB≤51Ceiling
Llama 3.2 11B Vision Instruct11BQ8_012.9 GB+83.1 GB≤55Ceiling
Solar 10.7B Instruct11BQ4_K_M7.6 GB+88.4 GB≤100Ceiling
Falcon 3 10B Instruct10BQ4_K_M7.28 GB+88.7 GB≤103Ceiling
Gemma 2 9B Instruct9BQ8_011.7 GB+84.3 GB≤66Ceiling
Qwen3.5 9B9BQ8_010.37 GB+85.6 GB≤66Ceiling

7B · 25

Mac M5 Max 128G — what LLMs can it run? — 7B
ModelQuantEst. VRAMHeadroomtok/s
GLM-4-9B-Chat9BQ8_010.16 GB+85.8 GB≤68Ceiling
Qwen3-VL 8B Instruct8BQ8_010.39 GB+85.6 GB≤69Ceiling
Granite 4.2 8B8BQ8_010.45 GB+85.6 GB≤69Ceiling
Ministral 3 8B Instruct8BQ8_010.02 GB+86 GB≤72Ceiling
Qwen2-VL 7B Instruct7BQ4_K_M5.49 GB+90.5 GB≤129Ceiling
Granite 3.1 8B Instruct8BQ4_K_M5.88 GB+90.1 GB≤130Ceiling
Qwen3 8B Instruct8BQ6_K7.64 GB+88.4 GB≤96Ceiling
Llama 3.1 8B Instruct8BQ8_09.47 GB+86.5 GB≤76Ceiling
Nous Hermes 3 Llama 3.1 8B8BQ4_K_M5.64 GB+90.4 GB≤133Ceiling
Aya 23 8B8BQ4_K_M5.64 GB+90.4 GB≤133Ceiling
OpenChat 3.6 8B8BQ4_K_M5.64 GB+90.4 GB≤133Ceiling
DeepSeek-R1-Distill-Llama-8B8BQ5_K_M6.51 GB+89.5 GB≤113Ceiling
InternLM2 7B Chat7BQ4_K_M5.45 GB+90.6 GB≤138Ceiling
Qwen2.5 7B Instruct7BQ6_K6.77 GB+89.2 GB≤103Ceiling
Qwen2.5-Coder 7B Instruct7BQ4_K_M5.07 GB+90.9 GB≤140Ceiling
DeepSeek-R1-Distill-Qwen-7B7BQ4_K_M5.07 GB+90.9 GB≤140Ceiling
Gemma 4 E4B ITE4BQ8_08.46 GB+87.5 GB≤81Ceiling
OLMo 2 7B Instruct7BQ8_010.3 GB+85.7 GB≤83Ceiling
OLMo 3 7B Instruct7BQ8_010.3 GB+85.7 GB≤83Ceiling
WizardLM-2 7B7BQ4_K_M5.14 GB+90.9 GB≤147Ceiling
Mistral 7B Instruct v0.37BQ6_K6.75 GB+89.3 GB≤109Ceiling
Zephyr 7B Beta7BQ6_K6.75 GB+89.3 GB≤109Ceiling
Gemma 4 E2B ITE2BQ8_05.2 GB+90.8 GB≤131Ceiling
Qwen3.5 4B4BQ8_04.97 GB+91 GB≤140Ceiling
Gemma 3 4B IT4BQ8_05.05 GB+91 GB≤141Ceiling

≤3B · 14

Mac M5 Max 128G — what LLMs can it run? — ≤3B
ModelQuantEst. VRAMHeadroomtok/s
Qwen3 4B Instruct4BQ6_K4.05 GB+92 GB≤197Ceiling
Phi-4 Mini Instruct3.8BQ8_04.81 GB+91.2 GB≤158Ceiling
Phi-3.5 Mini Instruct3.8BQ8_05.89 GB+90.1 GB≤159Ceiling
Granite 4.2 3B3BQ8_04.41 GB+91.6 GB≤166Ceiling
Llama 3.2 3B Instruct3BQ8_04.05 GB+92 GB≤190Ceiling
Qwen2.5 3B Instruct3BQ8_03.59 GB+92.4 GB≤197Ceiling
SmolLM3 3B3BQ8_03.73 GB+92.3 GB≤197Ceiling
Gemma 2 2B Instruct2BQ8_03.34 GB+92.7 GB≤233Ceiling
Qwen3.5 2B2BQ8_02.23 GB+93.8 GB≤310Ceiling
Qwen3 1.7B Instruct1.7BQ8_02.39 GB+93.6 GB≤353Ceiling
Qwen2.5 1.5B Instruct1.5BQ8_01.83 GB+94.2 GB≤396Ceiling
Llama 3.2 1B Instruct1BQ8_01.51 GB+94.5 GB≤491Ceiling
Qwen3.5 0.8B0.8BQ8_00.94 GB+95.1 GB≤758Ceiling
Qwen2.5 0.5B Instruct0.5BQ8_00.6 GB+95.4 GB≤1253Ceiling

How this list is built

Each row is the lowest-perplexity-loss quant of that model whose estimated total — weights plus KV cache at 4K context plus activation buffer — uses at most 88% of the card. That is the calculator's "green" threshold, so every row here has real headroom rather than only just fitting. Raise the context length and the list shortens; the calculator lets you check any combination directly. The speed column is this card: a measured run, a range scaled from this card's own Llama 2 7B benchmark, or a bandwidth ceiling. A figure that only exists for the RTX 4090 is labelled as that card.

Measured on this card

No benchmark runs in this index were recorded on a Mac M5 Max 128G. Every figure on this page is calculated from the model architecture and the quant level — treat them as estimates, not measurements.

Cards with the same budget

What fits is decided by memory, so every 128GB card of this type returns the same list. These pages are not different answers — they differ in throughput, which this index does not measure per card.

The same 128GB in system memory is a different machine — everything on this page fits there, at a speed set by your DIMMs rather than a graphics bus: 128 GB RAM (CPU)

Setup guides for this card

Step-by-step guides written for the Mac M5 Max 128G's runtime or memory size, with the commands and the checks that prove the model is running on the card.

Stepping up

A Mac M3 Ultra 192G (192GB) fits 1 more of the indexed models than this card. Mac M3 Ultra 192G →

Common questions

What is the best local LLM for a Mac M5 Max 128G?

For everyday use, Llama 3.2 90B Vision Instruct at Q4_K_M — about 57.5 GB of the card's 128 GB at 4K context, leaving 38.5 GB for a longer window. If you want the largest thing that will load, that is DBRX Instruct at Q4_K_M (84.3 GB, 11.7 GB spare). "Best" here means best fit for the memory budget — this index does not run task benchmarks, so it cannot tell you which model is smarter.

Can a Mac M5 Max 128G run Qwen3 235B-A22B Instruct?

No. Its smallest build here, Q3_K_M, needs about 119.6 GB and this card has 96.0 GB usable — short by 23.6 GB before any context beyond 4K. The largest model this card does clear is DBRX Instruct.

How many tokens per second does a Mac M5 Max 128G do on an 8B model at Q4?

This index has no measured run on this card, so it does not publish a figure. What can be stated from specifications: generating a token requires reading every weight once, Llama 3.1 8B Instruct at Q4_K_M is 4.6 GB of weights, and this card moves 614 GB/s — a ceiling near 133 tok/s. Batch size, context length, the runtime and how much of the model sits in cache all take you below it.

Mac M5 Max 128G or Mac M4 Max 128G for local LLMs?

They hold the same models: 128 GB against 128 GB fits 102 and 102 of 112 respectively at 4K. The difference is throughput — 614 GB/s against 546 GB/s, a 1.1× gap in how fast the weights can be read, which is what token generation is bound by. The Mac M5 Max 128G generates faster on any model both can hold.

102 of 112 indexed models fit comfortably in 128GB at 4K context, each at the highest-quality quant that still leaves headroom.

This page's figures change when the model or the runtime does.Last updated 2026-10-20 RSS → /feed.xml