No. gpt-oss-20b needs 11.8 GB at Q4 (gpt-oss-20b-Q4_K_M.gguf plus KV cache at 8K) and the GeForce RTX 4070 has 11.4 GB of usable VRAM: 0.4 GB short, or 4% more than it has. Offloading would put about 0.2 GB of the Q4 weights in system RAM. The cheapest catalog machine that runs it at Q4 is the Radeon RX 7600 XT (15.2 GB usable, list $329).
Can the GeForce RTX 4070 run gpt-oss-20b?
Data updated . Last reviewed the same day, when this catalog snapshot was written.
Memory math
The GeForce RTX 4070 has 12.0 GB of dedicated VRAM on the card. The catalog counts 95% of it, 11.4 GB, as available for weights plus KV cache and leaves the other 0.6 GB out of the budget. A result under 2 GB of headroom is labeled tight.
gpt-oss-20b stores 20.9B parameters, 3.6B of them active per token. Against 11.4 GB usable, Q4 needs 11.8 GB (0.4 GB short); Q8 needs 12.3 GB (0.9 GB short); FP16 needs 50.2 GB (38.8 GB short). None of the three fits. Q4 comes from gpt-oss-20b-Q4_K_M.gguf plus KV cache at 8K.
The Hub repo also has Q5_K_M (gpt-oss-20b-Q5_K_M.gguf, 11.9 GB with KV, 0.5 GB too big here) and Q6_K (gpt-oss-20b-Q6_K.gguf, 12.2 GB with KV, 0.8 GB too big here), between the catalog's Q4 and Q8 steps.
The GeForce RTX 4070
- NVIDIA GPU, released 2023. List price $599, about $53 per usable GB. NVIDIA launch MSRP.
- Memory bandwidth 504 GB/s: number 8 from the top of the 16 machines in the can-run list.
- Usable memory 11.4 GB: 13 of the 16 machines have more, and 1 other has exactly the same.
The eBay link is a search of used listings, not a price or a recommendation of a seller. RigFit may earn a commission from qualifying eBay purchases made through links on this site, at no extra cost to you. See the disclosure.
gpt-oss-20b
- gpt-oss family, mixture-of-experts, 20.9B parameters (3.6B active per token). License Apache-2.0. The model card lists a 131,072-token context window. Hugging Face repo openai/gpt-oss-20b.
- Sizes come from unsloth/gpt-oss-20b-GGUF: Q4_K_M gpt-oss-20b-Q4_K_M.gguf is 11.6 GB; Q5_K_M gpt-oss-20b-Q5_K_M.gguf is 11.7 GB; Q6_K gpt-oss-20b-Q6_K.gguf is 12.0 GB; Q8_0 gpt-oss-20b-Q8_0.gguf is 12.1 GB.
- OpenAI's smaller open-weight MoE. Weights are 20.9B; active parameters are a few billion.
Quant ladder
| Quant | Estimate | Headroom | Est. tok/s | Verdict |
|---|---|---|---|---|
| Q4 | 11.8 GB | -0.4 GB | — | No |
| Q8 | 12.3 GB | -0.9 GB | — | No |
| FP16 | 50.2 GB | -38.8 GB | — | No |
- GGUF file size plus an FP16 KV-cache estimate at 8,192 tokens. The cache counts only the layers and heads named in the method on the About page.
- Formula estimate: parameter count × bytes per weight × 1.20. No GGUF file size is stored for this quant.
- Tokens/sec is an estimate, a bandwidth roofline: GB/s divided by active weight GB. It is not a measured generation speed, and it is blank for quants that do not fit.
Context length and KV cache
FP16 KV-cache estimate: 0.2 GB at 8,192 tokens and 0.8 GB at 32,768 tokens, about 25 KB per token (12 counted layers). GQA counts two tensors (K and V) for the stored KV heads and head dimension. config.json also sets a sliding window of 128 tokens. The figures assume every counted layer stores the full context, so they can overstate cache on sliding layers and understate the context that fits.
The Q4 weights alone (11.6 GB) already exceed the 11.4 GB usable on the GeForce RTX 4070, so no context length fits in memory, however short.
Speed estimate
gpt-oss-20b is a mixture-of-experts model: 20.9B parameters total, 3.6B active per token (17%). Memory has to hold all 20.9B (11.6 GB of Q4 weights), but each token reads only about 2.0 GB of them, so its speed ceiling is about 5.8x higher than a dense model with the same file size.
No speed estimate: the model does not fit in memory on the GeForce RTX 4070, so a bandwidth ceiling would describe a run that cannot happen. For reference the machine's memory bandwidth is 504 GB/s.
Offload
About 0.2 GB of the Q4 weights (2% of the file) sit outside usable VRAM. A partial offload would need at least that much free system RAM. This catalog does not record system RAM, so offload is not counted as a fit. Only 3.6B of 20.9B parameters are active per token, so the spilled weights are read less often than in a dense model; the speed of that path depends on system-RAM bandwidth, which is not in the catalog, so none is estimated.
Ollama
This command pulls the Q4_K_M file from unsloth/gpt-oss-20b-GGUF, the Hub repo whose file size is used above. It is not an official Ollama library tag.
ollama run hf.co/unsloth/gpt-oss-20b-GGUF:Q4_K_M
Nearby machines for gpt-oss-20b
- Next machine up in memory: GeForce RTX 4060 Ti 16GB (16.0 GB VRAM, 15.2 GB usable, 288 GB/s, list $499), 3.8 GB more usable than here. Yes at Q8, 2.9 GB spare. That turns a No into a fit.
- Next machine down in memory: Mac mini M4 16GB (16.0 GB unified memory, 11.2 GB usable, 120 GB/s, list $599), 0.2 GB less usable than here. No, Q4 needs 11.8 GB and 11.2 GB is usable (0.6 GB short).
- Same 11.4 GB usable: GeForce RTX 3060 12GB (12.0 GB VRAM, 11.4 GB usable, 360 GB/s, list $329). No, Q4 needs 11.8 GB and 11.4 GB is usable (0.4 GB short); the fit is identical, so the difference is bandwidth, price, and platform.
- Cheapest catalog device at Q4: Radeon RX 7600 XT (15.2 GB usable, list $329).
Nearby models on the GeForce RTX 4070
- Next smaller model by Q4 size: Phi-4 (14.7B, Q4 10.6 GB) on the GeForce RTX 4070: Tight at Q4, 0.8 GB spare.
- Next larger model by Q4 size: Mistral Small 3.2 24B (24B, Q4 15.7 GB) on the GeForce RTX 4070: No, Q4 needs 15.7 GB and 11.4 GB is usable (4.3 GB short).
- Largest catalog model that still fits at Q4: Qwen2.5 14B Instruct (14.8B, Q4 10.6 GB): Tight at Q4, 0.8 GB spare.
All hardware for gpt-oss-20b · All models for the GeForce RTX 4070
Questions
- How much memory does gpt-oss-20b need at Q4?
- The Q4 figure used here is 11.8 GB, from gpt-oss-20b-Q4_K_M.gguf plus KV cache at 8K. GGUF file size plus an FP16 KV-cache estimate at 8,192 tokens. The cache counts only the layers and heads named in the method on the About page.
- Can the GeForce RTX 4070 run gpt-oss-20b?
- No. gpt-oss-20b needs 11.8 GB at Q4 (gpt-oss-20b-Q4_K_M.gguf plus KV cache at 8K) and the GeForce RTX 4070 has 11.4 GB of usable VRAM: 0.4 GB short, or 4% more than it has. Offloading would put about 0.2 GB of the Q4 weights in system RAM. The cheapest catalog machine that runs it at Q4 is the Radeon RX 7600 XT (15.2 GB usable, list $329).
- How much context fits when gpt-oss-20b runs on the GeForce RTX 4070?
- The Q4 weights alone (11.6 GB) already exceed the 11.4 GB usable on the GeForce RTX 4070, so no context length fits in memory, however short.
- How fast is gpt-oss-20b on the GeForce RTX 4070, as a bandwidth estimate?
- No speed estimate: the model does not fit in memory on the GeForce RTX 4070, so a bandwidth ceiling would describe a run that cannot happen. For reference the machine's memory bandwidth is 504 GB/s.
- What is the cheapest catalog device that runs gpt-oss-20b at Q4?
- Radeon RX 7600 XT, list price $329, with 15.2 GB usable.
- What changes with the next machine up from the GeForce RTX 4070?
- GeForce RTX 4060 Ti 16GB (16.0 GB VRAM, 15.2 GB usable, 288 GB/s, list $499), 3.8 GB more usable than here. Yes at Q8, 2.9 GB spare. That turns a No into a fit.