Skip to content

gpt-oss:120b: how much VRAM does it need? ​

gpt-oss 120B. Run it with ollama run gpt-oss:120b. VRAM figures are estimates: model file (the download size listed by Ollama) + KV cache (computed layer by layer from the official Hugging Face config.json, f16) + 1 GB headroom. ollama ps shows real usage.

At a glance ​

ItemValue
Download size65GB
Context (Ollama tag page)128K
KV cache per 1K tokens (f16, full-attention layers)36 MB
Sliding-window layerskeep only the last 128 tokens
LMArena overall#227, score 1352 (2026-11-22)

VRAM by context length ​

ContextKV cache f16Total (f16)Total (q8_0 KV)
4K0.15 GB66.1 GB66.1 GB
8K0.29 GB66.3 GB66.1 GB
32K1.13 GB67.1 GB66.6 GB
128K4.50 GB70.5 GB68.3 GB

Ollama uses a 4096-token context by default; a q8_0 KV cache is about half of f16 and needs Flash Attention (Ollama FAQ).

Which GPU sizes fit it ​

VRAM4K8K32K
8 GB———
12 GB———
16 GB———
24 GB———
32 GB———
48 GB———
80 GB✅✅✅

Models that do not fit still run, with part of the model in system memory on the CPU, just slower. Try other settings in the VRAM calculator.

FAQ ​

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

About 66.1 GB at 4K context (Ollama default) and 67.1 GB at 32K with an f16 KV cache and 1 GB headroom.

How big is the gpt-oss:120b download? ​

The Ollama library lists 65GB.

Sources ​

More: all models · VRAM calculator · token counter

Discussion

Sign in with GitHub to comment. When asking for help, include your OS and the exact error message.

Updated:

gaodong.aiAboutPrivacyTermsContact

Created and maintained by Haorui Li, co-author of the KiT candlestick foundation model.

Independent tutorials, not affiliated with any product mentioned. Product names and trademarks belong to their owners. Check official pages for prices and policies.