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 13 GB at 32k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Germany that runs gpt-oss 20B fully in memory at 32k context is the NVIDIA Tesla P40, 389 € at eBay, at about 40 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 32k context, about 40 tok/sest.

389 €

In stock, checked

What to run it on in Germany

Fully in memory at 32k 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 P40MXFP4fits40 tok/s389 €102.3
NVIDIA GeForce RTX 4060 Ti 16GBMXFP4fits33 tok/s625 €53.0
Intel Arc Pro B50MXFP4fits19 tok/s648 €29.3
AMD Radeon RX 9060 XT 16GBMXFP4fits33 tok/s650 €50.2
Intel Arc A770 16GBMXFP4fits48 tok/s787 €60.5
NVIDIA GeForce RTX 5060 Ti 16GBMXFP4fits52 tok/s799 €64.5
AMD Radeon RX 9070MXFP4fits65 tok/s807 €80.9
AMD Radeon RX 7600 XTMXFP4fits29 tok/s833 €35.3
NVIDIA RTX PRO 2000 BlackwellMXFP4fits33 tok/s880 €37.6
AMD Radeon RX 9070 XTMXFP4fits65 tok/s903 €72.3
AMD Radeon RX 7900 XTMXFP4fits82 tok/s999 €81.7
AMD Radeon RX 7800 XTMXFP4fits64 tok/s1.069 €59.5
Intel Arc Pro B60MXFP4fits39 tok/s1.184 €32.7
Mac mini M4 32GBMXFP4fits15 tok/s1.330 €10.9
NVIDIA GeForce RTX 5070 TiMXFP4fits103 tok/s1.389 €74.2
NVIDIA GeForce RTX 4070 Ti SuperMXFP4fits77 tok/s1.500 €51.5
AMD Radeon RX 7900 XTXMXFP4fits98 tok/s1.555 €63.0
Intel Arc Pro B70MXFP4fits52 tok/s1.749 €29.6
NVIDIA GeForce RTX 5080MXFP4fits110 tok/s1.889 €58.4
AMD Radeon AI PRO R9700MXFP4fits65 tok/s2.300 €28.4
Mac mini M4 Pro 48GBMXFP4fits33 tok/s2.549 €12.9
NVIDIA GeForce RTX 3090MXFP4fits108 tok/s2.790 €38.6
Mac mini M4 Pro 64GBMXFP4fits33 tok/s2.934 €11.2
NVIDIA GeForce RTX 4080 SuperMXFP4fits85 tok/s3.263 €25.9
NVIDIA RTX PRO 4000 BlackwellMXFP4fits77 tok/s3.339 €23.1
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBMXFP4fits26 tok/s3.850 €6.8
NVIDIA GeForce RTX 3090 TiMXFP4fits116 tok/s4.284 €27.1
Mac Studio M4 Max 64GBMXFP4fits66 tok/s4.299 €15.3
NVIDIA GeForce RTX 4090MXFP4fits116 tok/s4.790 €24.2
NVIDIA RTX PRO 4500 BlackwellMXFP4fits103 tok/s4.878 €21.1
Mac Studio M4 Max 128GBMXFP4fits66 tok/s5.499 €12.0
Mac Studio M3 Ultra 96GBMXFP4fits99 tok/s5.999 €16.5
NVIDIA GeForce RTX 5090MXFP4fits206 tok/s6.888 €29.9
ASUS Ascent GX10 128GBMXFP4fits31 tok/s7.306 €4.3
Dell Pro Max with GB10 128GBMXFP4fits31 tok/s8.063 €3.9
NVIDIA RTX PRO 5000 Blackwell 48GBMXFP4fits155 tok/s8.866 €17.4
NVIDIA DGX Spark 128GBMXFP4fits31 tok/s9.091 €3.5
Mac Studio M3 Ultra 256GBMXFP4fits99 tok/s15.555 €6.3
Mac Studio M3 Ultra 512GBMXFP4fits99 tok/s17.995 €5.5
NVIDIA RTX PRO 6000 BlackwellMXFP4fits206 tok/s18.327 €11.2
Framework Desktop Ryzen AI Max+ 395 128GBMXFP4fits26 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBMXFP4fits26 tok/s––
NVIDIA RTX PRO 4000 Blackwell SFF EditionMXFP4fits50 tok/s––
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBMXFP4fits26 tok/s––
NVIDIA RTX 6000 Ada GenerationMXFP4fits110 tok/s––
NVIDIA RTX A6000MXFP4fits88 tok/s––
Lenovo ThinkStation PGX GB10 128GBMXFP4fits31 tok/s––
NVIDIA RTX PRO 5000 Blackwell 72GBMXFP4fits155 tok/s––
AMD Radeon PRO W7900MXFP4fits88 tok/s––
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBMXFP4fits26 tok/s––
Intel Arc B570Q4_K_Moffload19 tok/s282 €68.1
NVIDIA GeForce RTX 3060 12GBQ4_K_Moffload33 tok/s415 €79.8
NVIDIA GeForce RTX 5050Q4_K_Moffload17 tok/s428 €40.7
NVIDIA GeForce RTX 5060Q4_K_Moffload19 tok/s469 €40.1
Intel Arc B580Q4_K_Moffload29 tok/s498 €58.1
NVIDIA GeForce RTX 3080 10GBQ4_K_Moffload30 tok/s518 €57.0
NVIDIA GeForce RTX 5060 Ti 8GBQ4_K_Moffload19 tok/s520 €36.2
NVIDIA GeForce RTX 4060Q4_K_Moffload17 tok/s556 €30.0
NVIDIA GeForce RTX 4070 SuperQ4_K_Moffload41 tok/s700 €59.1
NVIDIA GeForce RTX 4070Q4_K_Moffload41 tok/s843 €49.1
NVIDIA GeForce RTX 5070Q4_K_Moffload49 tok/s877 €56.0
NVIDIA GeForce RTX 4060 Ti 8GBQ4_K_Moffload17 tok/s878 €19.3

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 13 GB at 32k, 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 32k context is the NVIDIA Tesla P40, 389 € at eBay, at about 40 tok/s (estimated). The fastest we price is the NVIDIA GeForce RTX 5090, at about 206 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 32k context, at about 40 tok/s (estimated).
Can I run gpt-oss 20B on a 16 GB GPU?
Yes: at MXFP4 it fits fully in 16 GB at 32k context. On the NVIDIA GeForce RTX 5080 it runs at about 110 tok/s (estimated).
Can I run gpt-oss 20B on a 24 GB GPU?
Yes: at MXFP4 it fits fully in 24 GB at 32k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 116 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