OpenAI on Apple M4
Can I run gpt-oss 120B-A5.1B on an Mac Studio M4 Max 128GB?
Yes. gpt-oss 120B-A5.1B at Q4_K_M uses 67.1 GB of the 96.0 GB available on a Mac Studio M4 Max 128GB, and runs at about 83.3 tokens per second. You can push the context to 128K.
Runs comfortably
67.1 GB of 96.0 GB · 70%096 GB
Weights
66.0 GB
KV cache
0.6 GB
Runtime overhead
0.5 GB
gpt-oss 120B-A5.1B at Q4_K_M leaves 28.9 GB spare on a Mac Studio M4 Max 128GB. There is room to raise the context length or move up a quantisation level.
Generation83.3tok/s
Prompt processing1400tok/s
Max context128Ktokens
KV per 1K tokens0GB
Every quantisation of gpt-oss 120B-A5.1B on a Mac Studio M4 Max 128GB
Highlighted row is the highest quality that still fits at 8K context.
| Quantisation | bpw | Weights | Total | Verdict | Max ctx | tok/s |
|---|---|---|---|---|---|---|
| FP16 / BF16 | 16.00 | 217.6 GB | 218.6 GB | Won't fit | — | 6.50 |
| INT8 / W8A8 | 8.50 | 115.3 GB | 116.4 GB | Won't fit | — | 24.5 |
| FP8 (E4M3) | 8.00 | 108.8 GB | 109.8 GB | Won't fit | — | 30.4 |
| Q6_K | 6.56 | 89.2 GB | 90.3 GB | Fits, but tight | 90K | 65.1 |
| Q5_K_M | 5.67 | 77.1 GB | 78.2 GB | Runs comfortably | 128K | 73.5 |
| Q5_K_S | 5.52 | 75.1 GB | 76.1 GB | Runs comfortably | 128K | 75.1 |
| Q4_K_M | 4.85 | 66.0 GB | 67.1 GB | Runs comfortably | 128K | 83.3 |
| Q4_K_S | 4.58 | 62.4 GB | 63.5 GB | Runs comfortably | 128K | 87.1 |
| Q4_0 | 4.55 | 62.0 GB | 63.1 GB | Runs comfortably | 128K | 87.6 |
| AWQ 4-bit | 4.25 | 59.4 GB | 60.4 GB | Runs comfortably | 128K | 90.6 |
| GPTQ 4-bit | 4.25 | 59.4 GB | 60.4 GB | Runs comfortably | 128K | 90.6 |
| MXFP4 | 4.25 | 59.4 GB | 60.4 GB | Runs comfortably | 128K | 90.6 |
| IQ4_XS | 4.25 | 58.0 GB | 59.0 GB | Runs comfortably | 128K | 92.3 |
| Q3_K_M | 3.91 | 53.4 GB | 54.4 GB | Runs comfortably | 128K | 98.3 |
| IQ3_M | 3.70 | 50.6 GB | 51.6 GB | Runs comfortably | 128K | 102 |
| IQ3_XXS | 3.06 | 41.9 GB | 43.0 GB | Runs comfortably | 128K | 117 |
| Q2_K | 2.63 | 36.1 GB | 37.2 GB | Runs comfortably | 128K | 130 |
| IQ2_XXS | 2.06 | 28.5 GB | 29.5 GB | Runs comfortably | 128K | 152 |
| IQ1_M | 1.75 | 24.3 GB | 25.4 GB | Runs comfortably | 128K | 167 |