Can I run it?

Can I run gpt oss 20b on Apple M5 Max (40-core GPU)?

Runs great

Runs great fully in unified memory on your Apple M5 Max (40-core GPU) at UD-Q8_K_XL, 8K context, about 84–114 tok/s. Weights 12.3 GB plus 0.19 GB of KV cache — 12.9 GB of 36.0 GB usable. Up to 128K context still fits.

Best quantUD-Q8_K_XL
Working context8K
Max that fits128K
Speed84–114 tok/s
Weights12.3 GB
KV cache0.19 GB
Total12.9 GB
Usable36.0 GB

gpt oss 20b details · Apple M5 Max (40-core GPU) page · How this estimate is made

Run commands

llama.cpp
llama-server -hf unsloth/gpt-oss-20b-GGUF:UD-Q8_K_XL -c 8192 -ngl 24

No matching name in the Ollama library snapshot.

LM Studio
lms get unsloth/gpt-oss-20b-GGUF
# Then load quant UD-Q8_K_XL

Assumptions

Larger models that also fit

Updated 2026-10-24. Profile on this page is the device default.