gpt-oss-20b VRAM needed and GPU rental cost

gpt-oss-20b has 20.9 billion parameters (from the model card). Weights alone take 41.8 GB at FP16. With a 20% allowance for the KV cache and activations, plan for about 50 GB of VRAM at FP16, 25 GB at FP8 and 13 GB at INT4. The cheapest public on-demand way to hold it at FP8 is 1x L40S at Massed Compute, $0.97/hr.

Parameters
20.9B
From the model card
FP16
50 GB
Estimated VRAM
FP8
25 GB
Estimated VRAM
INT4
13 GB
Estimated VRAM

Memory and cost

Estimated VRAM and the cheapest public rental that fits

Each row is a way to run or tune gpt-oss-20b. The option is the cheapest on-demand price we track, from rows we rate high or medium confidence, on one node of up to 8 GPUs. Change the precision or hours in the calculator.

gpt-oss-20b memory estimate and cheapest rental by mode
ModeEstimated VRAMCheapest public on-demand optionPer month (730 h)Source
Inference, FP16 or BF1650 GB1x A100 at Thunder Compute, $1.09 per hour$795.70Source
Inference, FP8 or INT825 GB1x L40S at Massed Compute, $0.97 per hour$708.10Source
Inference, INT4 (4-bit)13 GB1x L40S at Massed Compute, $0.97 per hour$708.10Source
Fine-tune, LoRA (16-bit base)50 GB1x A100 at Thunder Compute, $1.09 per hour$795.70Source
Fine-tune, QLoRA (4-bit base)13 GB1x L40S at Massed Compute, $0.97 per hour$708.10Source
Fine-tune, full (Adam, mixed precision)401 GB6x A100 at Thunder Compute, $6.54 per hour$4,774.20Source
About this model. The published weights are already about 4-bit (MXFP4), so the FP16 row is hypothetical. Mixture of experts: all experts must sit in memory.
How to read this. Memory is an estimate, not a benchmark. Multi-GPU setups need fast links between GPUs, and the cheapest row may be a marketplace or PCIe listing. Check the source page before you rent.

Fit by chip

How many GPUs gpt-oss-20b needs, by chip

Number of GPUs whose combined memory covers the estimate. Compare the chips on their price pages.

GPUs needed by chip and precision
PrecisionL40S
48 GB
A100
80 GB
H100
80 GB
H200
141 GB
B200
180 GB
MI300X
192 GB
B300
288 GB
FP16 (50 GB)2111111
FP8 (25 GB)1111111
INT4 (13 GB)1111111

FAQ

gpt-oss-20b questions

How much VRAM does gpt-oss-20b need?

About 50 GB at FP16, 25 GB at FP8 and 13 GB at INT4. These are estimates: parameters times bytes per parameter, plus 20% for the KV cache and activations. Long contexts and large batches need more.

Can gpt-oss-20b run on one H100?

An H100 has 80 GB. At FP16 it needs 1 H100 GPUs, at FP8 1 and at INT4 1, by this estimate.

What does it cost to rent a GPU for gpt-oss-20b?

At FP8 the cheapest public on-demand option we track is 1x L40S at Massed Compute, $0.97/hr, about $708.10 for a 730-hour month. At INT4 it is 1x L40S at Massed Compute, $0.97/hr. Prices change often, so check the source link on each row. Last checked Nov 9, 2026.

How are these estimates made?

Memory is the parameter count times bytes per parameter (2 for FP16, 1 for FP8, 0.5 for INT4), times 1.2. Fine-tuning uses 2 bytes for LoRA, 0.5 for QLoRA and 16 for full fine-tuning with Adam (2 weights, 2 gradients, 12 optimizer bytes), times 1.2. Real usage depends on the framework, context length and batch size.

Need this capacity?

Tell us the GPU, count, term, region and budget. We reply with the public prices that match and the checks to run before you pay. Free, and we do not sell compute.