gpt-oss-20b-GGUF
See our collection for all versions of gpt-oss including GGUF, 4-bit & 16-bit formats. Learn to run gpt-oss correctly - Read our Guide. See Unsloth Dynamic 2.0 GGUFs for our quantization benchmarks. ✨ Read our gpt-oss Guide here!
Params
—
Context
131,072
Downloads 30d
560 K
Likes
760
Download history
daily snapshots · 10 days560 K532 K
Jul 28Jul 31Aug 3Aug 6
Can you run it?
Estimated VRAM at 8K context unless noted. Pick your hardware to see the verdict per quantization.
| File | Quant | Size | Est. VRAM | Verdict on RTX 4090 · 24 GB |
|---|---|---|---|---|
| gpt-oss-20b-Q2_K.gguf | Q2_K | 11.5 GB | 13.1 GB | ✅ Runs comfortably |
| gpt-oss-20b-Q3_K_S.gguf | Q3_K_S | 11.5 GB | 13.1 GB | ✅ Runs comfortably |
| gpt-oss-20b-Q3_K_M.gguf | Q3_K_M | 11.5 GB | 13.2 GB | ✅ Runs comfortably |
| gpt-oss-20b-Q4_0.gguf | Q4_0 | 11.5 GB | 13.2 GB | ✅ Runs comfortably |
| gpt-oss-20b-Q4_1.gguf | Q4_1 | 11.6 GB | 13.2 GB | ✅ Runs comfortably |
| gpt-oss-20b-Q4_K_M.gguf | Q4_K_M | 11.6 GB | 13.3 GB | ✅ Runs comfortably |
| gpt-oss-20b-Q2_K_L.gguf | Q2_K_L | 11.8 GB | 13.4 GB | ✅ Runs comfortably |
| gpt-oss-20b-F16.gguf | GGUF | 13.8 GB | 15.7 GB | ✅ Runs comfortably |
Estimate: file size × 1.1 + KV cache at 8K + 0.5 GB overhead. Not a benchmark — how we calculate this.
Run it
copy-paste, exact tags checked against the Hub$ ollama run gpt-oss-20b-gguf # pin the quantization explicitly $ ollama run gpt-oss-20b-gguf-q4_0
$ huggingface-cli download unsloth/gpt-oss-20b-GGUF-GGUF \
gpt-oss-20b-Q4_0.gguf --local-dir .
$ llama-cli -m gpt-oss-20b-Q4_0.gguf \
-c 8192 -ngl 99 -t 8 --color
$ curl -s https://aimodelscomparison.com/api/v1/models/gpt-oss-20b-gguf
{
"hf_id": "unsloth/gpt-oss-20b-GGUF",
"params_b": null,
"context_length": 131072,
"license": { "id": "apache-2.0", "commercial": "yes" },
"downloads_30d": 559737,
"vram_estimates": [
{ "quant": "GGUF", "gb": 15.7 },
{ "quant": "Q2_K", "gb": 13.1 }
],
"updated_at": "2026-07-28T18:05:01Z"
}
Specifications
- Architecture
- GptOssForCausalLM
- Context length
- 131,072
- Vocabulary
- 201,088
- Layers / heads
- 24 / 64
- Licence
- apache-2.0
- First seen on the Hub
- 2025-08-05
- Base model
- gpt-oss-20b
- Training datasets
- undisclosed
- Added to our catalog
- 2026-07-28
Sponsored · GPU cloud
Not enough VRAM?
Spin up a 24 GB L4 instance in 40 seconds. $0.44/hr.