Skip to content
Llama Builds

Recommendations · October 2026

The best local LLMs for the M4 Max 128GB

Every model worth running on 128GB of unified memory (about 96GB usable by the GPU by default), which quantization to pick, and how fast each one generates text.

By Updated

Our picks at a glance

We may earn a commission when you buy through links on this page. It never changes what we recommend. How we make money

01 · Best overall · also coding, reasoning, vision, largest that fits

Qwen3.5 122B-A10B

Runs well122B (10B active)Alibaba QwenApache 2.0 license

Qwen3.5 122B-A10B (122B (10B active)) fits comfortably in the M4 Max 128GB's memory at Q4_K_M, using about 77GB with 8K context and generating ~31 tokens/sec. It is the most capable model in our catalog that runs well on this card. It is also our top pick for coding, reasoning and working with images. It is also the largest model that runs fully on this GPU.

Qwen3.5 122B-A10B is the mid-size mixture-of-experts model from Qwen's February 2026 Qwen3.5 launch, with 10B active parameters, image input, a 262K context, and switchable thinking. Later Qwen releases refreshed the 27B and 35B-A3B sizes, so this remains Qwen's main model for 96GB to 128GB machines. It needs about 77GB at Q4_K_M with 8K context, which suits Macs with 96GB or more, Strix Halo 128GB systems, and DGX Spark; a 24GB GPU needs 96GB or more of system RAM to hold the offloaded experts. Its hybrid attention keeps the KV cache small, so long contexts are cheap.

Quantization
Q4_K_M
Memory used
77.0 GB
Speed (est.)
~31 tok/s
Max context
~256K
$ ollama run qwen3.5:122bModel details →

02 · Runner-up

Qwen3.6 35B-A3B

Runs well35B (3B active)Alibaba QwenApache 2.0 license

Qwen3.6 35B-A3B (35B (3B active)) fits comfortably in the M4 Max 128GB's memory at Q8_0, using about 41GB with 8K context and generating ~51 tokens/sec. It is the next-best model that runs well here, and the one to try if the top pick doesn't suit you.

Qwen3.6 35B-A3B is the April 2026 refresh of Qwen's fast mixture-of-experts model, focused on agentic coding and on preserving its reasoning across multi-turn tool use. With only 3B active parameters it generates text very quickly, and its hybrid linear attention keeps the KV cache tiny: the full 262K context needs about 5GB. At Q4_K_M it needs about 24GB with 8K context, which is tight on a 24GB card and comfortable on 32GB GPUs and Macs with 36GB or more; 12GB to 16GB GPUs run it well with experts offloaded to system RAM. It replaces Qwen3 30B-A3B and Qwen3 Coder 30B-A3B for most local users.

Quantization
Q8_0
Memory used
41.0 GB
Speed (est.)
~51 tok/s
Max context
~256K
$ ollama run qwen3.6:35bModel details →

03 · Fastest good model

gpt-oss-20b

Runs well20.9B (3.6B active)OpenAIApache 2.0 license

gpt-oss-20b (20.9B (3.6B active)) fits comfortably in the M4 Max 128GB's memory at MXFP4, using about 15GB with 8K context and generating ~67 tokens/sec. Pick it when responsiveness matters more than squeezing out maximum quality.

gpt-oss-20b is OpenAI's small open-weight reasoning model, a 21B mixture-of-experts with 3.6B active parameters whose expert weights ship natively in 4-bit MXFP4. OpenAI has not released a successor, and it remains one of the best reasoning and tool-calling models that fits a 16GB GPU. The native weights take about 14GB, so 16GB cards and Macs with 24GB or more run it fully in memory, and 12GB cards run it with a little CPU offload. Reasoning effort is adjustable (low, medium, high) but cannot be turned off.

Quantization
MXFP4
Memory used
15.0 GB
Speed (est.)
~67 tok/s
Max context
~128K
$ ollama run gpt-oss:20bModel details →

The full list

Every model that runs on the M4 Max 128GB

#ModelBest quantMemorySpeedFit
1Qwen3.5 122B-A10B122B (10B active)Q4_K_M77.0 GB~31 tok/sRuns well
2Qwen3.6 35B-A3B35B (3B active)Q8_041.0 GB~51 tok/sRuns well
3Qwen3.8 27B27BQ8_031.6 GB~12 tok/sRuns well
4gpt-oss-120b117B (5.1B active)MXFP468.3 GB~58 tok/sRuns well
5Gemma 4 31B31BQ8_035.9 GB~11 tok/sRuns well
6Gemma 4 26B A4B26B (3.8B active)Q8_029.5 GB~44 tok/sRuns well
7GLM-4.5-Air106B (12B active)Q5_K_M79.9 GB~23 tok/sRuns well
8gpt-oss-20b20.9B (3.6B active)MXFP415.0 GB~67 tok/sRuns well
9Qwen3.5 9B9BQ8_012.0 GB~31 tok/sRuns well
10Gemma 4 E4B8BQ8_010.5 GB~36 tok/sRuns well
11Llama 4 Scout109B (17B active)Q5_K_M81.3 GB~17 tok/sRuns well
12Phi-414.7BQ8_018.3 GB~22 tok/sRuns well

Ranked by our capability score, adjusted for quantization and speed. Memory includes 8K context. Speeds are estimates for a single user; seemethodology.

Limits

Popular models that don't run well on 128GB

Setup

Best settings and software for the M4 Max 128GB

Macs run local models through Metal, and MLX gives the best speed on Apple silicon. With Qwen3.5 122B-A10B at Q4_K_M, you can fit roughly 256K tokens of context with a 16-bit KV cache; an 8-bit KV cache about doubles that.

  • LM Studio (MLX): the fastest point-and-click option on a Mac.
  • Ollama: simple CLI and API, runs GGUF models on Metal.
  • mlx-lm: Apple's own framework, for scripting and fine-tuning.
  • llama.cpp: broadest model and quantization support on Metal.

New to quantization? Q4_K_M is the safe default; read our quantization explainer to see when Q5, Q6, or Q8 is worth the extra memory.

Upgrade path

Need more memory?

Memory capacity decides which models you can run. These are the most popular options with more memory than the M4 Max 128GB.

Thinking of buying one?

Apple Mac Studio M4 Max 128GB

Specs, benchmarks, and our full take

Frequently asked questions

What is the best LLM for the M4 Max 128GB?

Qwen3.5 122B-A10B is the best all-round model for the M4 Max 128GB. At Q4_K_M it uses about 77GB with 8K context and generates ~31 tokens/sec.

What quantization should I use on the M4 Max 128GB?

Use the highest-precision quant that leaves room for your context. Q4_K_M is the best default: it is about a quarter the size of the original 16-bit weights with only a small quality loss. If a model fits at Q5_K_M, Q6_K, or Q8_0 with room to spare, use that instead. Avoid going below Q3 except for very large models.

How much context can I use with Qwen3.5 122B-A10B on the M4 Max 128GB?

At Q4_K_M with a 16-bit KV cache, roughly 256K tokens fit in 128GB unified memory. Quantizing the KV cache to 8-bit (for example with llama.cpp's --cache-type-k q8_0 --cache-type-v q8_0) roughly doubles that.

Can the M4 Max 128GB run DeepSeek V4 Flash?

No. DeepSeek V4 Flash needs about 168GB at FP4 with 8K context, which is far more than 128GB unified memory.

Can the M4 Max 128GB run GLM-5.3-Flash?

No. GLM-5.3-Flash needs about 201GB at Q4_K_M with 8K context, which is far more than 128GB unified memory.