The model at a glance
| gpt-oss-20b | |
|---|---|
| Total parameters | 21B |
| Active per token | 3.6B (4 of 32 experts) |
| Weights format | MXFP4 (expert weights), as released |
| Download (Ollama gpt-oss:20b) | 14 GB |
| Context length | up to 128K tokens |
| License | Apache-2.0 |
| OpenAI's hardware note | runs within 16 GB of memory |
Which Macs run gpt-oss-20b
| Mac | Memory for models | Fits? | Speed |
|---|---|---|---|
| Mac mini M6 16GB | ~12 GB | No | doesn't fit |
| Mac mini M6 32GB | ~28 GB | Yes | ~31.9 tok/s |
| Mac mini M5 Pro 48GB | ~44 GB | Yes | ~57.6 tok/s |
| Mac mini M5 Pro 64GB | ~60 GB | Yes | 61.0 tok/s |
| Mac Studio M5 Max 128GB | ~124 GB | Yes | ~115 tok/s |
| Mac Studio M5 Ultra 256GB | ~252 GB | Yes | ~225 tok/s |
| Mac Studio M5 Ultra 512GB | ~508 GB | Yes | ~225 tok/s |
| Mac mini M1 16GB (used) | ~12 GB | No | doesn't fit |
| Mac mini M4 Pro 64GB (used) | ~60 GB | Yes | ~51.2 tok/s |
When to step up to gpt-oss-120b
The bigger gpt-oss 120B (MXFP4) is 65 GB and needs a 96–128 GB Mac; see gpt-oss-120b requirements. For coding-specific options, see the best local LLM for coding.
FAQ
What are the requirements for gpt-oss-20b?
gpt-oss-20b has 21B parameters with 3.6B active per token, ships in MXFP4, and is a 14 GB download in Ollama. OpenAI says it runs within 16 GB of memory, but on a Mac macOS needs about 4 GB too, so a 16 GB Mac doesn't leave enough room. A 24 GB or 32 GB Mac is the comfortable minimum; a Mac mini M6 32GB runs it at about 31.9 tokens per second (estimate).
Can gpt-oss-20b run on a 16 GB Mac?
It's 14 GB and macOS needs about 4 GB, so it's very tight on 16 GB: little room for context or other apps. A 24 GB or 32 GB Mac is the comfortable choice.
How fast is gpt-oss-20b on a Mac mini?
About 31.9 tokens per second on a Mac mini M6 32GB (estimate), and faster on an M5 Pro with more bandwidth.
See any model on the exact Mac you're considering.
Sources
Speeds come from published measurements (with source links) or labeled estimates. How we measure