Run gpt-oss 120B Locally: VRAM & GPU Requirements
gpt-oss 120B is OpenAI's 116.8B open-weight MoE that needs about 64 GB at 4-bit with 8K context. A 128GB machine holds it entirely at about 52 to 54 tokens/s, and OpenAI says a single 80GB H100 is enough. Because each token uses only 5.1B parameters, it runs fast on high-memory systems. With just one ordinary GPU, you can still run it locally by offloading the experts to system RAM.
gpt-oss 120B details
- Min VRAM at 4-bit (8K context)65 GB
- Parameters116.8B
- Active params5.1B
- Max context128K
- Architecture
- MoE
- Experts offloaded
- 4 GB VRAM + 62 GB RAM
- License
- Apache-2.0
- Launch date
- Aug 5, 2025
- Vendor
- OpenAI
- Hugging Face repo
- openai/gpt-oss-120b
- GGUF repo
- unsloth/gpt-oss-120b-GGUF
- MLX repo (Apple)
- mlx-community/gpt-oss-120b-MXFP4-Q8
- Ollama tag
- gpt-oss:120b
- Layers
- 36
- Hidden size
- 2,880
- KV heads
- 8
- Head dim
- 64
How much VRAM does gpt-oss 120B need?
The table below assumes all experts stay in VRAM with no RAM offloading. If you are short on VRAM, you can offload experts to RAM; see the complete builds below.
| Quantization | WeightsGB | 8K contextGB | 32K contextGB | 128K context (max)GB |
|---|---|---|---|---|
| 1-bit | 29.4est. | 30.8 | 31.7 | 35.4 |
| 2-bit | 46.6est. | 48 | 48.9 | 52.5 |
| 3-bit | 62.6GGUF | 64 | 64.9 | 68.5 |
| 4-bit | 62.8GGUF | 64.2 | 65.1 | 68.7 |
| 5-bit | 62.9GGUF | 64.3 | 65.2 | 68.8 |
| 8-bit | 63.4GGUF | 64.8 | 65.7 | 69.3 |
| BF16/FP16 | 65.4GGUF | 66.8 | 67.7 | 71.3 |
Full calculation rules are on the Methodology page.
Can a single GPU run gpt-oss 120B?
No consumer GPU can run gpt-oss 120B: it takes a workstation or data center card, or a big unified-memory machine. The RTX PRO 6000 holds 4-bit with the full context window to spare at about 147 tokens/s, and the 80GB A100 and 72GB RTX PRO 5000 fit it too. Because the model ships in a 4-bit format, files from 2-bit to 8-bit are nearly the same size, so a smaller quant still won't fit the 48GB RTX A6000. Among all-in-one machines, the 96GB Mac Studio M5 Ultra does about 129 tokens/s and the 128GB DGX Spark about 54, since using only about 5B parameters per token needs little bandwidth.
The table below assumes all experts stay in VRAM with no RAM offloading. If you are short on VRAM, you can offload experts to RAM; see the complete builds below.
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,02531 listings | 63.2 | 128K |
| Instinct MI21064 GB | $5,03911 listings | 155.3 | 128K |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $6,7995 listings | 142.5 | 128K |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,00029 listings | 107 | 128K |
| $7,90037 listings | 66 | 128K | |
| $9,8756 listings | 146.6 | 128K | |
| $18,60020 listings | 159 | 128K | |
| $19,89914 listings | 162 | 128K | |
| Mac Studio M3 Ultra 512GBWhole system · 512 GB | $19,95017 listings | 122.2 | 128K |
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,02531 listings | 51.5 | 128K |
| Instinct MI21064 GB | $5,03911 listings | 142.8 | 128K |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $6,7995 listings | 128.7 | 128K |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,00029 listings | 92.2 | 128K |
| $7,90037 listings | 54 | 128K | |
| $9,8756 listings | 133.2 | 128K | |
| $18,60020 listings | 147 | 128K | |
| $19,89914 listings | 150.4 | 128K | |
| Mac Studio M3 Ultra 512GBWhole system · 512 GB | $19,95017 listings | 107.5 | 128K |
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,02531 listings | 51.1 | 128K |
| Instinct MI21064 GB | $5,03911 listings | 142.4 | 112K |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $6,7995 listings | 128.2 | 128K |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,00029 listings | 91.7 | 128K |
| $7,90037 listings | 53.6 | 128K | |
| $9,8756 listings | 132.8 | 128K | |
| $18,60020 listings | 146.5 | 128K | |
| $19,89914 listings | 150 | 128K | |
| Mac Studio M3 Ultra 512GBWhole system · 512 GB | $19,95017 listings | 107 | 128K |
Only common GPUs and systems are listed, from cheapest to most expensive.
How many GPUs do you need to run gpt-oss 120B?
Two 48GB RTX A6000 GPUs are enough to run gpt-oss 120B at 4-bit, reaching about 97 tokens/s. 24GB cards need four: the model plus 32K of context comes to about 65 GB of VRAM, more than two of them can hold, and four RTX 3090s do about 107 tokens/s. The 32GB RTX 5090 also starts at four. Dropping to 2-bit won't save a card, since every quant is about the same size. One caveat: vLLM's gpt-oss recipe currently lists data center parts such as the H100, B200 and MI300, with support for GeForce cards and the A6000 still in progress. On those cards, splitting the layers across GPUs with llama.cpp is the safer route.
| Device | Cards | Total price | Total VRAM | Speed t/s | Total power |
|---|---|---|---|---|---|
| 2 cards | $2,756 | 64 GB | 117.5 | 500 W | |
| 2 cards | $3,700 | 64 GB | 96.7 | 460 W | |
| Radeon RX 7900 XTX24 GB per card | 4 cards | $5,600 | 96 GB | 120.9 | 1,420 W |
| 4 cards | $7,968 | 96 GB | 119.6 | 1,400 W | |
| 2 cards | $9,798 | 96 GB | 109.1 | 600 W | |
| 2 cards | $14,770 | 64 GB | 151.2 | 1,150 W | |
| 4 cards | $15,300 | 96 GB | 123.4 | 1,800 W | |
| 2 cards | No price | 96 GB | 123.4 | 900 W |
| Device | Cards | Total price | Total VRAM | Speed t/s | Total power |
|---|---|---|---|---|---|
| 4 cards | $5,512 | 128 GB | 104.9 | 1,000 W | |
| Radeon RX 7900 XTX24 GB per card | 4 cards | $5,600 | 96 GB | 108.3 | 1,420 W |
| 4 cards | $7,400 | 128 GB | 84.4 | 920 W | |
| 4 cards | $7,968 | 96 GB | 107 | 1,400 W | |
| 2 cards | $9,798 | 96 GB | 96.5 | 600 W | |
| Instinct MI21064 GB per card | 2 cards | $10,078 | 128 GB | 136 | 600 W |
| 4 cards | $15,300 | 96 GB | 110.9 | 1,800 W | |
| 4 cards | $29,540 | 128 GB | 140.3 | 2,300 W | |
| 2 cards | No price | 96 GB | 110.9 | 900 W |
| Device | Cards | Total price | Total VRAM | Speed t/s | Total power |
|---|---|---|---|---|---|
| 4 cards | $5,512 | 128 GB | 104.5 | 1,000 W | |
| Radeon RX 7900 XTX24 GB per card | 4 cards | $5,600 | 96 GB | 107.9 | 1,420 W |
| 4 cards | $7,400 | 128 GB | 84 | 920 W | |
| 4 cards | $7,968 | 96 GB | 106.6 | 1,400 W | |
| 2 cards | $9,798 | 96 GB | 96.1 | 600 W | |
| Instinct MI21064 GB per card | 2 cards | $10,078 | 128 GB | 135.6 | 600 W |
| 4 cards | $15,300 | 96 GB | 110.5 | 1,800 W | |
| 4 cards | $29,540 | 128 GB | 139.9 | 2,300 W | |
| 2 cards | No price | 96 GB | 110.5 | 900 W |
Full calculation rules are on the Methodology page.
What PC or server build do you need to run gpt-oss 120B locally?
RAM offload is the most practical way to run gpt-oss 120B locally, since it uses only 5.1B parameters per token and reads very little expert data from system RAM. At 4-bit, a 16GB Tesla V100 with a dual-channel DDR5 desktop does about 36 tokens/s, or about 21 with DDR4. A used 8-channel DDR4 server with an RTX 3090 does about 59 tokens/s. In llama.cpp, --cpu-moe puts all the experts in system RAM while --n-cpu-moe N moves only the first N layers, so lowering N when you have VRAM to spare boosts speed.
Tesla V100 32GB + Dual Xeon E5 DDR4
BudgetGeForce RTX 3090 + Single EPYC DDR4
Best valueGeForce RTX 5090 + Single EPYC DDR5
FlagshipGeForce RTX 5070 + Desktop DDR5
Home PCTesla V100 32GB + Dual Xeon E5 DDR4
BudgetGeForce RTX 3090 + Dual EPYC DDR4
Best valueGeForce RTX 5090 + Single EPYC DDR5
Flagship2 × GeForce RTX 5070 + Desktop DDR5
Home PCTesla V100 32GB + Dual Xeon E5 DDR4
BudgetGeForce RTX 3090 + Dual EPYC DDR4
Best valueGeForce RTX 5090 + Single EPYC DDR5
FlagshipDetailed calculation rules are on the Methodology page.
As an eBay Partner, VRAMGlass may be compensated if you buy through the eBay links on this page. The price you pay stays the same.
What to know before running gpt-oss 120B locally
Just use the original precision
Its experts already come in a 4-bit format (MXFP4), so every GGUF quant is almost the same size; even the FP16 one is only about 65 GB, the same as the original. There's no point stepping down a level to save two or three GB. Unsloth recommends at least 66 GB of VRAM and RAM combined to get above 6 tokens per second.
Weaker in Chinese, strong at code and reasoning
Qwen used gpt-oss 120B as a comparison point on the Qwen3.5 9B model card. On the Chinese benchmark C-Eval it scores only 76.2, below the 9B Qwen3.5 (88.2), but on the coding benchmark LiveCodeBench v6 it scores 82.7, the highest in that comparison table. If your use is mainly in Chinese, test it on your own tasks before deploying.
Reasoning effort and tools
Like the 20B, it has three levels, low, medium and high, set in the system prompt (for example “Reasoning: high”). It was trained with browser and Python tool calling, and adding
--tool-call-parser openai--enable-auto-tool-choicein vLLM hooks up function calling. Sampling parameters are the same as for the 20B:temperature1.0 andtop_p1.0.If it fits, run the full 128K
The full 128K takes only about 4.5 GB more than 8K (68.7 vs. 64.2 GB at 4-bit), so any device that holds it can go straight to 128K, with no trade-off between quantization and context. The reason is that half its layers only look at the most recent 128 tokens, and their cache doesn't grow with context.
Launch commands
Ollama
- Windows
- macOS
- Linux
ollama run gpt-oss:120bllama.cpp
- NVIDIA
- AMD
- Mac
- CPU
llama-server -hf unsloth/gpt-oss-120b-GGUF:Q4_K_M -c 8192Short on VRAM? Add --cpu-moe to keep the routed experts in system RAM (about 62 GB needed).
llama-server -hf unsloth/gpt-oss-120b-GGUF:Q4_K_M -c 8192 -ngl 99 \ --cpu-moe
vLLM
- Linux
- NVIDIA
- AMD
vllm serve openai/gpt-oss-120bMLX
- Apple Silicon
On a Mac, pip install mlx-lm first; this command downloads the MLX weights from Hugging Face and starts an OpenAI-compatible server.
mlx_lm.server --model mlx-community/gpt-oss-120b-MXFP4-Q8File names follow that week's model-library snapshot; the definitions are in the methodology. Methodology
Other models in the gpt-oss family
| Model | Total params | Active params | 4-bit size |
|---|---|---|---|
| gpt-oss 20BMoE | 20.9B | 3.6B | 11.6 GB |
| gpt-oss Safeguard 20BMoE | 20.9B | 3.6B | 11.6 GB |