gpt-oss-120b VRAM Requirements

gpt-oss-120b needs about 62.0 GB of VRAM at MXFP4 (official) with an 8K context: 60.8 GB for weights, 0.3 GB for the KV cache and 0.9 GB of runtime overhead. At Q4_K_M it needs 67.2 GB. At Q8_0 it needs 117 GB and at full FP16 precision 219 GB. The smallest GPU that runs it fully is the A100 80GB.

By OpenAI · Updated October 14, 2026 · Values from config.json on Hugging Face

62.0 GB VRAM

gpt-oss-120b at MXFP4 (official) with 8K context and the KV cache in FP16.

  • Weights 60.8 GB
  • KV cache 0.3 GB
  • Runtime overhead 0.9 GB

Mixture of experts: all 116.8B parameters need memory, but only 5.1B are read per token, so it runs at the speed of a much smaller model.

Which GPUs can run it

Multi-GPU: about 3× 24 GB cards (RTX 3090 / 4090) with the model split across them.

gpt-oss-120b VRAM by quantization

Total memory with an FP16 KV cache. "Smallest tier" is the smallest standard VRAM size with a 6% safety margin at 8K.

QuantizationBits/weightWeightsTotal at 8KTotal at 32KSmallest tier
MXFP4 (official)4.4760.8 GB62.0 GB62.9 GB80 GB
Q4_K_M4.8565.9 GB67.2 GB68.0 GB80 GB
Q5_K_M5.6977.4 GB78.6 GB79.4 GB96 GB
Q6_K6.5989.6 GB90.8 GB91.7 GB128 GB
Q8_08.50116 GB117 GB118 GB128 GB
FP16 / BF1616.00218 GB219 GB220 GBMulti-GPU / server
Q3_K_M3.9153.2 GB54.4 GB55.2 GB64 GB
Q2_K3.0040.8 GB42.0 GB42.8 GB48 GB

VRAM by context length

At MXFP4 (official). 18 of 36 layers keep the full context. The other 18 use a 128-token sliding window, so their cache stops growing after 128 tokens.

ContextKV cache (FP16)KV cache (Q8_0)Total, FP16 cacheTotal, Q8_0 cache
4K tokens0.1 GB79 MB61.9 GB61.8 GB
8K tokens0.3 GB0.2 GB62.0 GB61.9 GB
32K tokens1.1 GB0.6 GB62.9 GB62.3 GB
128K tokens4.5 GB2.4 GB66.2 GB64.1 GB

GPUs that can run gpt-oss-120b

At MXFP4 (official) with 8K context. "Best quant" is the highest-quality format that fits fully; "max context" is at MXFP4 (official).

GPUUsable memoryStatusBest quantMax contextSpeed
A100 80GB80.0 GBFitsMXFP4 (official)128K~170 tok/s
H100 80GB SXM80.0 GBFitsMXFP4 (official)128K~201 tok/s
Ryzen AI Max+ 395 128GB96.0 GBFitsMXFP4 (official)128K~43 tok/s
Apple M3 Max 128GB96.0 GBFitsMXFP4 (official)128K~66 tok/s
Apple M4 Max 128GB96.0 GBFitsMXFP4 (official)128K~83 tok/s
Apple M5 Max 128GB96.0 GBFitsMXFP4 (official)128K~90 tok/s
RTX PRO 6000 Blackwell 96GB96.0 GBFitsMXFP4 (official)128K~162 tok/s
NVIDIA DGX Spark 128GB112 GBFitsMXFP4 (official)128K~46 tok/s
NVIDIA H200 141GB141 GBFitsMXFP4 (official)128K~219 tok/s
Apple M2 Ultra 192GB144 GBFitsMXFP4 (official)128K~107 tok/s
AMD Instinct MI300X 192GB192 GBFitsMXFP4 (official)128K~216 tok/s
Apple M3 Ultra 512GB384 GBFitsMXFP4 (official)128K~108 tok/s
RTX 6000 Ada 48GB48.0 GB73% on GPUQ2_K–~38 tok/s
RTX A6000 48GB48.0 GB73% on GPUQ2_K–~36 tok/s
L40S 48GB48.0 GB73% on GPUQ2_K–~37 tok/s
A100 40GB40.0 GB61% on GPU––~30 tok/s
RTX 5090 32GB32.0 GB49% on GPU––~24 tok/s
Radeon AI PRO R9700 32GB32.0 GB49% on GPU––~22 tok/s

Multi-GPU: about 3× 24 GB cards (RTX 3090 or 4090) run it at MXFP4 (official), using tensor or layer splitting in llama.cpp, vLLM or ExLlamaV2.

About gpt-oss-120b

OpenAI's larger open-weight model: 117B total and 5.1B active parameters, shipped natively in MXFP4 at about 61 GiB. It fits on a single 80 GB H100 or a 96 GB RTX PRO 6000, and it is fast on 128 GB unified-memory systems because so little is read per token.

SpecValue
Parameters116.8B total, 5.1B active (MoE)
Layers36
Hidden size2880
Attention heads / KV heads64 / 8
Head dimension64
Vocabulary201,088
Max context (used here)128K tokens
Sliding window128 tokens on 18 of 36 layers
KV cache per token (FP16)36 KB
Released2025-08
LicenseApache 2.0

gpt-oss-120b VRAM: common questions

Can gpt-oss-120b run on a 128GB Mac or Ryzen AI Max?

Yes. About 61 GiB of weights plus cache fits in the GPU-usable portion of 128 GB, and only 5.1B active parameters keep it fast.

Can gpt-oss-120b run on a 24GB GPU?

Only with expert offload to system RAM (64 GB+). Attention layers stay on the GPU and the experts run on the CPU, which still gives usable speed.

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

About 62.0 GB at MXFP4 (official) with an 8K context, 117 GB at Q8_0 and 219 GB at FP16. Longer contexts add 0.04 GB per 1,000 tokens with an FP16 cache.

What is the cheapest GPU that can run gpt-oss-120b?

The smallest listed device that fits it fully at MXFP4 (official) with 8K context is the A100 80GB (80.0 GB usable). With 24 GB cards you need about 3 of them.

Does gpt-oss-120b need VRAM for all 116.8B parameters?

Yes. All experts must be loaded because any token can use any expert. Only 5.1B parameters are read per token, so it generates text about as fast as a 5B dense model.

Related