LLMs ·

gpt-oss 20B

Parameters
21B (3.6B active)
Architecture
Mixture of experts
Max context
128K tokens
License
apache-2.0
Released
2025-08

How to run it

Quickest · Ollama

One command downloads a ready-to-run version and starts a chat.

Get Ollama at ollama.com/download (opens in a new tab) · model page (opens in a new tab)

ollama run gpt-oss:20b

Quantized files · GGUF

Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.

huggingface.co/ggml-org/gpt-oss-20b-GGUF (opens in a new tab)

ollama run hf.co/ggml-org/gpt-oss-20b-GGUF

Original weights · Hugging Face

Full-precision files from OpenAI, for fine-tuning, vLLM, Transformers.

huggingface.co/openai/gpt-oss-20b (opens in a new tab)

No sign-in needed.

Official repo · GitHub

Reference code, inference scripts and docs from OpenAI. The weights themselves download from Hugging Face.

github.com/openai/gpt-oss (opens in a new tab)

git clone https://github.com/openai/gpt-oss

Apps that run gpt-oss 20B

Our pick for each kind of computer, assuming the model fits in its memory. Pick your own GPU or device in the Model Finder for an exact answer.

Mac (Apple silicon)

LM Studio

Runs the MLX build, typically 35–90% faster than GGUF for a model with 3.6B active parameters on Apple silicon.

Also good:

Windows PC, NVIDIA GPU

Ollama

One command with Ollama’s own build of this model.

Also good:

Windows PC, AMD Radeon

Lemonade

AMD’s own app: llama.cpp tuned for Radeon on Vulkan and ROCm.

Also good:

Linux, NVIDIA GPU

Ollama

One command with Ollama’s own build of this model.

Also good:

Linux server, 80 GB+ GPUs

vLLM

The full model fits in GPU memory at 8-bit, so it can batch many requests: best for serving a team or an app.

Also good:

