← CanIRunLocal · All hardware · All models

Can a M4 Max (40c GPU) 128GB run gpt-oss 20B (MoE, MXFP4)?

Yes. gpt-oss 20B (MoE, MXFP4) fits in fast memory on M4 Max (40c GPU) 128GB at MXFP4 (15.1 GB needed, 96.0 GB usable), about 91 tok/s (estimate).

Hardware: M4 Max (40c GPU) 128GB · Model: gpt-oss 20B (MoE, MXFP4)

M4 Max (40c GPU) 128GB has 128 GB of unified memory and 546 GB/s of memory bandwidth. Mac Studio M4 Max (40c GPU) 128GB has the same memory and bandwidth, so the fit numbers match; this page is M4 Max (40c GPU) 128GB. The checker leaves macOS a share of unified memory, so Ollama can use 96.0 GB. gpt-oss 20B (MoE, MXFP4) (20.9B, 3.6B active, OpenAI) at MXFP4 is a 14 GB download and needs 15.1 GB with headroom for about 8k tokens.

Best quantMXFP4
Download size14 GB
Memory needed15.1 GB
Usable fast memory96.0 GB
Fitfits in fast memory
Estimated speed~91 tok/s (estimate)
Commandollama run gpt-oss:20b
Open M4 Max (40c GPU) 128GB in the checker

Estimates, not benchmarks. Model sizes are ollama.com download sizes; memory needed adds headroom for ~8k tokens of context; speeds are rough figures from memory bandwidth. Data updated 2026-10-23.

A project by OnDevice Labs · llms.txt