# 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.

Updated Nov 17, 2026 · By Ari Vale

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: https://docs.vast.ai/guides/reference/referral-program?ref_id=623346).

## The short answer

gpt-oss-120b needs about 64 GiB of memory with 32K tokens of context: 61 GiB of weights, plus the cache and runtime. One 80 GB or 96 GB GPU holds it. A 24 GB card works if you add 64 GB of system RAM and offload experts. A smaller quant will not help, because every GGUF is about 63 GB.

- **Weights:** 65.2 GB of official safetensors (61 GiB); Ollama's gpt-oss:120b is 65 GB; llama.cpp's GGUF is 63.4 GB
- **Total at 8K / 32K / 128K context:** about 62 / 64 / 71 GiB by our engine (conservative)
- **Fits fully:** an 80 GB H100 or A100, a 96 GB RTX PRO 6000, or a 96 to 128 GB unified-memory machine
- **Budget route:** 24 GB GPU + 64 GB RAM with --n-cpu-moe offload; slower, but it loads

> **Updated November 14, 2026**
>
> Rental prices re-read from our tracker at 00:20 UTC on November 14, 2026: the cheapest single 80 GB card was an A100 SXM4 on Vast at $0.37 an hour on demand ($0.20 spot), while Runpod's 80 GB A100 PCIe had risen to $2.09 an hour from $1.19 on October 4. The memory figures below are unchanged.

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.

> **Last verified: October 4, 2026**
>
> Specs from openai/gpt-oss-120b on Hugging Face (Apache-2.0). Totals are our engine's output in GiB (1,024^3 bytes, the unit nvidia-smi uses), with a 0.8 GiB runtime allowance. Leave 5 to 10 percent spare.

## 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](https://aliteq.com/how-much-ram-do-you-need-for-local-ai).

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)

|   | Weights | Cache | Total |
| --- | --- | --- | --- |
| 8K tokens | 60.8 | 0.6 | 62.1 |
| 32K tokens | 60.8 | 2.3 | 63.8 |
| 128K tokens | 60.8 | 9.0 | 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 about 64 GB of VRAM.

