GP

Gpt Oss 20b Base

gpt-ossGGUF by mradermacherUpdated 2025-08-15
Download on Hugging Face
Parameters20.9B
Context128K
Layers24
Architecturegpt-oss
Smallest quant12.1 GB
Quick answer

Gpt Oss 20b Base 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 11 quants, from 12.1 GB (Q3_K_S) to 22.3 GB (Q8_0). Longer context needs more: at 32K tokens the KV cache alone adds about 1.6 GB.

Gpt Oss 20b Base – 20.9B parameter GPT‑OSS model in GGUF format

Gpt Oss 20b Base is a 20.9B parameter GPT‑OSS model. It supports a context length of 131072 tokens and is released under the MIT license. The model is available in multiple GGUF quantizations.

Good at

  • Large context handling
  • High parameter count
  • MIT licensed

Limits

  • No vision support
  • Requires 8k context for memory estimates
  • No active parameters listed

Best for

  • Long‑form text generation
  • Context‑heavy dialogue
  • Large‑scale prompt processing

Who it’s for. Developers and researchers needing a large GPT‑OSS model with flexible quantization options. The model is suitable for local deployment using llama.cpp.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q3_K_S12.1 GB 13.0 GB
Too big Get file →
Q2_K12.1 GB 13.0 GB
Too big Get file →
IQ4_XS12.2 GB 13.1 GB
Too big Get file →
Q3_K_M12.9 GB 13.8 GB
Too big Get file →
Q3_K_L13.3 GB 14.2 GB
Too big Get file →
Q4_K_S14.7 GB 15.6 GB
Too big Get file →
Q4_K_M15.8 GB 16.7 GB
Too big Get file →
Q5_K_S15.9 GB 16.8 GB
Too big Get file →
Q5_K_M16.9 GB 17.8 GB
Too big Get file →
Q6_K22.2 GB 23.1 GB
Too big Get file →
Q8_022.3 GB 23.2 GB
Too big Get file →

For 8 GB VRAM, use Q3_K_S (file size 12.06 GB, estimated memory 13 GB). If 12 GB VRAM is available, Q4_K_S (14.65 GB, 15.6 GB memory) is a good balance. For higher quality, Q5_K_M (16.89 GB, 17.8 GB memory) can be used on systems with 16 GB VRAM.

What GPU do you need for Gpt Oss 20b Base?

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 Q4_K_S (14.7 GB file, about 15.6 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 Gpt Oss 20b Base quant should you choose?

Q4_K_M is the usual starting point for Gpt Oss 20b Base: 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 Q3_K_S at 12.1 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 bymradermacher
Familygpt-oss
Licensemit
Downloads (HF)497
Last updated2025-08-15

Frequently asked questions about Gpt Oss 20b Base

How much VRAM does Gpt Oss 20b Base 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 Gpt Oss 20b Base 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 Gpt Oss 20b Base GGUF?

It depends on the quant: Q3_K_S is 12.1 GB, Q2_K is 12.1 GB, IQ4_XS is 12.2 GB, Q3_K_M is 12.9 GB, Q3_K_L is 13.3 GB, Q4_K_S is 14.7 GB and 5 more.

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

The files are on Hugging Face in the mradermacher/gpt-oss-20b-base-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 Base use?

Hugging Face lists the license as mit. 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 Gpt Oss 20b Base on 8 GB VRAM?

Yes, the Q3_K_S quant requires about 13 GB memory at 8k context, which fits within 8 GB VRAM with efficient batching.

What context length does the model support?

The model was trained with a context length of 131072 tokens.

Is the model licensed for commercial use?

The model is released under the MIT license, allowing commercial use.

Other GGUFs of gpt-oss-20b-base

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More gpt-oss models

All gpt-oss →

Other medium models

All medium models →