GPT-OSS · 9B to 32B · Mixture of experts

GPT OSS 20B

20.91 billion parameters in total, but only 4.18 billion are read for each token. That split is the whole point of the design: it costs the memory of a large model and the speed of a small one. Grouped-query attention keeps the cache small, so long contexts cost less here than on models of the same size.

Parameters20.91B
Active per token4.18B
Layers24
KV heads8 / 64
Native context128k
Vocabulary201k

Memory needed, by quantisation

At an 8k context window. Quality is our rough ranking of how much the compression costs you: anything at or above Q5 is hard to tell apart from the original in normal use.

Quantisation File size KV cache Total VRAM Quality What it costs you
Q8_0 20.69 GB 0.01 GB 21.47 GB 99% Lossless in practice. Use it when the memory is there.
Q6_K 15.97 GB 0.01 GB 16.75 GB 98% Very close to Q8 for two thirds of the size.
Q5_K_M 13.85 GB 0.01 GB 14.63 GB 96% The quality-first choice when Q6 will not fit.
Q4_K_M 11.76 GB 0.01 GB 12.54 GB 93% The default. Best size-to-quality ratio for local use.
IQ4_XS 10.35 GB 0.01 GB 11.13 GB 91% Importance-matrix 4-bit. Q4_K_S quality, smaller file.
Q3_K_M 9.52 GB 0.01 GB 10.3 GB 86% Degradation starts to show. A way to fit one size up.
IQ3_XXS 7.45 GB 0.01 GB 8.23 GB 79% Aggressive. Only worth it on very large models.

What a longer conversation costs

Same model at Q4_K_M, only the context window changes. This model uses sliding-window attention, so most layers stop growing past 128 tokens and the bill flattens out.

ContextKV cacheTotal VRAMFits in 8 GBFits in 12 GBFits in 24 GB
4k 0.01 GB 12.45 GB no no yes
8k 0.01 GB 12.54 GB no no yes
16k 0.01 GB 12.72 GB no no yes
32k 0.01 GB 13.07 GB no no yes
64k 0.01 GB 13.77 GB no no yes
128k 0.01 GB 15.18 GB no no yes

The "fits" columns allow for the roughly 0.8 GB Windows keeps for the desktop.

Which hardware runs GPT OSS 20B

96 of 118 consumer devices run it at a quantisation worth using, at an 8k context window. Another 15 can load it only by compressing the weights far enough to damage the model, marked with a warning below.

