GP

GPT OSS Code Reasoning 20B

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

GPT OSS Code Reasoning 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 4 quants, from 12.9 GB (Q3_K_M) to 22.3 GB (Q8_0). Longer context needs more: at 32K tokens the KV cache alone adds about 1.6 GB.

GPT OSS Code Reasoning 20B is a 20.9B-parameter gpt-oss model in GGUF format, quantized by GetSoloTech. Its trained context length is 128K tokens. The repository has 4 quant files, from 12.9 GB (Q3_K_M) to 22.3 GB (Q8_0).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q3_K_M12.9 GB 13.8 GB
Too big Get file →
Q4_K_M15.8 GB 16.7 GB
Too big Get file →
Q5_K_M16.9 GB 17.8 GB
Too big Get file →
Q8_022.3 GB 23.2 GB
Too big Get file →

What GPU do you need for GPT OSS Code Reasoning 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 Q3_K_M (12.9 GB file, about 13.8 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 Code Reasoning 20B quant should you choose?

Q4_K_M is the usual starting point for GPT OSS Code Reasoning 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 Q3_K_M at 12.9 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 byGetSoloTech
Familygpt-oss
Downloads (HF)114
Last updated2025-08-26

Frequently asked questions about GPT OSS Code Reasoning 20B

How much VRAM does GPT OSS Code Reasoning 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 GPT OSS Code Reasoning 20B on an 8 GB GPU?

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

What is the file size of GPT OSS Code Reasoning 20B GGUF?

It depends on the quant: Q3_K_M is 12.9 GB, Q4_K_M is 15.8 GB, Q5_K_M is 16.9 GB, Q8_0 is 22.3 GB.

What context length does GPT OSS Code Reasoning 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 Code Reasoning 20B GGUF?

The files are on Hugging Face in the GetSoloTech/GPT-OSS-Code-Reasoning-20B-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

Other GGUFs of GPT-OSS-Code-Reasoning-20B

Similar models

Browse all →

More from GetSoloTech

All by GetSoloTech →

More gpt-oss models

All gpt-oss →

Other medium models

All medium models →