Can MacBook Pro M4 Max (128 GB) run gpt-oss-120b (MoE)?

Yes. MacBook Pro M4 Max (128 GB) runs gpt-oss-120b (MoE) at Q8_0 with a 16K context, using 63.0 GB of 98.0 GB usable memory at an estimated 37–76 tok/s. The largest context that still fits at Q8_0 is 128K.

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

Open in calculator
Fits comfortablyQ8_0 · 16K context
37–76 tok/s
63.0 GBof 98.0 GB usable memory
64% used
Weights59.0 GBKV cache0.6 GBOverhead3.4 GB
35.0 GB free

Every quantization on M4 Max 128GB

Q4_K_M (4-bit)
gpt-oss:120b
60.9 GB
real file size
64.9 GBFits comfortably128K
36–74 tok/s
Estimate
Q6_K (6-bit)
58.9 GB
estimate
62.9 GBFits comfortably128K
37–76 tok/s
Estimate
Q8_0 (8-bit)
59.0 GB
estimate
63.0 GBFits comfortably128K
37–76 tok/s
Estimate
FP16 / BF16 (16-bit)
111 GB
estimate
117 GBPartial offload—
10.3–24 tok/s
Estimate

MacBook Pro M4 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.

gpt-oss-120b (MoE) on M4 Max 128GB by runtime

Command
Ollama
Q8_0
59.0 GB
estimate
63.0 GBFits comfortably37–76 tok/s
LM Studio
Q8_0
unsloth/gpt-oss-120b-GGUF
59.0 GB
real file size
63.0 GBFits comfortably37–76 tok/s
llama.cpp
Q8_0
unsloth/gpt-oss-120b-GGUF
59.0 GB
real file size
63.0 GBFits comfortably37–76 tok/s
MLX
8-bit
116 GB
estimate
122 GBToo large—No 8-bit MLX build of this model on mlx-community. Convert one with mlx_lm.convert.

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 M4 Max 128GB
$3.72

$0.78/mo power + $3,990 hardware over 36 months

Rented cloud GPU
$0.97

1x A100 SXM (80 GB) on RunPod at $1.39/hr

OpenRouter API
$0.10

$0.05 in / $0.25 out per 1M

Counting the hardware, the API stays cheaper at every volume this machine can serve. Local still wins on privacy and offline use. Assumes 75% input and 25% output tokens, one request at a time. Rent on RunPod · Open on OpenRouter

Questions and answers

Can MacBook Pro M4 Max (128 GB) run gpt-oss-120b (MoE)?

Yes. MacBook Pro M4 Max (128 GB) runs gpt-oss-120b (MoE) at Q8_0 with a 16K context, using 63.0 GB of 98.0 GB usable memory at an estimated 37–76 tok/s. The largest context that still fits at Q8_0 is 128K.

How fast is gpt-oss-120b (MoE) on MacBook Pro M4 Max (128 GB)?

About 37–76 tok/s at Q8_0. Modelled from memory bandwidth and model size. No published measurement covers this setup.

How much context can gpt-oss-120b (MoE) use on MacBook Pro M4 Max (128 GB)?

At Q8_0 the largest context that fits is 128K tokens. Q4_K_M: 128K, Q6_K: 128K.