Openai.Gpt Oss 20b needs about 16.7 GB of memory at Q4_K_M (a 15.8 GB file) with an 8K context window, so it fits on a 24 GB GPU. This repository has 8 quants, from 12.1 GB (Q2_K) to 22.3 GB (Q8_0). Longer context needs more: at 32K tokens the KV cache alone adds about 1.6 GB.
Openai.Gpt Oss 20b – 20.9B parameter GPT‑OSS model
Openai.Gpt Oss 20b is a 20.9B parameter GPT‑OSS model with 131072 trained context tokens. It supports tools and is released under Apache‑2.0. The model is available in several GGUF quantizations.
Good at
- Tool usage
- Agentic tasks
- Fine‑tuning
Limits
- No vision support
- Requires harmony format
- Large memory for higher quants
Best for
- Local inference on 16GB VRAM
- Function‑calling agents
- Fine‑tuning experiments
Who it’s for. Developers needing a large, open‑weight GPT‑OSS model for reasoning and agentic tasks. The model is suitable for local deployment and fine‑tuning on custom data.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q2_K | 12.1 GB | 13.0 GB | Too big | Get file → | |
| MXFP4_MOE | 12.1 GB | 13.0 GB | Too big | Get file → | |
| Q3_K_M | 12.9 GB | 13.8 GB | Too big | Get file → | |
| F16 | 13.8 GB | 14.7 GB | Too big | Get file → | |
| Q4_K_M | 15.8 GB | 16.7 GB | Too big | Get file → | |
| Q5_K_M | 16.9 GB | 17.8 GB | Too big | Get file → | |
| Q6_K | 22.2 GB | 23.1 GB | Too big | Get file → | |
| Q8_0 | 22.3 GB | 23.2 GB | Too big | Get file → |
For 8GB VRAM use Q2_K or MXFP4_MOE (file size 12.07 GB or 12.11 GB, memory ~13 GB). For 16GB VRAM use Q4_K_M (15.81 GB, memory ~16.7 GB). For 24GB VRAM use Q5_K_M (16.89 GB, memory ~17.8 GB).
What GPU do you need for Openai.Gpt Oss 20b?
These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.
- 4 GB VRAM: no quant fits at an 8K context.
- 6 GB VRAM: no quant fits at an 8K context.
- 8 GB VRAM: no quant fits at an 8K context.
- 12 GB VRAM: no quant fits at an 8K context.
- 16 GB VRAM: the best quant that fits is F16 (13.8 GB file, about 14.7 GB in use).
- 24 GB VRAM: the best quant that fits is Q8_0 (22.3 GB file, about 23.2 GB in use).
Which Openai.Gpt Oss 20b quant should you choose?
Q4_K_M is the usual starting point for Openai.Gpt Oss 20b: it balances file size and quality well. Here it is a 15.8 GB file.
The Q8_0 file is 22.3 GB, about 1.4 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.
If memory is tight, the smallest file is Q2_K at 12.1 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about Openai.Gpt Oss 20b
How much VRAM does Openai.Gpt Oss 20b need?
About 16.7 GB at Q4_K_M with an 8K context window. That is the 15.8 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.
Can I run Openai.Gpt Oss 20b on an 8 GB GPU?
Not at an 8K context. The smallest file needs about 13.0 GB, so you would need a larger GPU or CPU offloading.
What is the file size of Openai.Gpt Oss 20b GGUF?
It depends on the quant: Q2_K is 12.1 GB, MXFP4_MOE is 12.1 GB, Q3_K_M is 12.9 GB, F16 is 13.8 GB, Q4_K_M is 15.8 GB, Q5_K_M is 16.9 GB and 2 more.
What context length does Openai.Gpt Oss 20b support?
The GGUF header lists a trained context length of 131,072 tokens (128K). The KV cache grows with the context you use: about 0.4 GB at 8K and 1.6 GB at 32K.
Where can I download Openai.Gpt Oss 20b GGUF?
The files are on Hugging Face in the DevQuasar/openai.gpt-oss-20b-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.
What license does Openai.Gpt Oss 20b use?
Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.
Can I run Openai.Gpt Oss 20b on 8 GB VRAM?
Use Q2_K or MXFP4_MOE quantizations; each requires about 13 GB of VRAM at 8k context.
Does the model support vision?
No, the model has no vision capabilities.
What license does it use?
Apache‑2.0, allowing free use and modification.