Can MacBook Pro M3 Max (36 GB) run Mixtral 8x7B Instruct (MoE)?

Only with tuning. At Q4_K_M Mixtral 8x7B Instruct (MoE) needs 31.1 GB, more than the 27.0 GB macOS gives the GPU by default on MacBook Pro M3 Max (36 GB). It loads after raising the memory limit, but expect swapping and about 7.6–17.8 tok/s.

Asking through an AI agent? Point it at llms.txt or the JSON API.

Open in calculator
Over GPU memory limitQ4_K_M · 16K context
7.6–17.8 tok/s
31.1 GBof 27.0 GB usable memory
115% used
Weights27.2 GBKV cache2.0 GBOverhead2.0 GB
+4.1 GB over limit

Every quantization on M3 Max 36GB

Q4_K_M (4-bit)
27.2 GB
estimate
31.1 GBPartial offload—
7.6–17.8 tok/s
Estimate
Q6_K (6-bit)
36.7 GB
estimate
41.1 GBToo large—
—
Q8_0 (8-bit)
47.6 GB
estimate
52.5 GBToo large—
—
FP16 / BF16 (16-bit)
89.6 GB
estimate
96.4 GBToo large—
—

MacBook Pro M3 Max (36 GB) has 27.0 GB usable for models out of 36 GB of unified memory. Max context is the longest window that still loads without spilling out of that memory. The label under each speed says whether it was measured, scaled from measurements on this hardware, or modelled.

Mixtral 8x7B Instruct (MoE) on M3 Max 36GB by runtime

Command
Ollama
Q4_K_M
27.2 GB
estimate
31.1 GBPartial offload7.6–17.8 tok/s
LM Studio
Q4_K_M
27.2 GB
estimate
31.1 GBPartial offload7.6–17.8 tok/sNot in LM Studio's catalog.
llama.cpp
Q4_K_M
27.2 GB
estimate
31.1 GBPartial offload7.6–17.8 tok/sNo Q4_K_M GGUF of this model found on Hugging Face.
MLX
4-bit
mlx-community/Mixtral-8x7B-Instruct-v0.1-4bit
24.5 GB
real file size
28.3 GBPartial offload8.4–19.5 tok/s

Each runtime loads its own build, so sizes differ. Ollama, LM Studio and llama.cpp use GGUF files, MLX its own format. Numbers above this table are for Ollama.

Cost per 1M tokens at 1M tokens/day

Local on M3 Max 36GB
—

Does not fit

Rented cloud GPU
$0.56

1x RTX A6000 (48 GB) on RunPod at $0.33/hr

OpenRouter API
—

Not listed on OpenRouter

Local cost is not shown because the model does not fit. Assumes 75% input and 25% output tokens, one request at a time. Rent on RunPod

Questions and answers

Can MacBook Pro M3 Max (36 GB) run Mixtral 8x7B Instruct (MoE)?

Only with tuning. At Q4_K_M Mixtral 8x7B Instruct (MoE) needs 31.1 GB, more than the 27.0 GB macOS gives the GPU by default on MacBook Pro M3 Max (36 GB). It loads after raising the memory limit, but expect swapping and about 7.6–17.8 tok/s.

How fast is Mixtral 8x7B Instruct (MoE) on MacBook Pro M3 Max (36 GB)?

It does not run at a usable speed: Mixtral 8x7B Instruct (MoE) does not fit into the memory of MacBook Pro M3 Max (36 GB).

How much context can Mixtral 8x7B Instruct (MoE) use on MacBook Pro M3 Max (36 GB)?

None of the standard quantizations fit MacBook Pro M3 Max (36 GB), so there is no usable context length.