MODEL · GPU GUIDE

gpt-oss-20b GPU Requirements: VRAM & Cheapest GPU

gpt-oss-20b has about 21.5B parameters. See exactly how much GPU memory it needs at FP16, INT8, and INT4, and the cheapest GPU to run it, with live hourly pricing from 5+ data center partners.

21.5BParameters
12 GBMin VRAM
$0.65/hrCheapest
< 2 minDeploy
openai/gpt-oss-20b
VIEW ON HUGGINGFACE ↗
21.5B paramstext-generationgpt_oss7.8M downloads4.7K likesupdated Aug 26, 2025

To run gpt-oss-20b for inference at FP16, you need roughly 47 GB of VRAM. The cheapest fit on Spheron is A100 80GB at about $0.82/hr. Quantize to INT4 to run it on a smaller, cheaper GPU.

GB VRAM REQUIRED
FP16INFERENCEBATCH 1CTX 4k

Estimated peak VRAM including weights, activations, and KV cache. Add 10% headroom for production traffic.

RANKCONFIGURATIONPER GPUTOTAL $/HR
  • 01
    1× A100 80GBCHEAPEST
    Ampere · HBM2e
    $0.82/hr$0.82/hr
  • 02
    1× RTX PRO 6000 96GB
    Blackwell · GDDR7
    $0.91/hr$0.91/hr
  • 03
    1× L40S 48GB
    Ada Lovelace · GDDR6
    $0.96/hr$0.96/hr
  • 04
    2× RTX 4090 24GB
    Ada Lovelace · GDDR6X
    $0.65/hr$1.30/hr
  • 05
    2× RTX 5090 32GB
    Blackwell · GDDR7
    $0.86/hr$1.72/hr

Live pricing aggregated from 5+ data center partners. Per-minute billing, no commitments.

VRAM required to run gpt-oss-20b

Estimated peak VRAM at context length 4,096 and batch size 1, including weights, activations, and KV cache. Quantizing to INT8 (Q8) or INT4 (Q4) cuts memory roughly in half and in quarter.

PrecisionInferenceLoRA fine-tuneFull fine-tune
FP1647 GB70 GB188 GB
INT823 GB35 GB94 GB
INT412 GB18 GB47 GB

Cheapest GPU to run gpt-oss-20b by precision

FP16
VRAM required47GB

Full precision. Best quality, highest memory.

Cheapest GPU
A100 80GB
Ampere · HBM2e
$0.82/hr
A100 80GB on Spheron
INT8
VRAM required23GB

8-bit quantized. ~2x smaller, minimal quality loss.

Cheapest GPU
RTX 4090 24GB
Ada Lovelace · GDDR6X
$0.65/hr
RTX 4090 24GB on Spheron
INT4
VRAM required12GB

4-bit quantized. ~4x smaller, runs on smaller GPUs.

Cheapest GPU
RTX 4090 24GB
Ada Lovelace · GDDR6X
$0.65/hr
RTX 4090 24GB on Spheron

Inference vs fine-tuning gpt-oss-20b

InferenceWeights + KV cache
LoRA fine-tune~1.5×+ low-rank adapter
Full fine-tune~4×+ gradients + optimizer state

Inference only holds the model weights plus a KV cache, so it is the cheapest setup. LoRA fine-tuning adds a small adapter and roughly 50% more memory. Full fine-tuning holds gradients and optimizer state on top of the weights, which is about 4x the inference footprint, so it often needs multiple GPUs even when inference fits on one. For gpt-oss-20b, an on-demand A100 80GB instance covers inference and LoRA, while a full fine-tune needs several times that memory and often spans multiple GPUs. Check the live GPU pricing for current rates.

Deployment guideDeploy GPT-OSS step by stepHands-on production setup, GPU configs, and benchmarks for gpt-oss-20b.Read guide

Similar models

Compare GPU requirements for models in the same class.

FAQ / 05

gpt-oss-20b GPU questions