GP

Gpt-Oss-20B

gpt-ossGGUF by unslothUpdated 2025-12-19
Download on Hugging Face
Parameters20.9B
Context128K
Layers24
Architecturegpt-oss
Smallest quant11.5 GB
Quick answer

Gpt-Oss-20B needs about 12.5 GB of memory at Q4_K_M (a 11.6 GB file) with an 8K context window, so it fits on a 16 GB GPU. This repository has 16 quants, from 11.5 GB (Q3_K_S) to 13.8 GB (F16). Longer context needs more: at 32K tokens the KV cache alone adds about 1.6 GB.

Open-weight GPT‑OSS 20B model for reasoning and agentic tasks

Gpt‑Oss‑20B is a 20‑billion‑parameter model from the GPT‑OSS family. It supports full chain‑of‑thought reasoning and native function calling. The model is released under Apache‑2.0 and is compatible with the harmony response format.

Good at

  • Reasoning with chain‑of‑thought
  • Agentic function calling
  • Fine‑tuning for custom tasks

Limits

  • Requires harmony format
  • No vision support
  • Large memory for higher quantizations

Best for

  • Local inference on 16‑GB GPUs
  • Fine‑tuning for specialized domains
  • Agentic applications with function calls

Who it’s for. Developers and researchers who need an open‑weight, reasoning‑capable model that can be fine‑tuned or run locally. The Apache‑2.0 license allows commercial deployment without copyleft constraints.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q3_K_S11.5 GB 12.4 GB
Too big Get file →
Q2_K11.5 GB 12.4 GB
Too big Get file →
Q4_011.5 GB 12.4 GB
Too big Get file →
Q3_K_M11.5 GB 12.4 GB
Too big Get file →
Q4_111.6 GB 12.5 GB
Too big Get file →
Q4_K_S11.6 GB 12.5 GB
Too big Get file →
Q4_K_M11.6 GB 12.5 GB
Too big Get file →
Q5_K_S11.7 GB 12.6 GB
Too big Get file →
Q5_K_M11.7 GB 12.6 GB
Too big Get file →
Q2_K_L11.8 GB 12.7 GB
Too big Get file →
Q4_K_XL11.9 GB 12.8 GB
Too big Get file →
Q6_K12.0 GB 12.9 GB
Too big Get file →
Q6_K_XL12.0 GB 12.9 GB
Too big Get file →
Q8_012.1 GB 13.0 GB
Too big Get file →
Q8_K_XL13.2 GB 14.1 GB
Too big Get file →
F1613.8 GB 14.7 GB
Too big Get file →

For 8‑GB VRAM, use Q3_K_S or Q2_K (≈12.4 GB memory). For 12‑GB VRAM, Q4_0 or Q4_1 (≈12.5 GB). For 16‑GB VRAM, Q4_K_XL or Q6_K (≈12.9 GB). Memory estimates are approximate.

What GPU do you need for 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).

Which Gpt-Oss-20B quant should you choose?

Q4_K_M is the usual starting point for Gpt-Oss-20B: it balances file size and quality well. Here it is a 11.6 GB file.

The Q8_0 file is 12.1 GB, about 1.0 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 Q3_K_S at 11.5 GB, with the quality trade-offs that come with fewer bits. A reasonable choice when a 4-bit file will not fit, mostly on larger models. Quality loss is noticeable but often acceptable.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturegpt-oss
Parameters20.9B (approximate, mixture of experts)
Layers24
Trained context131,072 tokens
KV cache (fp16)48 KB per token

Source

Quantized byunsloth
Familygpt-oss
Licenseapache-2.0
Downloads (HF)562,915
Last updated2025-12-19

Frequently asked questions about Gpt-Oss-20B

How much VRAM does Gpt-Oss-20B need?

About 12.5 GB at Q4_K_M with an 8K context window. That is the 11.6 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 Gpt-Oss-20B on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 12.4 GB, so you would need a larger GPU or CPU offloading.

What is the file size of Gpt-Oss-20B GGUF?

It depends on the quant: Q3_K_S is 11.5 GB, Q2_K is 11.5 GB, Q4_0 is 11.5 GB, Q3_K_M is 11.5 GB, Q4_1 is 11.6 GB, Q4_K_S is 11.6 GB and 10 more.

What context length does 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 Gpt-Oss-20B GGUF?

The files are on Hugging Face in the unsloth/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 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.

Does the model support vision inputs?

No, the model has no vision capability; it only processes text.

What license applies to this model?

The model is released under the Apache‑2.0 license, allowing free use and modification.

Other GGUFs of gpt-oss-20b

Similar models

Browse all →

More from unsloth

All by unsloth →

More gpt-oss models

All gpt-oss →

Other medium models

All medium models →