App Type Opens it as Systems Engine Start
LM Studio Desktop app GGUF or MLX macOSWindowsLinux llama.cpp, MLX Open in LM Studio
Ollama CLI + API Ollama library macOSWindowsLinux llama.cpp, MLX
ollama run gpt-oss:20b
llama.cpp CLI + API GGUF macOSWindowsLinux llama.cpp
llama-server -hf ggml-org/gpt-oss-20b-GGUF:Q4_K_M
Jan Desktop app GGUF or MLX macOSWindowsLinux llama.cpp, MLX Open in Jan
MLX LM CLI + API MLX macOS MLX
mlx_lm.chat --model lmstudio-community/gpt-oss-20b-MLX-8bit
vLLM Server Original weights WSLWindowsLinux vLLM
vllm serve openai/gpt-oss-20b
SGLang Server Original weights WSLWindowsLinux SGLang
python3 -m sglang.launch_server --model-path openai/gpt-oss-20b
Docker Model Runner CLI + API GGUF macOSWindowsLinux llama.cpp, vLLM
docker model run hf.co/ggml-org/gpt-oss-20b-GGUF:Q4_K_M
Lemonade Desktop app GGUF macOSWindowsLinux llama.cpp, ONNX Runtime GenAI
lemonade pull ggml-org/gpt-oss-20b-GGUF:Q4_K_M
Unsloth Desktop Desktop app GGUF or MLX macOSWindowsLinux llama.cpp, MLX, stable-diffusion.cpp Open in Unsloth Desktop
Atomic Chat Desktop app GGUF or MLX macOSWindowsLinux llama.cpp, MLX-VLM Open in Atomic Chat
Pi Coding agent GGUF or MLX macOSWindowsLinux uses llama.cpp or MLX LM Point it at a llama.cpp or MLX LM server
Hermes Agent Assistant GGUF or MLX macOSWSLWindowsLinux uses llama.cpp or MLX LM Point it at a llama.cpp or MLX LM server
OpenClaw Assistant GGUF or MLX macOSWSLWindowsLinux uses llama.cpp or MLX LM Point it at a llama.cpp or MLX LM server
OpenCode Coding agent GGUF or MLX macOSWindowsLinux uses llama.cpp, Ollama or LM Studio Point it at a llama.cpp or MLX LM server
Codex CLI Coding agent GGUF or MLX macOSWSLWindowsLinux uses Ollama or any OpenAI-compatible server Point it at a llama.cpp or MLX LM server
OpenHands Coding agent GGUF or MLX macOSWSLWindowsLinux uses llama.cpp, Ollama or LM Studio Point it at a llama.cpp or MLX LM server
Zed Coding agent GGUF or MLX macOSWindowsLinux uses llama.cpp, Ollama or LM Studio Point it at a llama.cpp or MLX LM server
Cline Coding agent GGUF or MLX macOSWindowsLinux uses llama.cpp, Ollama or LM Studio Point it at a llama.cpp or MLX LM server
Open Interpreter Coding agent GGUF or MLX macOSWindowsLinux uses llama.cpp, Ollama or LM Studio Point it at a llama.cpp or MLX LM server
Goose Coding agent GGUF or MLX macOSWindowsLinux uses llama.cpp, Ollama or LM Studio Point it at a llama.cpp or MLX LM server
Aider Coding agent GGUF or MLX macOSWindowsLinux uses llama.cpp, Ollama or LM Studio Point it at a llama.cpp or MLX LM server
Crush Coding agent GGUF or MLX macOSWindowsLinux uses llama.cpp, Ollama or LM Studio Point it at a llama.cpp or MLX LM server
Qwen Code Coding agent GGUF or MLX macOSWindowsLinux uses llama.cpp, Ollama or LM Studio Point it at a llama.cpp or MLX LM server
Kilo Code Coding agent GGUF or MLX macOSWindowsLinux uses llama.cpp, Ollama or LM Studio Point it at a llama.cpp or MLX LM server
Open WebUI Assistant GGUF or MLX macOSWindowsLinux uses llama.cpp, Ollama or LM Studio Point it at a llama.cpp or MLX LM server
Khoj Assistant GGUF or MLX macOSWindowsLinux uses llama.cpp, Ollama or LM Studio Point it at a llama.cpp or MLX LM server
Letta Assistant GGUF or MLX macOSWindowsLinux uses llama.cpp, Ollama or LM Studio Point it at a llama.cpp or MLX LM server
GhidrAssist RE plugin GGUF or MLX macOSWindowsLinux uses Ollama, LM Studio or any OpenAI-compatible server Add it to Ghidra, then point it at a local model server
ReVa RE plugin GGUF or MLX macOSWindowsLinux uses your MCP client’s model server Add it to Ghidra, then point it at a local model server
GhidraMCP RE plugin GGUF or MLX macOSWindowsLinux uses your MCP client’s model server Add it to Ghidra, then point it at a local model server
OGhidra RE plugin GGUF or MLX macOSWindowsLinux uses Ollama Add it to Ghidra, then point it at a local model server
Gepetto RE plugin GGUF or MLX macOSWindowsLinux uses Ollama or an OpenAI-compatible server Add it to IDA Pro, then point it at a local model server
IDA Pro MCP RE plugin GGUF or MLX macOSWindowsLinux uses your MCP client’s model server Add it to IDA Pro, then point it at a local model server
BinAssist RE plugin GGUF or MLX macOSWindowsLinux uses Ollama, LM Studio or any OpenAI-compatible server Add it to Binary Ninja, then point it at a local model server
r2ai and decai RE plugin GGUF or MLX macOSWindowsLinux uses Ollama, llama.cpp or LM Studio Add it to radare2, then point it at a local model server
JADX AI MCP RE plugin GGUF or MLX macOSWindowsLinux uses your MCP client’s model server Add it to JADX, then point it at a local model server
KoboldCpp Desktop app GGUF macOSWindowsLinux llama.cpp Get KoboldCpp
Text Generation WebUI Desktop app GGUF macOSWindowsLinux llama.cpp, Transformers, ExLlamaV3 Get Text Generation WebUI
llamafile CLI + API GGUF macOSWindowsLinux llama.cpp Get llamafile
Msty Studio Desktop app GGUF or MLX macOSWindowsLinux Ollama, llama.cpp, MLX Open in Msty Studio
Llama (macOS) Desktop app GGUF macOS llama.cpp Open in Llama (macOS)
RecurseChat Desktop app GGUF macOS llama.cpp Open in RecurseChat
Inferencer Desktop app MLX macOS MLX Get Inferencer
node-llama-cpp Library GGUF macOSWindowsLinux llama.cpp Get node-llama-cpp
exo Server MLX macOSLinux MLX Get exo
Continue Coding agent GGUF or MLX macOSWindowsLinux uses Ollama, LM Studio or llama.cpp Point it at a llama.cpp or MLX LM server
SillyTavern Assistant GGUF or MLX macOSWindowsLinux uses Ollama, LM Studio or llama.cpp Point it at a llama.cpp or MLX LM server
LibreChat Assistant GGUF or MLX macOSWindowsLinux uses Ollama, LM Studio or llama.cpp Point it at a llama.cpp or MLX LM server
Cherry Studio Assistant GGUF or MLX macOSWindowsLinux uses Ollama, LM Studio or llama.cpp Point it at a llama.cpp or MLX LM server
Chatbox Assistant GGUF or MLX macOSWindowsLinux uses Ollama, LM Studio or llama.cpp Point it at a llama.cpp or MLX LM server
PrivateGPT Assistant GGUF or MLX macOSWindowsLinux uses Ollama, LM Studio or llama.cpp Point it at a llama.cpp or MLX LM server
PocketPal AI Mobile app GGUF iOSAndroid llama.cpp App Store Google Play
ChatterUI Mobile app GGUF Android llama.cpp Download the APK
LLM Farm Mobile app GGUF iOS llama.cpp Not on the App Store or TestFlight for now (checked 2026-11-09).

