GP

Gpt Oss 20b Heretic

gpt-ossGGUF by bartowskiUpdated 2025-11-17
Download on Hugging Face
Parameters20.9B
Context128K
Layers24
Architecturegpt-oss
Smallest quant0.0 GB
Quick answer

Gpt Oss 20b Heretic needs about 16.8 GB of memory at Q4_K_M (a 15.9 GB file) with an 8K context window, so it fits on a 24 GB GPU. This repository has 26 quants, from 0.0 GB to 41.9 GB (BF16). Longer context needs more: at 32K tokens the KV cache alone adds about 1.6 GB.

20‑billion‑parameter GPT‑OSS model with MoE and multiple quantizations

Gpt Oss 20b Heretic is a 20 billion‑parameter GPT‑OSS model with a mixture of experts. It supports 131 072‑token context and is released under Apache 2.0. The model is available in many GGUF quantizations for llama.cpp inference.

Good at

  • Large context reasoning
  • Agentic function calling
  • Fine‑tuning friendly

Limits

  • Requires 8 k context for memory estimates
  • No vision support
  • Large memory for high‑quality quants

Best for

  • Local inference on 16 GB GPUs
  • Custom agent development
  • Research on MoE models

Who it’s for. Developers and researchers who need a powerful, open‑weight GPT‑OSS model for local deployment. The Apache 2.0 license allows commercial use and modification.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
—0.0 GB 0.9 GB
Fits Get file →
Q4_011.5 GB 12.4 GB
Too big Get file →
IQ4_NL11.6 GB 12.5 GB
Too big Get file →
Q4_111.6 GB 12.5 GB
Too big Get file →
MXFP4_MOE12.1 GB 13.0 GB
Too big Get file →
Q8_012.1 GB 13.0 GB
Too big Get file →
IQ2_M12.1 GB 13.0 GB
Too big Get file →
Q3_K_S12.2 GB 13.1 GB
Too big Get file →
IQ3_XS12.2 GB 13.1 GB
Too big Get file →
IQ3_XXS12.2 GB 13.1 GB
Too big Get file →
Q2_K12.2 GB 13.1 GB
Too big Get file →
IQ4_XS12.2 GB 13.1 GB
Too big Get file →
Q2_K_L12.4 GB 13.3 GB
Too big Get file →
IQ3_M12.6 GB 13.5 GB
Too big Get file →
Q3_K_M12.6 GB 13.5 GB
Too big Get file →
Q3_K_L12.7 GB 13.6 GB
Too big Get file →
Q3_K_XL13.0 GB 13.9 GB
Too big Get file →
Q4_K_S14.9 GB 15.8 GB
Too big Get file →
Q4_K_M15.9 GB 16.8 GB
Too big Get file →
Q5_K_S15.9 GB 16.8 GB
Too big Get file →
Q4_K_L16.1 GB 17.0 GB
Too big Get file →
Q5_K_M16.9 GB 17.8 GB
Too big Get file →
Q5_K_L17.1 GB 18.0 GB
Too big Get file →
Q6_K22.2 GB 23.1 GB
Too big Get file →
Q6_K_L22.2 GB 23.1 GB
Too big Get file →
BF1641.9 GB 42.8 GB
Too big Get file →

For 8 GB VRAM, use Q4_0 (12.4 GB memory at 8 k context). For 16 GB VRAM, Q4_K_M (16.8 GB) or Q5_K_M (17.8 GB) are suitable. For larger GPUs, Q8_0 (13 GB) or Q6_K (23 GB) provide higher quality.

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

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: the best quant that fits is the main file (0.0 GB file, about 0.9 GB in use).
  • 6 GB VRAM: the best quant that fits is the main file (0.0 GB file, about 0.9 GB in use).
  • 8 GB VRAM: the best quant that fits is the main file (0.0 GB file, about 0.9 GB in use).
  • 12 GB VRAM: the best quant that fits is the main file (0.0 GB file, about 0.9 GB in use).
  • 16 GB VRAM: the best quant that fits is Q4_K_S (14.9 GB file, about 15.8 GB in use).
  • 24 GB VRAM: the best quant that fits is Q6_K (22.2 GB file, about 23.1 GB in use).
  • 32 GB VRAM: the best quant that fits is Q6_K (22.2 GB file, about 23.1 GB in use).
  • 48 GB VRAM: the best quant that fits is BF16 (41.9 GB file, about 42.8 GB in use).

Which Gpt Oss 20b Heretic quant should you choose?

Q4_K_M is the usual starting point for Gpt Oss 20b Heretic: it balances file size and quality well. Here it is a 15.9 GB file.

The Q8_0 file is 12.1 GB, about 0.8 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 the first one in the table at 0.0 GB, with the quality trade-offs that come with fewer bits.

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 bybartowski
Familygpt-oss
Licenseapache-2.0
Downloads (HF)6,629
Last updated2025-11-17

Frequently asked questions about Gpt Oss 20b Heretic

How much VRAM does Gpt Oss 20b Heretic need?

About 16.8 GB at Q4_K_M with an 8K context window. That is the 15.9 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 Heretic on an 8 GB GPU?

Yes, with the smaller files: the 0.0 GB file needs about 0.9 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Gpt Oss 20b Heretic GGUF?

It depends on the quant: file is 0.0 GB, Q4_0 is 11.5 GB, IQ4_NL is 11.6 GB, Q4_1 is 11.6 GB, MXFP4_MOE is 12.1 GB, Q8_0 is 12.1 GB and 20 more.

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

The files are on Hugging Face in the bartowski/p-e-w_gpt-oss-20b-heretic-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 Heretic 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 Gpt Oss 20b Heretic on 8 GB VRAM?

Use the Q4_0 quantization; it requires about 12.4 GB of VRAM at 8 k context, which is close to 8 GB but may need swapping.

Does the model support image inputs?

No, the model has no vision capabilities.

What license applies to this model?

The model is released under the Apache 2.0 license.

Other GGUFs of gpt-oss-20b-heretic

Similar models

Browse all →

More from bartowski

All by bartowski →

More gpt-oss models

All gpt-oss →

Other medium models

All medium models →