Advisor / Models / gpt-oss 20B

gpt-oss 20B: VRAM requirements & speed

gpt-oss 20B (20.91B MoE, 3.6B active, apache-2.0). Native context 128k. Smallest GGUF: 11.62 GB.

11.62 GBsmallest quant file
26hardware pages that fit it fully
4run with offload
26measured data points

Memory needed by quantization and context

GGUF file size plus f16 KV cache (and fixed overhead of ~1 GB per GPU not shown). Source: unsloth/gpt-oss-20b-GGUF.

QuantFile+8k ctx+32k ctx+128k ctx
Q4_K_M11.62 GB11.8 GB12.4 GB14.8 GB
Q5_K_M11.72 GB11.9 GB12.5 GB14.9 GB
Q6_K12.04 GB12.2 GB12.8 GB15.3 GB
Q8_012.11 GB12.3 GB12.9 GB15.3 GB

KV cache size by context length

Computed from the model's attention layout (sliding-window layers capped at their window).

Contextf16q8_0q4_0
8k0.20 GB0.11 GB0.06 GB
32k0.81 GB0.43 GB0.23 GB
128k3.22 GB1.71 GB0.91 GB

Which hardware runs gpt-oss 20B? · 16k context

HardwareQuantFitMemoryTok/sSpeed source
RTX PRO 6000 96GB AmazonQ8_0fits fully12.5 GB376measured
RTX 5090 32GB AmazonQ8_0fits fully12.5 GB375measured
RTX 4090 24GB AmazonQ8_0fits fully12.5 GB258measured
RTX 5080 16GB AmazonQ8_0fits fully12.5 GB239measured
2x RTX 3090 (48GB total) AmazonQ8_0fits fully12.5 GB233estimated
RTX 5070 Ti 16GB AmazonQ8_0fits fully12.5 GB224measured
AMD RX 7900 XTX 24GB AmazonQ8_0fits fully12.5 GB210estimated
Mac Studio M5 Ultra 256GBQ8_0fits fully12.5 GB210scaled from measured
Mac Studio M5 Ultra 512GB (orderable since Oct 28 2026)Q8_0fits fully12.5 GB210scaled from measured
RTX 3090 24GB AmazonQ8_0fits fully12.5 GB204measured
Mac Studio M5 Max 128GB AmazonQ8_0fits fully12.5 GB170estimated
MacBook Pro 14/16 M5 Max 128GB AmazonQ8_0fits fully12.5 GB170estimated
RTX 5070 12GBQ4_K_MMoE offload to CPU12.0 GB132estimated
RTX 5060 Ti 16GB AmazonQ8_0fits fully12.5 GB125measured
RTX 4070 12GBQ4_K_MMoE offload to CPU12.0 GB121estimated
Mac Studio (2025) M3 Ultra 96GB AmazonQ8_0fits fully12.5 GB115scaled from measured
16GB VRAM class (RTX 4060 Ti 16GB, 32GB RAM) AmazonQ8_0fits fully12.5 GB94measured
MacBook Pro 14/16 (2024) M4 Max 128GB AmazonQ8_0fits fully12.5 GB93estimated
NVIDIA RTX Spark N1X 128GBQ8_0fits fully12.5 GB90estimated
NVIDIA DGX Spark 128GB AmazonQ8_0fits fully12.5 GB86scaled from measured
NVIDIA DGX Spark 64GB AmazonQ8_0fits fully12.5 GB86scaled from measured
AMD Ryzen AI Max+ PRO 495 (Ryzen AI Halo) 192GBQ8_0fits fully12.5 GB82estimated
MacBook Pro 14/16 M5 Pro 48GB AmazonQ8_0fits fully12.5 GB77estimated
RTX 3060 12GB (32GB RAM)Q4_K_MMoE offload to CPU12.0 GB77estimated
AMD Ryzen AI Max+ 395 (Strix Halo) 128GB AmazonQ8_0fits fully12.5 GB72measured
Mac mini (2024) M4 Pro 64GB AmazonQ8_0fits fully12.5 GB57estimated
8GB VRAM class (RTX 4060 8GB, 32GB RAM)Q4_K_MMoE offload to CPU12.0 GB47estimated
Mac mini M6 32GB AmazonQ8_0fits fully12.5 GB40estimated
MacBook Pro 14 M6 32GB AmazonQ8_0fits fully12.5 GB40estimated
MacBook Air M5 32GB AmazonQ8_0fits fully12.5 GB36estimated
Mac mini / iMac M4 16GB-does not fit--

Discrete GPUs are modelled with 32 GB of system RAM available for offload. Does not fit even with offload: Mac mini / iMac M4 16GB. Rent instead: Vast.ai / RunPod. We may earn a referral credit if you sign up through these links.

MLX conversions for Apple Silicon

RepoBitsSizeRuns with
mlx-community/gpt-oss-20b-MXFP4-Q44-bit (MXFP4-Q4)11.2 GBmlx-lm
mlx-community/gpt-oss-20b-MXFP4-Q88-bit (MXFP4-Q8)12.1 GBmlx-lm

Verified via the Hugging Face API on 2026-11-30. Compare with the GGUF sizes above (Q4_K_M 11.62 GB, Q8_0 12.11 GB). Mac hardware pages show the MLX command; there are no MLX speeds on this site yet. MLX vs GGUF.

Links

Model card · GGUF files · Open in the advisor · last verified 2026-11-30

Can it run? gpt-oss 20B on: RTX 4090 24GB · RTX 3090 24GB · 16GB VRAM class (RTX 4060 Ti 16GB, 32GB RAM) · RTX 5090 32GB · RTX 5080 16GB · RTX 5070 Ti 16GB · MacBook Air M5 32GB (all pairs)

FAQ

How much VRAM does gpt-oss 20B need?

The smallest quant (Q4_K_M) is 11.62 GB, so you need roughly 13 GB for an 8k context including KV cache and overhead. At 128k context the f16 KV cache alone is 3.2 GB.

Can I run gpt-oss 20B on a RTX PRO 6000 96GB?

Yes: on RTX PRO 6000 96GB it fits fully as Q8_0 at about 376 tok/s (measured). 26 of 31 hardware configurations fit it fully at 16k context.

What is the maximum context for gpt-oss 20B?

128k tokens natively. Memory, not the model, is usually the limit: see the KV cache table above.

All models: model index · by memory: 8 GB · 12 GB · 16 GB · 24 GB · 32 GB · 48 GB · 64 GB · 96 GB · 128 GB · 192 GB · 256 GB · 512 GB. Numbers use the same fit math as the advisor; sources and methods.