gpt-oss 20B

20.9B total, 4.2B active · 128k context · apache-2.0 · released 2025-08-04

chatcodingagenticreasoning

In short

gpt-oss 20B is an open model from OpenAI with 20.9B parameters (4.2B active per token). At MXFP4, gpt-oss 20B needs about 12 GB of memory at 8k context and 16 GB at 128k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Germany that runs gpt-oss 20B fully in memory at 128k context is the NVIDIA Tesla P40, 389 € at eBay, at about 23 tok/s (estimated).

Updated . Speeds are estimates; how they are worked out.

Cheapest way to run it in Germany today

NVIDIA Tesla P40, used at eBay

Runs gpt-oss 20B at MXFP4 fully in memory at 128k context, about 23 tok/sest.

389 €

In stock, checked

What to run it on in Germany

Fully in memory at 128k context, priced at retailers today.

All hardware that runs it

Everything we price, best value first. Two cards split the model by layers.

HardwareQuantFitsDecodePricetok/s per 1,000
NVIDIA Tesla P40MXFP4fits23 tok/s389 €58.6
NVIDIA GeForce RTX 4060 Ti 16GBQ4_K_Mfits19 tok/s625 €30.9
NVIDIA GeForce RTX 5060 Ti 16GBQ4_K_Mfits30 tok/s799 €37.5
NVIDIA RTX PRO 2000 BlackwellQ4_K_Mfits19 tok/s880 €21.9
AMD Radeon RX 7900 XTMXFP4fits47 tok/s999 €46.7
Intel Arc Pro B60MXFP4fits22 tok/s1.184 €18.7
Mac mini M4 32GBMXFP4fits8 tok/s1.330 €6.2
NVIDIA GeForce RTX 5070 TiQ4_K_Mfits60 tok/s1.389 €43.2
NVIDIA GeForce RTX 4070 Ti SuperQ4_K_Mfits45 tok/s1.500 €30.0
AMD Radeon RX 7900 XTXMXFP4fits56 tok/s1.555 €36.0
Intel Arc Pro B70MXFP4fits30 tok/s1.749 €16.9
NVIDIA GeForce RTX 5080Q4_K_Mfits64 tok/s1.889 €34.0
AMD Radeon AI PRO R9700MXFP4fits37 tok/s2.300 €16.3
Mac mini M4 Pro 48GBMXFP4fits19 tok/s2.549 €7.4
NVIDIA GeForce RTX 3090MXFP4fits62 tok/s2.790 €22.1
Mac mini M4 Pro 64GBMXFP4fits19 tok/s2.934 €6.4
NVIDIA GeForce RTX 4080 SuperQ4_K_Mfits49 tok/s3.263 €15.1
NVIDIA RTX PRO 4000 BlackwellMXFP4fits44 tok/s3.339 €13.2
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBMXFP4fits15 tok/s3.850 €3.9
NVIDIA GeForce RTX 3090 TiMXFP4fits66 tok/s4.284 €15.5
Mac Studio M4 Max 64GBMXFP4fits38 tok/s4.299 €8.8
NVIDIA GeForce RTX 4090MXFP4fits66 tok/s4.790 €13.8
NVIDIA RTX PRO 4500 BlackwellMXFP4fits59 tok/s4.878 €12.1
Mac Studio M4 Max 128GBMXFP4fits38 tok/s5.499 €6.9
Mac Studio M3 Ultra 96GBMXFP4fits57 tok/s5.999 €9.4
NVIDIA GeForce RTX 5090MXFP4fits118 tok/s6.888 €17.1
ASUS Ascent GX10 128GBMXFP4fits18 tok/s7.306 €2.5
Dell Pro Max with GB10 128GBMXFP4fits18 tok/s8.063 €2.2
NVIDIA RTX PRO 5000 Blackwell 48GBMXFP4fits89 tok/s8.866 €10.0
NVIDIA DGX Spark 128GBMXFP4fits18 tok/s9.091 €2.0
Mac Studio M3 Ultra 256GBMXFP4fits57 tok/s15.555 €3.6
Mac Studio M3 Ultra 512GBMXFP4fits57 tok/s17.995 €3.1
NVIDIA RTX PRO 6000 BlackwellMXFP4fits118 tok/s18.327 €6.4
Framework Desktop Ryzen AI Max+ 395 128GBMXFP4fits15 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBMXFP4fits15 tok/s––
NVIDIA RTX PRO 4000 Blackwell SFF EditionMXFP4fits28 tok/s––
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBMXFP4fits15 tok/s––
NVIDIA RTX 6000 Ada GenerationMXFP4fits63 tok/s––
NVIDIA RTX A6000MXFP4fits51 tok/s––
Lenovo ThinkStation PGX GB10 128GBMXFP4fits18 tok/s––
NVIDIA RTX PRO 5000 Blackwell 72GBMXFP4fits89 tok/s––
AMD Radeon PRO W7900MXFP4fits50 tok/s––
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBMXFP4fits15 tok/s––
Intel Arc B570Q4_K_Moffload9 tok/s282 €31.2
NVIDIA GeForce RTX 3060 12GBQ4_K_Moffload13 tok/s415 €30.8
NVIDIA GeForce RTX 5050Q4_K_Moffload9 tok/s428 €19.9
NVIDIA GeForce RTX 5060Q4_K_Moffload9 tok/s469 €19.0
Intel Arc B580Q4_K_Moffload11 tok/s498 €22.9
NVIDIA GeForce RTX 3080 10GBQ4_K_Moffload12 tok/s518 €22.8
NVIDIA GeForce RTX 5060 Ti 8GBQ4_K_Moffload9 tok/s520 €17.1
NVIDIA GeForce RTX 4060Q4_K_Moffload8 tok/s556 €14.7
Intel Arc Pro B50Q4_K_Moffload11 tok/s648 €16.8
AMD Radeon RX 9060 XT 16GBQ4_K_Moffload19 tok/s650 €28.5
NVIDIA GeForce RTX 4070 SuperQ4_K_Moffload14 tok/s700 €20.6
Intel Arc A770 16GBQ4_K_Moffload26 tok/s787 €33.4
AMD Radeon RX 9070Q4_K_Moffload36 tok/s807 €44.0
AMD Radeon RX 7600 XTQ4_K_Moffload17 tok/s833 €20.0
NVIDIA GeForce RTX 4070Q4_K_Moffload14 tok/s843 €17.1
NVIDIA GeForce RTX 5070Q4_K_Moffload16 tok/s877 €17.8
NVIDIA GeForce RTX 4060 Ti 8GBQ4_K_Moffload8 tok/s878 €9.5
AMD Radeon RX 9070 XTQ4_K_Moffload36 tok/s903 €39.3
AMD Radeon RX 7800 XTQ4_K_Moffload35 tok/s1.069 €32.4

