GPT-OSS 20B
21B MoEOpenAI GPT-OSS
OpenAI open-weight MoE (21B total / 3.6B active), shipped natively in MXFP4 — ~12.8GB runs on a 16GB card with no quality tax. Only 3.6B active params means CPU-offload stays usable.
131K
Max Context
3
Quant Variants
GGUF MXFP4
Best Quality
100.0%
Accuracy Retained
Quantization Variants
Per-quant VRAM, quality loss, and inference speed on RTX 4090
Measured = site benchmarks · Estimated = formula · Community = public reports
Similar models
Compare with GPT-OSS 120BGPT-OSS 120B
OpenAI GPT-OSS
The big GPT-OSS (117B total / 5.1B active). Native MXFP4 checkpoint is ~61GB — fits one 80GB card or a 128GB unified-memory Mac. Partial offload on 24GB consumer cards is slow but works.
Qwen3 30B-A3B Instruct
Alibaba Qwen3
Qwen3 MoE with only 3B active params. Q4 ~19GB file; outperforms QwQ-32B on 16GB cards.
Seed-OSS 36B Instruct
ByteDance Seed
Dense 36B with a native 512K context. Q4 weights are ~22GB, which lands on a 24GB card or a 2×16GB split — but the context is the real cost: 512K of KV cache is roughly 128GB on its own, so budget context first and weights second.
Qwen3.8 27B
Alibaba Qwen3.8
Hybrid attention: only 16 of its 64 layers keep a KV cache, which is why a 27B model holds a 262K context in about 16GB of cache rather than 64GB. Sizing it as a conventional stack overstates the cache fourfold — the estimates here count the 16 and match published measurements at 8K, 32K and 262K. Quality loss per level has not been published.
Running GPT-OSS 20B locally
At Q4_K_M and 4K of context, GPT-OSS 20B needs about 11.4 GB — 10.2 GB of weights, 0.19 GB of KV cache and a 1.0 GB activation buffer. The smallest card in this index that clears that comfortably is the RTX 5080 at 16 GB, and 46 of the 63 cards here do. These are calculated figures, not measurements: the estimate stops counting a card as comfortable at 88% of its VRAM, which is roughly the room a desktop session needs.
What longer context costs
Going from 4K to 32K adds about 1.31 GB, taking the total to 12.8 GB. Weights do not move with context — only the KV cache does, and it grows linearly, so this is the number to watch when planning for long documents. The model's native window is 128K; holding all of it at Q4_K_M would need about 18 GB.
Which build to download
This index only tracks GPT-OSS 20B in GGUF, across 3 levels (MXFP4, Q8_0, Q4_K_M). MXFP4 carries the lowest published perplexity loss at 0.0%. The fastest level measured here is Q4_K_M at 205 tok/s on an RTX 4090, batch 1. GGUF runs on llama.cpp and Ollama across NVIDIA, AMD and Apple silicon; AWQ and GPTQ target vLLM on CUDA and ROCm; EXL2 is ExLlamaV2 and CUDA only.
Common questions
- How much VRAM does GPT-OSS 20B need?
- About 11.4 GB at Q4_K_M with 4K of context and batch 1, rising to roughly 12.8 GB at 32K. That figure is weights plus KV cache plus a 10% activation buffer, calculated from the model's architecture rather than measured on a card.
- Will GPT-OSS 20B run on a 16GB GPU?
- Yes — at Q4_K_M and 4K context it needs about 11.4 GB, which leaves 4.6 GB spare on a RTX 5080. That is the smallest card in this index that clears it comfortably; 46 of 63 do.
- Which quantization of GPT-OSS 20B should I use?
- MXFP4 has the lowest published quality loss (0.0%), and Q4_K_M is the level most people run. All 3 levels in the index are MXFP4, Q8_0, Q4_K_M.
Where this model fits
Sized at Q4_K_M with a 4K context window, smallest card first. Comfortable means the estimate uses at most 88% of the memory.
- Runs comfortably on
- RTX 508016GB · +4.6RTX 5070 Ti16GB · +4.6RTX 5060 Ti 16G16GB · +4.6RTX 4080 Super16GB · +4.6RTX 4070 Ti Super16GB · +4.6
- Tight but possible
- RTX 507012GBRTX 4070 Ti12GBRTX 4070 Super12GB
- Just misses
- Mac M3 8G+5.4GB overRTX 3080 10G+1.4GB over
- Ships in
- GGUF
- Try it yourself
- Size it in the calculatorGenerate the run command
How to actually run this
Deployment guides for this model and this class of hardware.
- Run GPT-OSS 20B (and 120B) locally without re-quantizing 6 min read·Intermediate·covers this model
- What Can You Run on RTX 4060 Ti 16G? 3 min read·Beginner·covers this model
- WSL2 + Ollama GPU Passthrough on Windows 4 min read·Intermediate·covers this model
- Mac M3 Pro: Realistic Model Limits 3 min read·Beginner·covers this model
This page's figures change when the model or the runtime does.Last updated 2026-09-21 RSS → /feed.xml