- RTX 4090 (24 GB) (24 GB): does not fit
- RTX 5090 (32 GB) (32 GB): does not fit
- A100 / H100 (80 GB) (80 GB): fits
- RTX PRO 6000 (96 GB) (96 GB): fits

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](https://aliteq.com/what-is-quantization-llm-explained) 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](https://aliteq.com/cost-to-run/gpt-oss-20b) runs in 16 GB, as our [Mac mini 16 GB guide](https://aliteq.com/gpt-oss-20b-mac-mini-16gb-m4-m6) works out.

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

|   | Size | Source |
| --- | --- | --- |
| Official safetensors (MXFP4 experts) | 65.2 GB | OpenAI |
| Ollama gpt-oss:120b | 65 GB | Ollama library |
| GGUF MXFP4 | 63.4 GB | ggml-org (llama.cpp) |
| GGUF Q8_0 | 63.4 GB | unsloth |
| GGUF Q4_K_M | 62.8 GB | unsloth |
| GGUF Q2_K | 62.6 GB | unsloth |

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

One card with 80 GB or more holds it outright: an [A100 80 GB](https://aliteq.com/gpus/a100-80gb-sxm) or an H100 80 GB, or a 96 GB [RTX PRO 6000](https://aliteq.com/is-the-rtx-pro-6000-worth-16000-for-local-ai). Below that, you combine cards or offload. Two 32 GB [RTX 5090](https://aliteq.com/gpus/rtx-5090) cards give 64 GB, which is tight at 32K context, and our [multi-GPU guide](https://aliteq.com/multi-gpu-local-ai) 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)

|   | Memory | Verdict |
| --- | --- | --- |
| 1x RTX 4090 or 3090 (24 GB) | 24 GB | Offload needed: add 64 GB system RAM |
| 1x RTX 5090 (32 GB) | 32 GB | Offload needed: add 64 GB system RAM |
| 2x RTX 5090 | 64 GB | Tight; keep context short |
| 3x 24 GB cards | 72 GB | Fits, with headroom for longer context |
| 1x A100 or H100 (80 GB) | 80 GB | Fits, even at 128K |
| 1x RTX PRO 6000 (96 GB) | 96 GB | Fits with room to spare |

For a card-by-card list with live prices, see [best GPU for gpt-oss-120b](https://aliteq.com/cost-to-run/gpt-oss-120b#best-gpu) and the [cost to run gpt-oss-120b](https://aliteq.com/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](https://aliteq.com/gpus/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:

```bash
# 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](https://aliteq.com/n-cpu-moe-llama-cpp-what-it-actually-does) 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](https://aliteq.com/strix-halo-vram-how-much-for-ai-ryzen-ai-max-395) and [Mac Studio vs NVIDIA build](https://aliteq.com/mac-studio-vs-nvidia-build-local-ai) cover those machines.

![Server hardware for AI inference](https://media.aliteq.com/media/2026/07/b2-cluster.jpg)
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](https://aliteq.com/runpod-vs-vast-vs-lambda-cheapest-gpu-cloud). 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](https://aliteq.com/gpus/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](https://aliteq.com/cheapest-a100-rental) and [cheapest H100 rental](https://aliteq.com/cheapest-h100-rental) guides compare the hosts card by card.

Whether renting beats buying depends on your hours. Our [rent vs buy guide](https://aliteq.com/rent-vs-buy-gpu-ai-cloud-vs-local) does that math, and the [cloud GPU tracker](https://aliteq.com/cloud-gpu) shows today's prices.

**No 80 GB card? Rent one by the hour** One 80 GB card holds gpt-oss-120b with its full 128K context, so there's nothing to offload. This link opens Vast.ai with Ollama and Open WebUI ready to use; pull gpt-oss:120b and start chatting. [Rent an 80GB A100 with Ollama ready](https://cloud.vast.ai/?template_id=26e7446a7d6906ee366b620c84e1e422&ref_id=623346) (Referral link: we earn a commission if you buy.) Live A100 SXM4 prices on Vast.ai, from and typical: https://aliteq.com/vast-ai-pricing

**Serving it to an app or a team** Serving gpt-oss-120b to an app or a team? Runpod runs 80 GB H100s in its Secure Cloud datacenters, with one-click templates for pods and a serverless option that bills only while requests run. [Rent an 80GB H100 on Runpod](https://runpod.io/?ref=nuninlts) (Referral link: we earn a commission if you buy.) Live H100 SXM prices on Runpod, from and typical: https://aliteq.com/cloud-gpu

**No 64 GB of memory at all? Use it by the token** Novita AI serves openai/gpt-oss-120b at $0.05 per 1M input tokens and $0.25 per 1M output (read Oct 29, 2026). At three input tokens per output token that is about $0.10 per 1M, so the A100 hour quoted above buys roughly 12M tokens. The trade-off: your prompts go to Novita, not your own machine. [Try gpt-oss-120b on Novita AI](https://novita.ai/?ref=zgy4mjj&utm_source=affiliate) (Referral link: we earn a commission if you buy.) Live prices: https://aliteq.com/cloud-gpu

This guide is part of our [Which local AI model fits my GPU's VRAM? The 8GB to 32GB chart, model by model](https://aliteq.com/best-local-llm-vram-tiers-what-actually-fits) guide and our [What hardware do DeepSeek](https://aliteq.com/run-giant-open-models-locally) guide. Related guides: [Got a 16GB GPU](https://aliteq.com/best-local-llm-16gb-vram), [Kimi K3's open weights are 1.56 TB. Can your GPU actually run it?](https://aliteq.com/kimi-k3-open-weights-hardware-what-it-takes-to-run), [Can you run DeepSeek V4.1 Flash locally](https://aliteq.com/how-to-run-deepseek-v4-flash-locally-hardware).

## gpt-oss-120b requirements: quick answers

**Q: How much VRAM does gpt-oss-120b need?**

A: 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.

**Q: What are the gpt-oss-120b system requirements for a home PC?**

A: 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.

**Q: Can I run gpt-oss-120b on an RTX 4090 or 3090?**

A: 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.

**Q: Can gpt-oss-120b run on 32 GB of RAM?**

A: 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.

**Q: How much does it cost to rent a GPU for gpt-oss-120b?**

A: 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.

**Q: Is there a smaller gpt-oss-120b quant?**

A: 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.

**Q: How many parameters are active in gpt-oss-120b?**

A: 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](https://aliteq.com/tools/vram-calculator), and if 64 GB is out of reach, our [best MoE models for 12 to 16 GB GPUs](https://aliteq.com/best-moe-models-for-12gb-16gb-gpu) has options that fit.

## Sources

- [Hugging Face, openai/gpt-oss-120b model card, config.json and file list (primary, read Oct 4, 2026)](https://huggingface.co/openai/gpt-oss-120b)
- [Hugging Face, ggml-org/gpt-oss-120b-GGUF file size (llama.cpp project, read Oct 4, 2026)](https://huggingface.co/ggml-org/gpt-oss-120b-GGUF)
- [Hugging Face, unsloth/gpt-oss-120b-GGUF quant sizes (third-party, read Oct 4, 2026)](https://huggingface.co/unsloth/gpt-oss-120b-GGUF)
- [Ollama library, gpt-oss tags (read Oct 4, 2026)](https://ollama.com/library/gpt-oss/tags)
- [OpenAI, Introducing gpt-oss (vendor)](https://openai.com/index/introducing-gpt-oss/)
- [aliteq VRAM engine and GPU price tracker (own data, Oct 4 and Nov 14, 2026)](https://aliteq.com/cost-to-run/gpt-oss-120b)
- [llama.cpp server README: --n-cpu-moe, --cpu-moe, --fit (read Nov 14, 2026)](https://github.com/ggml-org/llama.cpp/blob/master/tools/server/README.md)

---

Canonical: https://aliteq.com/gpt-oss-120b-hardware-requirements

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