GPT-OSS 20B quants compared
28 GGUF builds by real file size, probed from bartowski/openai_gpt-oss-20b-GGUF on Hugging Face (2026-09-02). 21B params, 3.6B active.
Download GPT-OSS 20B Q4_K_M (10.87 GB) — it fits 24 GB of memory with 16k context. With Ollama: ollama run gpt-oss:20b
Every GPT-OSS 20B quant by real file size
| Quant | Weights | + KV (16k) | Total | Fits comfortably in | Quality |
|---|---|---|---|---|---|
| BF16 | 12.85 GB | 4.0 GB | 16.9 GB | 24 GB | Full precision (lossless) |
| MXFP4 | 11.28 GB | 4.0 GB | 15.3 GB | 24 GB | Native MoE format |
| Q8_0 | 11.28 GB | 4.0 GB | 15.3 GB | 24 GB | Near-lossless |
| Q6_K | 11.21 GB | 4.0 GB | 15.2 GB | 24 GB | Excellent |
| Q6_K_L | 11.21 GB | 4.0 GB | 15.2 GB | 24 GB | Excellent |
| Q5_K_L | 11.09 GB | 4.0 GB | 15.1 GB | 24 GB | Very high |
| Q5_K_M | 10.92 GB | 4.0 GB | 14.9 GB | 24 GB | Very high |
| Q5_K_S | 10.92 GB | 4.0 GB | 14.9 GB | 24 GB | Very high |
| Q4_K_M * | 10.87 GB | 4.0 GB | 14.9 GB | 24 GB | High — the default pick |
| Q4_K_L | 11.07 GB | 4.0 GB | 15.1 GB | 24 GB | High |
| Q4_K_S | 10.87 GB | 4.0 GB | 14.9 GB | 24 GB | High |
| Q4_1 | 10.8 GB | 4.0 GB | 14.8 GB | 24 GB | High |
| IQ4_NL | 10.77 GB | 4.0 GB | 14.8 GB | 24 GB | High |
| IQ4_XS | 10.77 GB | 4.0 GB | 14.8 GB | 24 GB | High |
| Q4_0 | 10.73 GB | 4.0 GB | 14.7 GB | 24 GB | High |
| Q3_K_XL | 10.97 GB | 4.0 GB | 15.0 GB | 24 GB | Acceptable — visible loss |
| IQ3_M | 10.77 GB | 4.0 GB | 14.8 GB | 24 GB | Acceptable — visible loss |
| IQ3_XS | 10.77 GB | 4.0 GB | 14.8 GB | 24 GB | Acceptable — visible loss |
| IQ3_XXS | 10.77 GB | 4.0 GB | 14.8 GB | 24 GB | Acceptable — visible loss |
| Q3_K_M | 10.77 GB | 4.0 GB | 14.8 GB | 24 GB | Acceptable — visible loss |
| Q3_K_S | 10.76 GB | 4.0 GB | 14.8 GB | 24 GB | Acceptable — visible loss |
| Q3_K_L | 10.7 GB | 4.0 GB | 14.7 GB | 24 GB | Acceptable — visible loss |
| Q2_K_L | 11.03 GB | 4.0 GB | 15.0 GB | 24 GB | Experimental — not ranked — never recommended |
| Q2_K | 10.77 GB | 4.0 GB | 14.8 GB | 24 GB | Experimental — not ranked — never recommended |
| IQ2_M | 10.75 GB | 4.0 GB | 14.8 GB | 24 GB | Experimental — not ranked — never recommended |
| IQ2_S | 10.75 GB | 4.0 GB | 14.8 GB | 24 GB | Experimental — not ranked — never recommended |
| IQ2_XS | 10.72 GB | 4.0 GB | 14.7 GB | 24 GB | Experimental — not ranked — never recommended |
| IQ2_XXS | 10.72 GB | 4.0 GB | 14.7 GB | 24 GB | Experimental — not ranked — never recommended |
* default pick. Weights = real GGUF file sizes from bartowski/openai_gpt-oss-20b-GGUF (probed 2026-09-02). KV = fp16 estimate; a q8_0 cache roughly halves it. "Comfortable" = weights + KV within 90% of memory.
Best GPT-OSS 20B quant by memory
| Memory | Recommended quant | Total (16k ctx) |
|---|---|---|
| 24 GB | BF16 | 16.9 GB |
Why we don't rank GPT-OSS 20B's 2-bit quants
Quants at 2 bits per weight or below (Q2_K, IQ2, IQ1, TQ1) cut file size by roughly half versus Q4, but the quality collapse is steep and non-linear: perplexity spikes, instruction-following degrades, and hallucinations rise. A model that answers faster but wrong is not a smaller model — it is a worse one. ModelFit lists these builds for completeness but never ranks or recommends them.
Run GPT-OSS 20B on your GPU
Frequently asked questions
What is the best quantization of GPT-OSS 20B?
Q4_K_M is the default pick: 10.87 GB of weights, high — the default pick quality, fitting comfortably in 24 GB of memory (weights + 16k context KV-cache). Go Q6_K or Q8_0 if you have headroom.
How much memory does GPT-OSS 20B need?
At Q4_K_M, GPT-OSS 20B needs 10.87 GB for the weights plus ~4.0 GB of KV-cache at 16k context — about 14.9 GB total, so a 24 GB card or Mac (90% usable budget) runs it comfortably.
Should I use a Q2_K or IQ2 quant of GPT-OSS 20B?
No. GPT-OSS 20B at 2 bits per weight is a visibly worse model — quality collapse at that bitrate is steep, not gradual. If only a 2-bit build fits your memory, run a smaller model at Q4_K_M instead. ModelFit lists these builds but never recommends them.
Cite this page
ModelFit: GPT-OSS 20B quantization comparison (real GGUF file sizes). https://modelfit.io/quant-compare/gpt-oss-20b/ (data probed 2026-09-02, CC BY 4.0).