No — not on this device
gpt-oss 20B at MXFP4 needs 11.6 GB against 5.4 GB usable, and the shortfall of 6.2 GB is more than 64 GB of system RAM can cover at a tolerable speed. A smaller sibling or a lower quantisation is the honest answer here.
Ships natively in MXFP4, so the 4-bit weights are the reference weights, not a lossy copy. Fits 16 GB.
Hardware requirements What hardware do I need to run gpt-oss 20B? →At MXFP4 with an 8K context: a 16 GB GPU (RTX 5080) or a 24 GB Mac (M4 Pro). Minimum, recommended, high-quality and long-context tiers, with all 114 devices checked at every quantisation.
The VRAM budget
Quantisation ladder
| Quant | Weights | Total @ 8K | Max context | Tok/s | Quality | Fit |
|---|---|---|---|---|---|---|
| MXFP4 | 10.8 GB | 11.6 GB | — | ~14 | Reference | 6.2 GB over |
Quality is the published perplexity delta against f16 weights. Max context assumes an f16 KV cache; q8_0 roughly doubles it. This model interleaves sliding-window layers (128 tokens, 1 global in 2), which is why its cache barely grows with context.
How to run it
$ pip install mlx-lm $ mlx_lm.generate --model mlx-community/gpt-oss-20b-4bit \ --max-tokens 512 --prompt "Hello"
Apple's own array framework. The fastest path on Apple Silicon. More on MLX.
Related models on an M2 · 8 GB
| Model | Total | Tok/s est. | |
|---|---|---|---|
| gpt-oss 120B 117B MoE · same family |
MXFP4 · 61.4 GB | — | Won't fit |
| Mistral Small 3.2 24B 23.6B · similar size |
Q4_K_M · 15.1 GB | — | Won't fit |
| Devstral Small 2 24B 24B · similar size |
Q4_K_M · 15.3 GB | — | Won't fit |
| Gemma 4 26B-A4B 26.5B MoE · similar size |
Q4_K_M · 16.0 GB | — | Won't fit |
| Gemma 3 27B 27.4B · similar size |
Q4_K_M · 17.0 GB | — | Won't fit |
| Qwen3.8 27B 27.8B · similar size |
Q4_K_M · 16.7 GB | — | Won't fit |
| Qwen3.6 27B 27.8B · similar size |
Q4_K_M · 16.7 GB | — | Won't fit |
gpt-oss 20B on other hardware
| Device | Total | Tok/s est. | |
|---|---|---|---|
| GeForce RTX 4060 Laptop 7.0 GB usable · 256 GB/s |
11.6 GB | ~13 | CPU offload |
| GeForce RTX 3060 12 GB 10.6 GB usable · 360 GB/s |
11.6 GB | ~31 | CPU offload |
| GeForce RTX 5080 14.4 GB usable · 960 GB/s |
11.6 GB | 120 | Runs great |
| M4 · 16 GB 10.7 GB usable · 120 GB/s |
11.6 GB | — | Won't fit |
| GeForce RTX 4090 22.4 GB usable · 1008 GB/s |
11.6 GB | 126 | Runs great |
| Radeon RX 7900 XTX 22.4 GB usable · 960 GB/s |
11.6 GB | 120 | Runs great |
| M4 Pro · 24 GB 18.0 GB usable · 273 GB/s |
11.6 GB | 38 | Runs great |
| M3 Max · 64 GB 48.0 GB usable · 400 GB/s |
11.6 GB | 56 | Runs great |