gpt-oss-20b: hardware requirements

gpt-oss-20b needs about 13 GB of memory at Q4 quantization — a 12 GB download plus room for context and overhead. That fits a machine with 32GB RAM.

Parameters
22B
Tier
Needs a good desktop
Licence
See model card
Released
2025-08-05

This is a mixture-of-experts model. Only a fraction of its 22B parameters are used for each token, so it runs faster than its size suggests — but all of it still has to fit in memory. The speed is that of a small model; the memory requirement is that of a large one. More on this →

Will it run on your machine?

Download sizes by quantization

Lower quantization means a smaller file and less memory, at some cost to quality. Q4_K_M is the usual starting point. What is this?

QuantDownloadRAM @ 4KRAM @ 32KSource
Q4_K_Mrecommended12 GB13 GB14 GBmeasured
Q5_K_M12 GB13 GB14 GBmeasured
Q6_K12 GB13 GB15 GBmeasured
Q8_012 GB14 GB15 GBmeasured

“Measured” sizes are read from published GGUF files (unsloth/gpt-oss-20b-GGUF). “Estimated” sizes are derived from the parameter count and are typically within a few percent. The RAM columns add the context cache and runtime overhead to the download size.

Other sizes of gpt-oss-120b