ALITEQ.

What it costs to run gpt-oss 20B (MoE)

21.5B paramsMoE · 32 experts, 4 active128k max contextapache-2.0

Memory needed, by quantisation

At 16k context. Weights + KV cache + ~0.8 GB overhead.

QuantWeightsKV cacheTotalQuality
F1640.1 GB0.5 GB41.4 GBFull precision. Reference quality, twice the size of Q8 for no practical gain in most chat use.
Q8_021.3 GB0.5 GB22.6 GBEffectively lossless. Use when VRAM is not the constraint.
Q6_K16.4 GB0.5 GB17.7 GBVery close to Q8 at meaningfully less memory. A safe high-quality pick.
Q5_K_M14.2 GB0.5 GB15.5 GBSmall, hard-to-notice quality loss. Good balance.
Q5_013.9 GB0.5 GB15.2 GBOlder-style 5-bit. Q5_K_M is usually the better pick at the same size.
Q4_K_M12.1 GB0.5 GB13.5 GBThe community default. Best quality-per-gigabyte for most people.
Q4_011.4 GB0.5 GB12.7 GBOlder-style 4-bit, measurably worse than Q4_K_M at a similar size. Avoid unless required.
IQ4_XS10.6 GB0.5 GB12.0 GBNewer 4-bit, smaller than Q4_K_M with comparable quality. Needs a recent llama.cpp.
Q3_K_M9.8 GB0.5 GB11.1 GBNoticeable degradation. Use to fit a larger model that would otherwise not run.
Q2_K8.4 GB0.5 GB9.7 GBHeavy degradation. Almost always better to run a smaller model at Q4_K_M instead.
IQ3_XS8.3 GB0.5 GB9.6 GBAggressive. Usually better than a smaller model at Q4, but test before trusting it.

Cards that can run it

Best quantisation each card fits at 16k context, with live rental price where we track one.

GPUVRAMBest fitUses~tok/sRent from
Apple M3 Ultra512 GBF1641 GB~72
Apple M2 Ultra192 GBF1641 GB~72
Apple M4 Max (16-core CPU / 40-core GPU)128 GBF1641 GB~48
AMD Ryzen AI Max+ 395 (Strix Halo, 128 GB)128 GBF1641 GB~23
NVIDIA DGX Spark (GB10 Grace Blackwell)128 GBF1641 GB~24
NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition96 GBF1641 GB~158$1.690/hr
NVIDIA RTX PRO 6000 Blackwell Workstation Edition96 GBF1641 GB~158
Apple M2 Max96 GBF1641 GB~35
Apple M4 Pro64 GBF1641 GB~24
NVIDIA RTX 6000 Ada Generation48 GBF1641 GB~85$0.428/hr
NVIDIA RTX A600048 GBF1641 GB~68$0.330/hr
AMD Radeon PRO W790048 GBF1641 GB~76
Apple M4 Max (14-core CPU / 32-core GPU)36 GBQ8_023 GB~68
NVIDIA RTX 5000 Ada Generation32 GBQ8_023 GB~95$0.490/hr
NVIDIA GeForce RTX 509032 GBQ8_023 GB~297$0.058/hr
NVIDIA RTX A500024 GBQ8_0tight23 GB~127$0.160/hr
NVIDIA GeForce RTX 409024 GBQ8_0tight23 GB~167$0.136/hr
NVIDIA GeForce RTX 3090 Ti24 GBQ8_0tight23 GB~167$0.116/hr
AMD Radeon RX 7900 XTX24 GBQ8_0tight23 GB~159
NVIDIA GeForce RTX 309024 GBQ8_0tight23 GB~155
AMD Radeon RX 7900 XT20 GBQ6_K18 GB~172
NVIDIA GeForce RTX 508016 GBQ5_K_Mtight16 GB~238$0.190/hr
NVIDIA RTX A400016 GBQ5_K_Mtight16 GB~111$0.170/hr
NVIDIA GeForce RTX 5060 Ti 16GB16 GBQ5_K_Mtight16 GB~111$0.083/hr
NVIDIA GeForce RTX 5070 Ti16 GBQ5_K_Mtight16 GB~222$0.096/hr
NVIDIA GeForce RTX 4080 SUPER16 GBQ5_K_Mtight16 GB~183$0.134/hr
NVIDIA GeForce RTX 408016 GBQ5_K_Mtight16 GB~178
NVIDIA GeForce RTX 4070 Ti SUPER16 GBQ5_K_Mtight16 GB~167$0.190/hr
NVIDIA GeForce RTX 4060 Ti 16GB16 GBQ5_K_Mtight16 GB~71
NVIDIA GeForce RTX 4070 SUPER12 GBIQ4_XStight12 GB~167$0.082/hr
NVIDIA GeForce RTX 407012 GBIQ4_XStight12 GB~167$0.094/hr
NVIDIA GeForce RTX 4070 Ti12 GBIQ4_XStight12 GB~167
NVIDIA GeForce RTX 507012 GBIQ4_XStight12 GB~223
NVIDIA GeForce RTX 3080 Ti12 GBIQ4_XStight12 GB~302$0.062/hr
NVIDIA GeForce RTX 3080 12GB12 GBIQ4_XStight12 GB~302$0.062/hr
NVIDIA GeForce RTX 3060 12GB12 GBIQ4_XStight12 GB~119
NVIDIA GeForce RTX 3080 10GB10 GBQ2_Ktight10 GB~320

How these numbers are produced

  • Model shape comes from the model's own config.json — 24 layers, 64 attention heads, 8 KV heads.
  • Weight size is parameters × effective bits-per-weight. Those constants are checked against real published quantised file sizes — median error 0.7% across 40 measurements.
  • KV cache is 2 × layers × KV-heads × head-dim × context × 2 bytes. Using KV-heads rather than attention heads is what makes this correct for grouped-query attention; treating a GQA model as multi-head overstates the cache by up to 8×.
  • Tokens/sec is an estimate, not a benchmark. Generation is memory-bandwidth-bound, so this is bandwidth ÷ weight-bytes derated to 75%. Real throughput depends on your runtime, batch size and kernels. We don't run our own hardware tests — see our editorial policy.
  • This is a mixture-of-experts model. Generation reads only the experts active for each token (4 of 32), so throughput is scored on ~4.3B active parameters, not the full 22B. Memory is the opposite: every expert must still be resident in VRAM, so the figures above use the full weight set.Derived from architecture; runs ~15% above the vendor-published active count for this family (distinct GptOssForCausalLM architecture). Treat derived tok/s as optimistic.
  • Rental prices are pulled hourly from provider APIs (last updated Tue, 21 Jul 2026 15:20:05 GMT). Spot/interruptible pricing can change or vanish without notice.

Other models