Skip to content
AI Dev Toolkit.
Esc
  • Loading…

VRAM · Local model

gpt-oss 120B VRAM requirements: can you run it locally?

Not on one consumer GPU: with its official MXFP4 file and an 8K context it needs about 65 GB, so you need 3 × 24 GB cards, a 96 GB Mac or CPU+GPU offload with 65 GB of combined memory. Estimates from the model’s official config.json, checked 2026-10-08.

Parameters
116.8B
Layers
36
Max context
131,072
Experts
128 (4 active)

Attention: 18 full-attention layers, 18 sliding-window layers (last 128 tokens).

Requirements

How much VRAM does gpt-oss 120B need?

Quantisation8K context32K context128K context
MXFP4 (official file)65 GB66 GB70 GB

gpt-oss 120B is released in MXFP4 and local builds stay about that size, so these use the official file. Weights + FP16 KV cache + overhead, batch 1; the VRAM calculator shows the formula.

GPUs

Which GPUs can run gpt-oss 120B?

MemoryExample cardBest quality at 8KLongest context at that qualityLongest context (official file)
8 GBGeForce RTX 4060Doesn’t fit——
12 GBGeForce RTX 5070Doesn’t fit——
16 GBGeForce RTX 5080Doesn’t fit——
24 GBRadeon RX 7900 XTXDoesn’t fit——
32 GBGeForce RTX 5090Doesn’t fit——
48 GBL40SDoesn’t fit——
80 GBH100 80GBMXFP4 (official file) · 65 GB128K128K
96 GBRTX PRO 6000 BlackwellMXFP4 (official file) · 65 GB128K128K

The smallest card that holds gpt-oss 120B with its official MXFP4 file with an 8K context has 80 GB, such as the H100 80GB; there it has room for about 128K tokens. Cards with 8, 12, 16, 24, 32 and 48 GB can’t hold the official file with an 8K context. Split across several cards (llama.cpp and vLLM both do this), it needs 3 × 24 GB, 3 × 32 GB or one 80 GB card with its official MXFP4 file.

Apple Silicon

Can you run gpt-oss 120B on a Mac?

Mac memoryGPU can useBest quality at 8KLongest context
16 GB11 GBDoesn’t fit—
24 GB16 GBDoesn’t fit—
32 GB21 GBDoesn’t fit—
36 GB27 GBDoesn’t fit—
48 GB36 GBDoesn’t fit—
64 GB48 GBDoesn’t fit—
96 GB72 GBMXFP4 (official file) · 65 GB128K
128 GB96 GBMXFP4 (official file) · 65 GB128K
192 GB144 GBMXFP4 (official file) · 65 GB128K
256 GB192 GBMXFP4 (official file) · 65 GB128K
512 GB384 GBMXFP4 (official file) · 65 GB128K

With its official MXFP4 file and an 8K context, gpt-oss 120B needs a Mac with at least 96 GB of unified memory. By default macOS lets the GPU use about two thirds of memory on Macs with 32 GB or less and about three quarters on larger ones; the table uses that limit. You can raise it with sudo sysctl iogpu.wired_limit_mb, leaving at least 8 GB for macOS.

Context

How much memory does gpt-oss 120B’s context use?

ContextKV cache, FP16KV cache, 8-bitTotal (official file)
8,1920.3 GB0.2 GB65 GB
32,7681.1 GB0.6 GB66 GB
131,0724.5 GB2.4 GB70 GB

gpt-oss 120B’s FP16 cache grows by about 35 MB for every 1,000 tokens once its windowed layers are full. At 8K tokens that is 0.3 GB, under 1% of the total with its official MXFP4 file; at its full 131,072-token context it is 4.5 GB, 8% of the 59 GB of weights. 18 of its 36 layers use a sliding window of 128 tokens, so their cache is full after 128 tokens; only the 18 full-attention layers keep growing. On 3 × 24 GB cards (72 GB) with its official MXFP4 file, the longest context is about 128K tokens with an FP16 cache, its full context.

Download

How big is the gpt-oss 120B download?

FileBits per weightApproximate size
MXFP4 (official file)4.3459 GB

gpt-oss 120B is published with its weights already in MXFP4, about 59 GB in all; a 16-bit copy of its 116.8B parameters would take about 218 GB.

Offload

Can you run gpt-oss 120B with less VRAM by offloading to RAM?

GPU VRAMIn system RAMRAM to have
8 GB57 GB64 GB
16 GB49 GB64 GB
24 GB41 GB64 GB

Yes: llama.cpp can keep part of gpt-oss 120B in system RAM and run it on the CPU, so the GPU and RAM together need about 65 GB with its official MXFP4 file and an 8K context. On an 8 GB card that leaves 57 GB in RAM. Because only 4 of its 128 experts run for each token, the usual approach is to keep attention and shared layers on the GPU and move expert weights to RAM with --n-cpu-moe or -ot; each token then reads only a small part of what sits in RAM, so speed drops less than it would for a dense model of 116.8B parameters.

Compare

How does gpt-oss 120B compare with other gpt-oss models?

ModelParametersTypeQ4 at 8KSmallest GPUContext on 24 GB
gpt-oss 20B20.9BMoE13 GB16 GB128K
gpt-oss 120B116.8BMoE65 GBNone—

gpt-oss 120B is number 2 by size of the 2 gpt-oss models we cover. The next smaller, gpt-oss 20B, needs about 13 GB at Q4 with an 8K context.

FAQ

Frequently asked questions

How much VRAM does gpt-oss 120B need?

With an 8K context, about 65 GB using the official MXFP4 file (59 GB of weights). Local builds stay about that size whatever their quantisation label. That covers the weights, the KV cache and runtime overhead.

Can gpt-oss 120B run on a 24 GB GPU like the RTX 4090?

Not on one card: the official file needs about 65 GB. With its official MXFP4 file you need 3 × 24 GB cards.

Can I run gpt-oss 120B on a Mac?

Yes: with its official MXFP4 file and an 8K context it fits a Mac with 96 GB of unified memory using macOS’s default GPU memory limit (about 72 GB for the GPU).

Why does gpt-oss 120B need so much memory if only 4 experts are active?

Each token uses 4 of its 128 experts, but a different set for every token, so all 116.8B parameters must stay loaded: about 59 GB of weights with its official MXFP4 file. The active experts make it fast, not small.

Can I run gpt-oss 120B with only 24 GB of VRAM by using system RAM?

Yes, with CPU+GPU offload in llama.cpp: about 41 GB of it goes in system RAM, so you need 64 GB of RAM or more. Generation is slower than fully on the GPU, though less so for a mixture-of-experts model.

How big is the gpt-oss 120B download?

The official MXFP4 release is about 59 GB; a 16-bit copy would be about 218 GB.

Related

Try other settings in the VRAM calculator

Keep exploring