Which apps can open a model depends on the files published for it: GGUF for llama.cpp-based apps, MLX for Apple’s engine, the original weights for vLLM and SGLang. Compare every app.

Memory needed

Weights plus KV cache and runtime overhead. Leave a little extra free for the operating system and other apps. Try another context length.

KV cache: alternating full and 128-token sliding-window layers: the KV estimate counts the full layers plus a small allowance.

Quantization Quality Weights Total at 8K context Total at 32K context Download
MXFP4 Native 11.9 GB 12.7 GB 13.4 GB GGUF (opens in a new tab) Original weights (opens in a new tab)
F16 Full 41.8 GB 42.6 GB 43.3 GB GGUF (opens in a new tab) Original weights (opens in a new tab)

Best hardware for gpt-oss 20B

The least expensive GPU in our catalog that runs it without offloading is the AMD Radeon RX 7600 XT (launch price $329) at MXFP4.

Quality Hardware Quant Memory Speed Runs
70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. Sapphire NITRO+ AMD Radeon RX 9070 XT OCAMD Radeon RX 9070 XT MXFP4 13.5 GB / 16.0 GB 120 tok/s Runs great
70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. ASUS Dual GeForce RTX 4060 Ti OC Edition 16GB GDDR6NVIDIA GeForce RTX 4060 Ti 16GB MXFP4 13.5 GB / 16.0 GB 77.6 tok/s Runs great
70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. NVIDIA GeForce RTX 4070 Ti SUPERNVIDIA GeForce RTX 4070 Ti SUPER MXFP4 13.5 GB / 16.0 GB 134 tok/s Runs great
70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. NVIDIA GeForce RTX 4080 SUPERNVIDIA GeForce RTX 4080 SUPER MXFP4 13.5 GB / 16.0 GB 141 tok/s Runs great
70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. ASUS Dual GeForce RTX 5060 Ti 16GB GDDR7 OC EditionNVIDIA GeForce RTX 5060 Ti 16GB MXFP4 13.5 GB / 16.0 GB 105 tok/s Runs great
70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. ASUS TUF Gaming GeForce RTX 5070 Ti 16GB GDDR7 OC EditionNVIDIA GeForce RTX 5070 Ti MXFP4 13.5 GB / 16.0 GB 156 tok/s Runs great
70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking. NVIDIA GeForce RTX 5080 Founders EditionNVIDIA GeForce RTX 5080 MXFP4 13.5 GB / 16.0 GB 161 tok/s Runs great
70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 85/100 (quality, fit, speed and memory use) sets the ranking. Apple MacBook Pro (14-inch, M4 Pro or M4 Max, 2024)Apple M4 Pro (24 GB) MXFP4 14.0 GB / 16.1 GB 66.6 tok/s Runs welltight fit
70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 84/100 (quality, fit, speed and memory use) sets the ranking. Sapphire NITRO+ AMD Radeon RX 7900 XTX Vapor-X 24GBAMD Radeon RX 7900 XTX MXFP4 13.9 GB / 24.0 GB 150 tok/s Runs great
70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 84/100 (quality, fit, speed and memory use) sets the ranking. ASUS ROG Strix GeForce RTX 3090 OC Edition 24GB GDDR6XNVIDIA GeForce RTX 3090 MXFP4 13.9 GB / 24.0 GB 159 tok/s Runs great

Check it on your own hardware

Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.

Was this page helpful?