1 other card or machine we price cannot hold it at this context.

Memory needed

Weights, KV cache and runtime buffers at each context length (KV cache at fp16).

QuantFile@8k@32k@64k@128k
MXFP4gguf11.3 GB12.2 GB12.9 GB13.9 GB15.7 GB
mlx-4bitmlx10.8 GB11.8 GB12.5 GB13.4 GB15.3 GB
Q4_K_Mgguf10.8 GB11.8 GB12.5 GB13.4 GB15.3 GB

Run it

Copy a command for the runtime you use.

  • MXFP4
    • Ollamaollama run hf.co/ggml-org/gpt-oss-20b-GGUF:MXFP4
    • LM Studiolms get ggml-org/gpt-oss-20b-GGUF@mxfp4
    • llama.cppllama-server -hf ggml-org/gpt-oss-20b-GGUF:MXFP4
  • mlx-4bit
    • LM Studiolms get mlx-community/gpt-oss-20b-OptiQ-4bit
    • MLXmlx_lm.server --model mlx-community/gpt-oss-20b-OptiQ-4bit
  • Q4_K_M
    • Ollamaollama run hf.co/unsloth/gpt-oss-20b-GGUF:Q4_K_M
    • LM Studiolms get unsloth/gpt-oss-20b-GGUF@q4_k_m
    • llama.cppllama-server -hf unsloth/gpt-oss-20b-GGUF:Q4_K_M

Questions

How much VRAM does gpt-oss 20B need?
At MXFP4, gpt-oss 20B needs about 12 GB of memory at 8k context and 16 GB at 128k, counting the weights, the KV cache and runtime buffers.
What is the best GPU for running gpt-oss 20B locally?
The cheapest hardware in Germany that runs gpt-oss 20B fully in memory at 128k context is the NVIDIA Tesla P40, 389 € at eBay, at about 23 tok/s (estimated). The fastest we price is the NVIDIA GeForce RTX 5090, at about 118 tok/s.
What is the cheapest way to run gpt-oss 20B in Germany today?
The NVIDIA Tesla P40, 389 € used at eBay, in stock: it runs gpt-oss 20B at MXFP4 fully in memory at 128k context, at about 23 tok/s (estimated).
Can I run gpt-oss 20B on a 16 GB GPU?
Yes: at Q4_K_M it fits fully in 16 GB at 128k context. On the NVIDIA GeForce RTX 5080 it runs at about 64 tok/s (estimated).
Can I run gpt-oss 20B on a 24 GB GPU?
Yes: at MXFP4 it fits fully in 24 GB at 128k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 66 tok/s (estimated).
How do I run gpt-oss 20B locally?
With Ollama: ollama run hf.co/ggml-org/gpt-oss-20b-GGUF:MXFP4 (the MXFP4 build). LM Studio and llama.cpp commands are on this page.
What licence is gpt-oss 20B released under?
apache-2.0, which allows commercial use.

More hardware for local AI