aliteq.

Type to search every guide, tool and GPU page.

gpt-oss-120b needs about 64GB of memory, and a smaller quant won't save you

OpenAI's 117B open model ships its experts in 4-bit MXFP4, so the files are about 63 GB whichever quant you pick. Here is how much VRAM and RAM it needs at 8K to 128K context, which GPUs and machines hold it, and when a 24 GB card plus RAM is enough.

Ari ValeUpdated Published 9 min read
A server GPU representing large model inference

This page has referral links: we earn a commission if you buy, at no cost to you.

Our Vast referral code: 623346 (link: https://cloud.vast.ai/?ref_id=623346). New users get no bonus from it; we earn 3% of what referred users spend (Vast's referral program docs).

Share
Share on X

gpt-oss-120b needs about 64 GiB of memory at 32K context: one 80 GB GPU holds it, or a 24 GB card runs it next to 64 GB of system RAM with expert offload. It has 117 billion parameters, which sounds like a server-room number. It isn't quite. OpenAI's model card says it fits "a single 80GB GPU (like NVIDIA H100 or AMD MI300X)," and it is the biggest open model many home builders can realistically run.

We read the model card, the config and the file lists on Hugging Face on October 4, 2026, then ran the numbers through our VRAM engine. We have not benchmarked it for this piece. Everything below is file sizes and arithmetic, with the formula shown.

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

About 61 GiB for the weights alone, and about 64 GiB in total with 32K tokens of context. At the full 128K window our engine budgets about 71 GiB. That is the number to plan around, whether the memory is VRAM, unified memory, or VRAM plus system RAM.

The official repo holds 65,248,893,184 bytes of safetensors. That is 60.8 GiB. The model card gives 117B total parameters with 5.1B active per token, and the config sets a 131,072-token maximum context.

Our engine adds the context cache with one formula: 2 (keys and values) x layers x KV heads x head size x tokens x 2 bytes. For gpt-oss-120b that is 2 x 36 x 8 x 64 x 2 bytes, or 72 KiB per token.

gpt-oss-120b total memory by context (GiB, our engine, Oct 4, 2026)

8K tokens

Weights
60.8
Cache
0.6
Total
62.1

32K tokens

Weights
60.8
Cache
2.3
Total
63.8

128K tokens

Weights
60.8
Cache
9.0
Total
70.6

Those totals are on the safe side. The config shows that half of the 36 layers use a 128-token sliding window, so their cache stays tiny. Counting only the 18 full-attention layers, 128K tokens costs about 4.5 GiB, for a total near 66 GiB. Plan for the higher figure and enjoy the spare room.

Does it fit? gpt-oss-120b needs about 64 GiB at 32K context
gpt-oss-120b (MXFP4, 32K context) needs ≈64 GB
RTX 4090 (24 GB)24 GBover 40 GB
RTX 5090 (32 GB)32 GBover 32 GB
A100 / H100 (80 GB)80 GBfits
RTX PRO 6000 (96 GB)96 GBfits
A 24 or 32 GB card needs expert offload to system RAM. An 80 GB or 96 GB card holds the whole model.

Will a Q4 or Q2 quant make it smaller?

Barely. OpenAI post-trained the expert weights in MXFP4, a 4-bit format, and those experts are almost all of the model. Community GGUFs keep them as they are. So unsloth's Q2_K is 62.6 GB, Q4_K_M is 62.8 GB and Q8_0 is 63.4 GB. Pick any of them and you need about the same memory.

The config shows what stays at higher precision: attention, the router, the embeddings and the output layer. Those are small. That is why llama.cpp's own ggml-org GGUF (63.4 GB) and Ollama's gpt-oss:120b tag (65 GB) land in the same place.

So skip the hunt for a smaller file. If 64 GiB is out of reach, offload or a smaller model is the fix. For the smaller one, gpt-oss-20b runs in 16 GB, as our Mac mini 16 GB guide works out.

gpt-oss-120b download sizes (read Oct 4, 2026)

Official safetensors (MXFP4 experts)

Size
65.2 GB
Source
OpenAI

Ollama gpt-oss:120b

Size
65 GB
Source
Ollama library

GGUF MXFP4

Size
63.4 GB
Source
ggml-org (llama.cpp)

GGUF Q8_0

Size
63.4 GB
Source
unsloth

GGUF Q4_K_M

Size
62.8 GB
Source
unsloth

GGUF Q2_K

Size
62.6 GB
Source
unsloth

What GPU do I need for gpt-oss-120b?

One card with 80 GB or more holds it outright: an A100 80 GB or an H100 80 GB, or a 96 GB RTX PRO 6000. Below that, you combine cards or offload. Two 32 GB RTX 5090 cards give 64 GB, which is tight at 32K context, and our multi-GPU guide covers splitting a model across cards. A single 24 or 32 GB card needs experts moved to system RAM.

Here is how common setups stack up against the 32K total of about 64 GiB.

Which setups hold gpt-oss-120b (32K context, derived)

1x RTX 4090 or 3090 (24 GB)

Memory
24 GB
Verdict
Offload needed: add 64 GB system RAM

1x RTX 5090 (32 GB)

Memory
32 GB
Verdict
Offload needed: add 64 GB system RAM

2x RTX 5090

Memory
64 GB
Verdict
Tight; keep context short

3x 24 GB cards

Memory
72 GB
Verdict
Fits, with headroom for longer context

1x A100 or H100 (80 GB)

Memory
80 GB
Verdict
Fits, even at 128K

1x RTX PRO 6000 (96 GB)

Memory
96 GB
Verdict
Fits with room to spare

For a card-by-card list with live prices, see best GPU for gpt-oss-120b and the cost to run gpt-oss-120b page. Both read the same engine.

How much system RAM do I need to run it on a 24 GB GPU?

About 64 GB of system RAM next to a 24 GB card such as an RTX 4090. The model needs roughly 64 GiB in total at 32K context. With llama.cpp's --n-cpu-moe, attention and some experts stay on the GPU and the rest sit in RAM. 24 GB plus 64 GB covers it with room for your operating system. 32 GB of RAM does not.

This works well because only 5.1B parameters are active per token. Each token touches a small slice of the experts sitting in RAM, so the slowdown is far gentler than offloading a dense model. It is still slower than holding everything in VRAM. We have not measured the speed for this piece. A starting command for a 24 GB card, using the official llama.cpp GGUF:

# gpt-oss-120b on a 24 GB GPU + 64 GB RAM: experts of the first 30 of 36 layers stay in RAM
llama-server -m gpt-oss-120b-MXFP4.gguf -ngl 99 --n-cpu-moe 30 -c 32768
# out of VRAM? raise 30. VRAM to spare? lower it, since lower is faster

Our guide to llama.cpp's --n-cpu-moe explains how to pick that number, and why recent builds can choose it for you if you leave all offload flags out.

On a Mac or a Strix Halo mini PC, the same 64 GiB has to fit in unified memory alongside the operating system. A 64 GB machine is tight. A 96 or 128 GB one is comfortable. Our Strix Halo memory guide and Mac Studio vs NVIDIA build cover those machines.

Server hardware for AI inference
117B parameters in memory, about 5.1B active per token. The memory is the hard part, not the compute. · Unsplash

Is it cheaper to rent a GPU for gpt-oss-120b?

For occasional use, yes. At 00:20 UTC on November 14, 2026 our tracker showed, on demand: an 80 GB A100 SXM4 from $0.37 an hour and a 96 GB RTX PRO 6000 Max-Q from $0.64 an hour on Vast, and an 80 GB A100 PCIe at $2.09 and a 96 GB RTX PRO 6000 Max-Q at $1.64 on Runpod. Any of them holds the whole model. A few hours a week costs far less than a 96 GB card.

Re-checked on Nov 17, 2026: on Vast.ai an 80 GB A100 SXM4 started at $0.38 an hour and an H100 SXM at $1.53; on Runpod the A100 SXM listed at $2.19 and the H100 SXM at $4.39. Our cheapest A100 rental and cheapest H100 rental guides compare the hosts card by card.

Whether renting beats buying depends on your hours. Our rent vs buy guide does that math, and the cloud GPU tracker shows today's prices.

This guide is part of our Which local AI model fits my GPU's VRAM? The 8GB to 32GB chart, model by model guide and our What hardware do DeepSeek guide. Related guides: Got a 16GB GPU, Kimi K3's open weights are 1.56 TB. Can your GPU actually run it?, Can you run DeepSeek V4.1 Flash locally.

gpt-oss-120b requirements: quick answers

How much VRAM does gpt-oss-120b need?
About 61 GiB for the weights and about 64 GiB in total with 32K tokens of context, by our engine. The full 128K window budgets about 71 GiB. One 80 GB GPU holds it.
What are the gpt-oss-120b system requirements for a home PC?
Either a GPU setup with 64 GB or more of VRAM, or a 24 to 32 GB GPU plus 64 GB of system RAM using expert offload in llama.cpp. A 96 to 128 GB unified-memory machine also works.
Can I run gpt-oss-120b on an RTX 4090 or 3090?
Yes, with offload. Keep attention on the 24 GB card and push most experts to 64 GB of system RAM with --n-cpu-moe, for example llama-server -m gpt-oss-120b-MXFP4.gguf -ngl 99 --n-cpu-moe 30. It runs slower than a card that holds the whole model.
Can gpt-oss-120b run on 32 GB of RAM?
Not with a 12 or 16 GB GPU: RAM plus VRAM has to hold about 64 GiB. With a 32 GB RTX 5090 next to 32 GB of RAM it is borderline, with little left for the operating system. 64 GB of RAM is the comfortable floor for offload.
How much does it cost to rent a GPU for gpt-oss-120b?
At 00:20 UTC on Nov 14, 2026, our tracker's cheapest single 80 GB card was an A100 SXM4 on Vast at $0.37 an hour on demand; Runpod's 80 GB A100 PCIe was $2.09. Prices move hourly, so check the live figure.
Is there a smaller gpt-oss-120b quant?
Not in any useful sense. GGUF files from Q2_K to Q8_0 are 62.6 to 63.4 GB, because the experts stay in their native 4-bit MXFP4 format.
How many parameters are active in gpt-oss-120b?
5.1B per token out of 117B total, per OpenAI's model card. Memory has to hold all 117B; compute only touches the active ones.

The short version: plan for 64 GiB. Get it from one big GPU, several smaller ones, unified memory, or a 24 GB card plus 64 GB of RAM. Try your own setup in the VRAM calculator, and if 64 GB is out of reach, our best MoE models for 12 to 16 GB GPUs has options that fit.

Found this useful? Share it

Share
Share on X

Founder & chief editor

Ari Vale

Founder and chief editor of Aliteq (a PC hardware shop from 2019, now a US-based publication). Ari Vale is my pen name: I stay anonymous, the work doesn't. I research the questions people actually ask, check every price and limit against the vendor's own pages, and write down what I'd choose and why. I use the cloud-GPU and AI-video services I write about.

Work out the hardware

GPUs in this article

Specs, the AI models each one runs, and where to buy or rent it.

Email list

Local AI, only the changes that matter

A new model your GPU can actually run, a GPU price move worth acting on, or a fix that saves you an evening. Nothing in between.

Written and sent by hand. One-click unsubscribe in every email. Emails may contain referral links.

Keep reading