DeviceMemoryVerdictQuantisationUsedSpeed
GeForce RTX 5090
NVIDIA
32 GB Runs great Q8_0 21.47 GB 354.8 t/s
RTX PRO 6000 Blackwell
NVIDIA
96 GB Runs great Q8_0 21.47 GB 354.8 t/s
GeForce RTX 4090
NVIDIA
24 GB Runs great Q8_0 21.47 GB 199.6 t/s
GeForce RTX 3090 Ti
NVIDIA
24 GB Runs great Q8_0 21.47 GB 199.6 t/s
RTX 6000 Ada Generation
NVIDIA
48 GB Runs great Q8_0 21.47 GB 190 t/s
GeForce RTX 3090
NVIDIA
24 GB Runs great Q8_0 21.47 GB 185.3 t/s
GeForce RTX 5090 Laptop
NVIDIA
24 GB Runs great Q8_0 21.47 GB 177.4 t/s
Radeon RX 7900 XTX
AMD
24 GB Runs great Q8_0 21.47 GB 166.9 t/s
Apple M3 Ultra 96GB
Apple
96 GB Runs great Q8_0 21.17 GB 154.2 t/s
Apple M3 Ultra 256GB
Apple
256 GB Runs great Q8_0 21.17 GB 154.2 t/s
Apple M3 Ultra 512GB
Apple
512 GB Runs great Q8_0 21.17 GB 154.2 t/s
RTX A6000
NVIDIA
48 GB Runs great Q8_0 21.47 GB 152 t/s
RTX A5000
NVIDIA
24 GB Runs great Q8_0 21.47 GB 152 t/s
Apple M1 Ultra 64GB
Apple
64 GB Runs great Q8_0 21.17 GB 150.6 t/s
Apple M1 Ultra 128GB
Apple
128 GB Runs great Q8_0 21.17 GB 150.6 t/s
Apple M2 Ultra 64GB
Apple
64 GB Runs great Q8_0 21.17 GB 150.6 t/s
Apple M2 Ultra 128GB
Apple
128 GB Runs great Q8_0 21.17 GB 150.6 t/s
Apple M2 Ultra 192GB
Apple
192 GB Runs great Q8_0 21.17 GB 150.6 t/s
Radeon PRO W7900
AMD
48 GB Runs great Q8_0 21.47 GB 150.2 t/s
Apple M4 Max 36GB
Apple
36 GB Runs great Q8_0 21.17 GB 102.8 t/s
Apple M4 Max 48GB
Apple
48 GB Runs great Q8_0 21.17 GB 102.8 t/s
Apple M4 Max 64GB
Apple
64 GB Runs great Q8_0 21.17 GB 102.8 t/s
Apple M4 Max 128GB
Apple
128 GB Runs great Q8_0 21.17 GB 102.8 t/s
Apple M1 Max 32GB
Apple
32 GB Runs great Q8_0 21.17 GB 75.3 t/s
Apple M1 Max 64GB
Apple
64 GB Runs great Q8_0 21.17 GB 75.3 t/s
Apple M2 Max 32GB
Apple
32 GB Runs great Q8_0 21.17 GB 75.3 t/s
Apple M2 Max 64GB
Apple
64 GB Runs great Q8_0 21.17 GB 75.3 t/s
Apple M2 Max 96GB
Apple
96 GB Runs great Q8_0 21.17 GB 75.3 t/s
Apple M3 Max 36GB
Apple
36 GB Runs great Q8_0 21.17 GB 75.3 t/s
Apple M3 Max 48GB
Apple
48 GB Runs great Q8_0 21.17 GB 75.3 t/s
Apple M3 Max 64GB
Apple
64 GB Runs great Q8_0 21.17 GB 75.3 t/s
Apple M3 Max 96GB
Apple
96 GB Runs great Q8_0 21.17 GB 75.3 t/s
Apple M3 Max 128GB
Apple
128 GB Runs great Q8_0 21.17 GB 75.3 t/s
NVIDIA DGX Spark 128GB
NVIDIA
128 GB Runs great Q8_0 21.47 GB 54 t/s
Apple M4 Pro 48GB
Apple
48 GB Runs great Q8_0 21.17 GB 51.4 t/s
Apple M4 Pro 64GB
Apple
64 GB Runs great Q8_0 21.17 GB 51.4 t/s
Jetson AGX Orin 32GB
NVIDIA
32 GB Just fits Q8_0 21.47 GB 40.5 t/s
Jetson AGX Orin 64GB
NVIDIA
64 GB Runs great Q8_0 21.47 GB 40.5 t/s
Ryzen AI Max+ 395 32GB
AMD
32 GB Just fits Q8_0 21.47 GB 40.2 t/s
Ryzen AI Max+ 395 64GB
AMD
64 GB Runs great Q8_0 21.47 GB 40.2 t/s
Ryzen AI Max+ 395 96GB
AMD
96 GB Runs great Q8_0 21.47 GB 40.2 t/s
Ryzen AI Max+ 395 128GB
AMD
128 GB Runs great Q8_0 21.47 GB 40.2 t/s
Apple M1 Pro 32GB
Apple
32 GB Runs great Q8_0 21.17 GB 37.7 t/s
Apple M2 Pro 32GB
Apple
32 GB Runs great Q8_0 21.17 GB 37.7 t/s
Apple M5 32GB
Apple
32 GB Runs great Q8_0 21.17 GB 28.8 t/s
Apple M3 Pro 36GB
Apple
36 GB Runs great Q8_0 21.17 GB 28.2 t/s
Apple M4 32GB
Apple
32 GB Runs well Q8_0 21.17 GB 22.6 t/s
Intel Core Ultra 9 288V 32GB
Intel
32 GB Just fits Q8_0 21.47 GB 21.3 t/s
Ryzen AI 9 HX 370 32GB
AMD
32 GB Just fits Q8_0 21.47 GB 20.1 t/s
Radeon RX 7900 XT
AMD
20 GB Runs great Q6_K 16.75 GB 180.1 t/s
Apple M4 Pro 24GB
Apple
24 GB Just fits Q6_K 16.45 GB 66.6 t/s
Apple M5 24GB
Apple
24 GB Just fits Q6_K 16.45 GB 37.3 t/s
Apple M4 24GB
Apple
24 GB Just fits Q6_K 16.45 GB 29.3 t/s
Ryzen AI 9 HX 370 24GB
AMD
24 GB Just fits Q6_K 16.75 GB 26 t/s
Apple M2 24GB
Apple
24 GB Just fits Q6_K 16.45 GB 24.4 t/s
Apple M3 24GB
Apple
24 GB Just fits Q6_K 16.45 GB 24.4 t/s
GeForce RTX 5080
NVIDIA
16 GB Just fits Q5_K_M 14.63 GB 283.7 t/s
GeForce RTX 5070 Ti
NVIDIA
16 GB Just fits Q5_K_M 14.63 GB 264.8 t/s
GeForce RTX 5080 Laptop
NVIDIA
16 GB Just fits Q5_K_M 14.63 GB 227 t/s
GeForce RTX 4080 SUPER
NVIDIA
16 GB Just fits Q5_K_M 14.63 GB 217.5 t/s

What to buy to run GPT OSS 20B

The cheapest hardware that runs it at a quantisation worth using and a speed you would not resent, at an 8k context window.

DevicePriceMemoryRuns it atSpeed
GeForce RTX 2060 12GB
NVIDIA
$160 used 12 GB IQ4_XS 132.8 t/s Check price
GeForce RTX 3060 12GB
NVIDIA
$200 used 12 GB IQ4_XS 142.3 t/s Check price
Arc B580
Intel
$260 12 GB IQ4_XS 142.9 t/s Check price
Arc A770 16GB
Intel
$280 used 16 GB Q5_K_M 131.2 t/s Check price
GeForce RTX 3080 12GB
NVIDIA
$400 used 12 GB IQ4_XS 360.6 t/s Check price
Radeon RX 7900 XT
AMD
$650 20 GB Q6_K 180.1 t/s Check price
GeForce RTX 3090
NVIDIA
$700 used 24 GB Q8_0 185.3 t/s Check price
Apple M4 32GB
Apple · whole machine
$999 32 GB Q8_0 22.6 t/s Check price

Indicative prices reviewed 2026-09-01; used prices are marketplace typical. Options that cost more than a cheaper one with no more memory and no more speed are hidden. Price links are Amazon affiliate links. Change the standard, the context window or the budget in the buying tool.

These numbers also cover

Fine-tunes share their base model's architecture, so they need exactly the same memory. If you are looking for one of these, the figures above apply unchanged.

  • unsloth/gpt-oss-20b-BF16

Where it sits in the catalogue

Source: openai/gpt-oss-20b on Hugging Face. Downloaded 6.5M times in the last month. Published 2025-08-04. Architecture figures are read from the repository's own configuration file, so they move when the model does.