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?
| Quantisation | 8K context | 32K context | 128K context |
|---|---|---|---|
| MXFP4 (official file) | 65 GB | 66 GB | 70 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?
| Memory | Example card | Best quality at 8K | Longest context at that quality | Longest context (official file) |
|---|---|---|---|---|
| 8 GB | GeForce RTX 4060 | Doesn’t fit | — | — |
| 12 GB | GeForce RTX 5070 | Doesn’t fit | — | — |
| 16 GB | GeForce RTX 5080 | Doesn’t fit | — | — |
| 24 GB | Radeon RX 7900 XTX | Doesn’t fit | — | — |
| 32 GB | GeForce RTX 5090 | Doesn’t fit | — | — |
| 48 GB | L40S | Doesn’t fit | — | — |
| 80 GB | H100 80GB | MXFP4 (official file) · 65 GB | 128K | 128K |
| 96 GB | RTX PRO 6000 Blackwell | MXFP4 (official file) · 65 GB | 128K | 128K |
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 memory | GPU can use | Best quality at 8K | Longest context |
|---|---|---|---|
| 16 GB | 11 GB | Doesn’t fit | — |
| 24 GB | 16 GB | Doesn’t fit | — |
| 32 GB | 21 GB | Doesn’t fit | — |
| 36 GB | 27 GB | Doesn’t fit | — |
| 48 GB | 36 GB | Doesn’t fit | — |
| 64 GB | 48 GB | Doesn’t fit | — |
| 96 GB | 72 GB | MXFP4 (official file) · 65 GB | 128K |
| 128 GB | 96 GB | MXFP4 (official file) · 65 GB | 128K |
| 192 GB | 144 GB | MXFP4 (official file) · 65 GB | 128K |
| 256 GB | 192 GB | MXFP4 (official file) · 65 GB | 128K |
| 512 GB | 384 GB | MXFP4 (official file) · 65 GB | 128K |
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?
| Context | KV cache, FP16 | KV cache, 8-bit | Total (official file) |
|---|---|---|---|
| 8,192 | 0.3 GB | 0.2 GB | 65 GB |
| 32,768 | 1.1 GB | 0.6 GB | 66 GB |
| 131,072 | 4.5 GB | 2.4 GB | 70 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?
| File | Bits per weight | Approximate size |
|---|---|---|
| MXFP4 (official file) | 4.34 | 59 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 VRAM | In system RAM | RAM to have |
|---|---|---|
| 8 GB | 57 GB | 64 GB |
| 16 GB | 49 GB | 64 GB |
| 24 GB | 41 GB | 64 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?
| Model | Parameters | Type | Q4 at 8K | Smallest GPU | Context on 24 GB |
|---|---|---|---|---|---|
| gpt-oss 20B | 20.9B | MoE | 13 GB | 16 GB | 128K |
| gpt-oss 120B | 116.8B | MoE | 65 GB | None | — |
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
Try other settings in the VRAM calculator
- Prefer the API? gpt-oss-120b pricing
- Guide: How much VRAM do you need to run an LLM locally?
- Glossary: Quantisation, GGUF, KV cache, Mixture of experts
Keep exploring