whatmodel.sh / gpt-oss-20b
gpt-oss-20b
↗ share
+ contribute
gpt-oss-20b is an open-weights language model from OpenAI, released August 2025. Its published size is 21B parameters (3.6B active per token) and a 131k-token context window. Licence: apache-2.0.
$ how it compares
The LLMs ranked either side of gpt-oss-20b, out of 828 with a score, then more from OpenAI.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 255 | 59±2 | comparison only | |||
| 256 | 59±1 | comparison only | |||
| 257 | 58±1 | api $0.13/M +local | |||
| 258 | 58±2 | local | |||
| 259 | 58±1 | local | |||
| more from OpenAI | |||||
| 1 | 87±1 | api $20.00/M | |||
| 3 | 85±1 | api $4.00/M | |||
| 7 | 83±1 | api $4.00/M | |||
$ what it's good at
agent tasks▁▁▃▆█▆▅▅▅▄▃▁ #202 of 300 · 11% of its score · 10 tests
Beats o1 (2024-12-17), o3-mini, DeepSeek R1 (Jan '25) here, though they rank higher overall. Trails SmolLM3 3B, Jamba 1.5 Mini, Mellum2 12B-A2.5B Instruct here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BrowserGym WorkArena-L1 (AgentLab GenericAgent) | 38.5% ✎ | █···█▄▄·▄█·█ beats 2/10 | 1.7% |
| SWE-bench Verified lab | 60.7% ✎ | ▁▁▁▁▁▁▂▄█▆▁▁ beats 56/131 | 1.6% |
| Terminal-Bench 2.0 with Terminus 2 agent (benchmark authors' runs) | 3.1% ✎ | ▃··▃·▃▃██▅▃▅ beats 0/14 | 1.5% |
| Terminal-Bench Hard | 9.0% ✎ | ▂▅▆▂▂▆▂▂█▅▅▂ beats 12/27 | 1.4% |
| τ-bench Retail lab | 54.8% ✎ | ▁····▃·▂▇█▂▆ beats 6/28 | 1.3% |
| BrowserGym WorkArena-L2 (AgentLab GenericAgent) | 2.6% ✎ | ▃▅▃·▅▃▃··█·▃ beats 2/11 | 1.2% |
| BrowserGym MiniWoB (AgentLab GenericAgent) | 64.0% ✎ | ▅····▅▅▃▃·▃█ beats 3/11 | 1.0% |
| τ-bench Airline lab | 38.0% ✎ | ▁▁▁·▅▄▁█▇▁▁▇ beats 8/28 | 0.9% |
2 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Humanity's Last Exam with tools lab | 17.3% ✎ | ▃▂▂▁▄▂▃▆█▇▂▆ beats 2/54 | 0.7% |
| T1-Bench multi-domain conversational agent pass^3 | 8.6% ✎ | ▂▃··▂·▂·▂▂█▄ beats 1/11 | 0.0% |
coding▁▁▁▃▆██▇▆▄▃▁ #167 of 458 · 12% of its score · 6 tests
Beats Qwen3-Coder-Next (80B-A3B), Qwen3-VL 235B-A22B Instruct, Qwen3-Next 80B-A3B Instruct here, though they rank higher overall. Trails QwQ-32B-Preview, Ministral 3 8B Reasoning 2512, Phi-4-reasoning 14B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Aider polyglot (225 exercises, two attempts) lab | 34.2% ✎ | ▂▁▁▃▆▃▄▆█▃▄▂ beats 29/71 | 3.9% |
| Luau Leetcode fully solved (Torpedo Software) | 52.4% ✎ | ▁▁▁▁·▁▃▃▅▃█▇ beats 10/49 | 2.2% |
| LiveCodeBench v6 (window unspecified) | 72.0% ✎ | █·▄·▄····▄·▄ beats 5/5 | 2.0% |
| SWE-bench Verified lab | 60.7% ✎ | ▁▁▁▁▁▁▂▄█▆▁▁ beats 56/131 | 1.6% |
| LiveCodeBench v6 (Feb–May 2025) | 63.8% ✎ | ▁▁▃▁█▅▄▇▅▅▃█ beats 15/38 | 1.4% |
| SciCode main problems | 6.2% ✎ | ▄··▄····█▄·▄ beats 2/5 | 0.5% |
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #198 of 393 * · 3.4% of its score · 2 tests
Beats Granite 4.2 8B, Qwen3-VL 30B-A3B Thinking, Mistral Small 4 (119B-A6.5B) here, though they rank higher overall. Trails LFM2.5 1.2B Instruct, LFM2.5 1.2B Thinking, Gemma 3 12B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 1317.6 ✎ | ▁▁▁▂▃▃▃▆▆▇█▃ beats 149/379 | 2.8% |
| IFEval (aggregation unspecified) | 92.8% ✎ | ▁▁▃▁▂▄▄▆█▃▃▁ beats 129/141 | 0.6% |
math▁▂▃▅▆▅▄█▄▁▁▁ #137 of 398 · 23% of its score · 5 tests
Beats Claude Sonnet 4.6, MiniMax-M3, MiMo-V2.5 (310B-A15B) here, though they rank higher overall. Trails Olmo 3 32B Think, Olmo 3.1 32B Think here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| AIME 2024 +2 | 83.3% ✎ | █▄···█·····▄ beats 3/5 | 8.1% |
| AIME 2025 +2 | 84.4% ✎ | ▄·█··▄····▄▄ beats 5/5 | 7.3% |
| HMMT 2025 (edition unspecified) | 64.8% ✎ | ▄··▄▄·▄····█ beats 4/5 | 3.6% |
| OTIS mock AIME 2024–2025 | 50.8% ✎ | ▃▃▄▃▃▃▇▇█▃▂▅ beats 77/193 | 2.6% |
| MATH-500 | 94.8% ✎ | ▄·▄·····█··█ beats 0/5 | 1.5% |
web search█··········█ #2 of 2 * · 0.7% of its score · 1 test
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Humanity's Last Exam with tools lab | 17.3% ✎ | ▃▂▂▁▄▂▃▆█▇▂▆ beats 2/54 | 0.7% |
other tests29 not in a task · 52% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| GPQA Diamond +3 | 46.0% ✎ | ▁▁▁▁▂▄▆▄▅▇█▅ beats 52/208 | 15% |
| Humanity's Last Exam +2 | 9.8% ✎ | █··██···█·██ beats 4/5 | 4.4% |
| Medmarks-V mean win rate (19 verifiable medical benchmarks, 71 configurations) | 0.5198 ✎ | ▁▄▃▃▇▄█▃▅▁▁▁ beats 21/30 | 4.3% |
| MMLU-Pro +1 | 75.6% ✎ | █··█··███··█ beats 4/5 | 3.6% |
| MMLU +1 | 81.7% ✎ | ▁▁▁▁▁▂▃▅█▃▆▃ beats 158/183 | 3.5% |
| MMMLU +1 | 77.4% ✎ | ▂▁▁▂▃▂▄▄▅██▃ beats 25/46 | 2.4% |
| Medmarks-V weighted mean win rate (61 models, 71 configurations) | 53.6% ✎ | ▂▃▅▂▆▃█▅█▅▃▆ beats 21/34 | 2.1% |
| EQ-Bench 3 (emotional intelligence, judge Elo) | 1111.5 ✎ | ▁·▂▁▄▅▅▃█▄▁▁ beats 14/62 | 1.7% |
21 more tests
$ where to run it
Through an API
api · Groq · $0.13/M · $0.075 in / $0.3 out per 1M tokens · 131k context · console.groq.com ↗ · price sourceStandard base token rate from models.dev. Provider-specific tiers, long-context surcharges, caching and promotions may differ.
llama.cpp · recommended
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run gpt-oss-20b · needs ~11.6 GB · from huggingface.co/unslothchat in the terminal
llama cli -hf unsloth/gpt-oss-20b-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf unsloth/gpt-oss-20b-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run gpt-oss-20b · needs ~11.6 GB · from huggingface.co/unsloth
- Or download it in the terminal
lms get https://huggingface.co/unsloth/gpt-oss-20b-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run gpt-oss-20b · needs ~13.1 GB · from ollama.comchat in the terminal
ollama run gpt-oss:20b
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run gpt-oss-20b · needs ~11.8 GB, Mac only · from huggingface.co/InferenceIllusionistchat in the terminal
mlx_lm.chat --model InferenceIllusionist/gpt-oss-20b-MLX-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model InferenceIllusionist/gpt-oss-20b-MLX-4bit
Official weights and documentation: huggingface.co/openai ↗
$ how the score was worked out · Falcon-H1R: Pushing the Reaso… 23%, ByteDance-Seed/Seed-OSS-36B-I… 20%, OpenAI — gpt-oss-120b & gpt-o… 20% and 18 more
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
$ published speed measurements · 11
Reference results for the hardware, engine and settings below. They aren't verified speeds of the downloads above or predictions for your machine.
| NVIDIA DGX Spark (GB10) | MXFP4 | 83.43 tok/s | llama.cpp 11fb327bf (7941), CUDA · llama-bench; tg32; 32 generated tokens; context depth 0; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| NVIDIA DGX Spark (GB10) | MXFP4 | 79.22 tok/s | llama.cpp 11fb327bf (7941), CUDA · llama-bench; tg32 @ d4096; 32 generated tokens; context depth 4096; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| NVIDIA DGX Spark (GB10) | MXFP4 | 61.65 tok/s | llama.cpp 11fb327bf (7941), CUDA · llama-bench; tg32 @ d32768; 32 generated tokens; context depth 32768; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| Apple M2 Ultra (GPU core count and RAM not specified) | MXFP4 | 129.97 tok/s | llama.cpp b828e18c7 (7948), Metal/BLAS · llama-bench; tg32; 32 generated tokens; context depth 0; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| Apple M2 Ultra (GPU core count and RAM not specified) | MXFP4 | 123.38 tok/s | llama.cpp b828e18c7 (7948), Metal/BLAS · llama-bench; tg32 @ d4096; 32 generated tokens; context depth 4096; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| Apple M2 Ultra (GPU core count and RAM not specified) | MXFP4 | 98.25 tok/s | llama.cpp b828e18c7 (7948), Metal/BLAS · llama-bench; tg32 @ d32768; 32 generated tokens; context depth 32768; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| NVIDIA DGX Spark (GB10) | MXFP4 | 75.22 tok/s | llama.cpp 11fb327bf (7941), CUDA · llama-bench; tg32 @ d8192; 32 generated tokens; context depth 8192; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| NVIDIA DGX Spark (GB10) | MXFP4 | 70.36 tok/s | llama.cpp 11fb327bf (7941), CUDA · llama-bench; tg32 @ d16384; 32 generated tokens; context depth 16384; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| Apple M2 Ultra (GPU core count and RAM not specified) | MXFP4 | 117.39 tok/s | llama.cpp b828e18c7 (7948), Metal/BLAS · llama-bench; tg32 @ d8192; 32 generated tokens; context depth 8192; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| Apple M2 Ultra (GPU core count and RAM not specified) | MXFP4 | 109.75 tok/s | llama.cpp b828e18c7 (7948), Metal/BLAS · llama-bench; tg32 @ d16384; 32 generated tokens; context depth 16384; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| AMD Ryzen AI Max+ 395 (Strix Halo), Radeon 8060S; pre-production Framework Desktop 128GB LPDDR5x-8000 | MXFP4 (summary-table label 'OpenAI gpt-oss 20B MXFP4'; result folder/file named gpt-oss-20b-F16) | 47.36 tok/s | llama.cpp 6c7e9a544 (commit from system_info.json), backend hip · llama-bench tg128 (128 generated tokens, empty context); backend variant 'llama.cpp-hip'; flags: defaults; mmap disabled per the guide; value = bold best tg128 in this model's Benchmark Results table Author's own sweep; README value 47.357 rounded to 2 decimals. Kernel 6.16.0-1-mainline; system_info timestamp 2025-08-08T14:48:13.390941Z; CPU string 'AMD Eng Sample'. Pre-production hardware and BIOS per the README. | source ↗ |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json