Can Mac Studio M5 Max (128 GB) run Mixtral 8x22B Instruct (MoE)?

Yes, but it is tight. Mac Studio M5 Max (128 GB) runs Mixtral 8x22B Instruct (MoE) at Q4_K_M with a 16K context, using 89.7 GB of 98.0 GB usable memory at an estimated 11.1–23 tok/s. The largest context that still fits at Q4_K_M is 32K.

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

Open in calculator
Tight fitQ4_K_M · 16K context
11.1–23 tok/s
89.7 GBof 98.0 GB usable memory
92% used
Weights81.8 GBKV cache3.5 GBOverhead4.4 GB
8.3 GB free

Every quantization on Studio M5 Max 128GB

Q4_K_M (4-bit)
81.8 GB
estimate
89.7 GBTight fit32K
11.1–23 tok/s
Estimate
Q6_K (6-bit)
111 GB
estimate
119 GBToo large—
—
Q8_0 (8-bit)
143 GB
estimate
152 GBToo large—
—
FP16 / BF16 (16-bit)
270 GB
estimate
278 GBToo large—
—

Mac Studio M5 Max (128 GB) has 98.0 GB usable for models out of 128 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 8x22B Instruct (MoE) on Studio M5 Max 128GB by runtime

Command
Ollama
Q4_K_M
81.8 GB
estimate
89.7 GBTight fit11.1–23 tok/s
LM Studio
Q4_K_M
81.8 GB
estimate
89.7 GBTight fit11.1–23 tok/sNot in LM Studio's catalog.
llama.cpp
Q4_K_M
81.8 GB
estimate
89.7 GBTight fit11.1–23 tok/sNo Q4_K_M GGUF of this model found on Hugging Face.
MLX
4-bit
mlx-community/Mixtral-8x22B-Instruct-v0.1-4bit
73.7 GB
real file size
81.2 GBFits comfortably12.8–27 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 Studio M5 Max 128GB
$4.83

$3.21/mo power + $5,100 hardware over 36 months

Rented cloud GPU
$3.53

1x RTX PRO 6000 (96 GB) on Vast.ai at $1.41/hr

OpenRouter API
$3.00

$2.00 in / $6.00 out per 1M

Counting the hardware, running locally beats the API above 1.6M tokens/day. Assumes 75% input and 25% output tokens, one request at a time. Rent on Vast.ai · Open on OpenRouter

Questions and answers

Can Mac Studio M5 Max (128 GB) run Mixtral 8x22B Instruct (MoE)?

Yes, but it is tight. Mac Studio M5 Max (128 GB) runs Mixtral 8x22B Instruct (MoE) at Q4_K_M with a 16K context, using 89.7 GB of 98.0 GB usable memory at an estimated 11.1–23 tok/s. The largest context that still fits at Q4_K_M is 32K.

How fast is Mixtral 8x22B Instruct (MoE) on Mac Studio M5 Max (128 GB)?

About 11.1–23 tok/s at Q4_K_M. Modelled from memory bandwidth and model size. No published measurement covers this setup.

How much context can Mixtral 8x22B Instruct (MoE) use on Mac Studio M5 Max (128 GB)?

At Q4_K_M the largest context that fits is 32K tokens.