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.
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of gpt-oss-20b, out of 897 with a score, then more from OpenAI.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 273 | 58±1 | local | |||
| 274 | 58±1 | local | |||
| 275 | 58±1 | api $0.13/M +local | |||
| 276 | 58±1 | api $0.0000/M +local | |||
| 277 | 58±2 | local | |||
| more from OpenAI | |||||
| 2 | 84±1 | api $20.00/M | |||
| 5 | 84±1 | api $4.00/M | |||
| 6 | 83±1 | api $2.00/M | |||
$ what it's good at
agent tasks▁▁▃▆█▄▅▅▃▃▂▁ #221 of 319 · 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.8% |
| SWE-bench Verified lab | 60.7% ✎ | ▁▁▁▁▁▁▂▄█▆▁▁ beats 59/140 | 1.6% |
| Terminal-Bench 2.0 with Terminus 2 agent (benchmark authors' runs) | 3.1% ✎ | ▃··▃·▃▃██▅▃▅ beats 0/14 | 1.3% |
| Terminal-Bench Hard | 9.0% ✎ | ▂▅▆▂▂▆▂▂█▅▅▂ beats 12/27 | 1.3% |
| τ-bench Retail lab | 54.8% ✎ | ▁····▃·▂▇█▂▆ beats 6/28 | 1.2% |
| BrowserGym WorkArena-L2 (AgentLab GenericAgent) | 2.6% ✎ | ▃▅▃·▅▃▃··█·▃ beats 2/11 | 1.2% |
| BrowserGym MiniWoB (AgentLab GenericAgent) | 64.0% ✎ | ▅····▅▅▃▃·▃█ beats 3/11 | 1.1% |
| τ-bench Airline lab | 38.0% ✎ | ▁▁▁·▅▄▁█▇▁▁▇ beats 8/28 | 0.8% |
2 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Humanity's Last Exam with tools lab | 17.3% ✎ | ▁·▁▃▁▂▃▂█▅▄▁ beats 4/64 | 0.7% |
| T1-Bench multi-domain conversational agent pass^3 | 8.6% ✎ | ▂▃··▂·▂·▂▂█▄ beats 1/11 | 0.0% |
coding▁▁▁▃▆▇█▆▆▃▃▁ #178 of 474 · 11% of its score · 6 tests
Beats Qwen3-Coder-Next (80B-A3B), Gemini 2.5 Pro, Grok 4.1 Fast (Reasoning) 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.8% |
| Luau Leetcode fully solved (Torpedo Software) | 52.4% ✎ | ▁▁▁▁·▁▃▃▅▃█▇ beats 10/49 | 2.4% |
| LiveCodeBench v6 (window unspecified) | 72.0% ✎ | █·▄·▄····▄·▄ beats 5/5 | 2.0% |
| SWE-bench Verified lab | 60.7% ✎ | ▁▁▁▁▁▁▂▄█▆▁▁ beats 59/140 | 1.6% |
| LiveCodeBench v6 (Feb–May 2025) | 63.8% ✎ | ▁▁▃▁█▅▄▇▅▅▃█ beats 15/38 | 1.3% |
| SciCode main problems | 6.2% ✎ | ▄··▄····█▄·▄ beats 2/5 | 0.4% |
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #207 of 405 * · 3.3% of its score · 2 tests
Beats Gemma 2 9B IT SimPO, Granite 4.2 8B, Mistral Small 4 (119B-A6.5B) here, though they rank higher overall. Trails LFM2.5 1.2B Instruct, LFM2.5 1.2B Thinking, LFM2.5 8B-A1B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 1317.5 ✎ | ▁▁▁▂▃▂▃▆▆▇█▃ beats 147/388 | 2.7% |
| IFEval (aggregation unspecified) | 92.8% ✎ | ▁▂▄▂▂▄▆██▅▂▁ beats 130/145 | 0.6% |
math▁▁▃▅█▆▅█▄▁▁▁ #154 of 440 · 21% of its score · 5 tests
Beats Claude Sonnet 4.6, MiMo-V2.5 (310B-A15B), Gemini 3.5 Flash-Lite here, though they rank higher overall. Trails Olmo 3 32B Think, Nemotron-Cascade-8B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| AIME 2024 +2 | 83.3% ✎ | █▄···█·····▄ beats 3/5 | 7.2% |
| AIME 2025 +2 | 84.4% ✎ | ▄·█··▄····▄▄ beats 5/5 | 7.1% |
| HMMT 2025 (edition unspecified) | 64.8% ✎ | ▄··▄▄·▄····█ beats 4/5 | 3.2% |
| OTIS mock AIME 2024–2025 | 50.8% ✎ | ▃▃▄▃▃▃▇▆█▄▃▆ beats 77/207 | 2.2% |
| MATH-500 | 94.8% ✎ | ▄·▄·····█··█ beats 0/5 | 1.3% |
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 4/64 | 0.7% |
other tests30 not in a task · 55% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| GPQA Diamond +3 | 46.0% ✎ | ▁▁▁▁▂▃▅▄▄▆█▃ beats 52/221 | 15% |
| Medmarks-V mean win rate (19 verifiable medical benchmarks, 71 configurations) | 0.5198 ✎ | ▁▄▃▃▇▄█▃▅▁▁▁ beats 21/30 | 5.4% |
| Humanity's Last Exam +2 | 9.8% ✎ | █··██···█·██ beats 4/5 | 4.3% |
| MMLU +1 | 81.7% ✎ | ▁▁▁▁▁▂▂▅██▆▄ beats 189/215 | 3.6% |
| MMLU-Pro +1 | 75.6% ✎ | █··█··███··█ beats 4/5 | 3.6% |
| Medmarks-V weighted mean win rate (61 models, 71 configurations) | 53.6% ✎ | ▂▃▅▂▆▃█▅█▅▃▆ beats 21/34 | 2.4% |
| MMMLU +1 | 77.4% ✎ | ▂▁▁▂▃▂▄▄▅██▃ beats 25/46 | 2.3% |
| BRIDGE clinical text, zero-shot average (87 tasks) | 29.0% ✎ | ▁▁▁▁▁▂▂▃▄▆█▃ beats 28/97 | 1.8% |
22 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.
Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.
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 12.6 GB memory, 11.6 GB download · 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 12.6 GB memory, 11.6 GB download · 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 14.8 GB memory, 13.8 GB download · 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 12.8 GB memory, 11.8 GB download, 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
Model repository and documentation: huggingface.co/openai ↗
$ how the score was worked out · Falcon-H1R: Pushing the Reaso… 22%, ByteDance-Seed/Seed-OSS-36B-I… 20%, OpenAI — gpt-oss-120b & gpt-o… 19% and 19 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 · 18
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 sequencenotePublished 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 sequencenotePublished 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 sequencenotePublished 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 sequencenotePublished 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 sequencenotePublished 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 sequencenotePublished 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 sequencenotePublished 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 sequencenotePublished 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 sequencenotePublished 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 sequencenotePublished 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 tablenoteAuthor'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 ↗ |
| Radeon RX 9070 XT | mxfp4 | 121.43 tok/s | ollama (version not recorded) · llmfit bench 1.1.16 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (227 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-09-26 (AMD Ryzen 7 5700X 8-Core Processor, 31 GB RAM, linux); 121.12–121.59 tok/s across runs. | source ↗ |
| Apple M2 Pro, 32 GB | mxfp4 | 39.3 tok/s | ollama (version not recorded) · llmfit bench 1.1.15 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (247 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-09-13 (Apple M2 Pro, 32 GB RAM, macos); 38.89–39.82 tok/s across runs. | source ↗ |
| Apple M4, 16 GB | mxfp4 | 6.92 tok/s | ollama (version not recorded) · llmfit bench 1.1.14 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (229 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-09-09 (Apple M4, 16 GB RAM, macos); 6.47–7.72 tok/s across runs. | source ↗ |
| Apple M4, 16 GB | mxfp4 | 20.52 tok/s | ollama (version not recorded) · llmfit bench 1.1.15 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (262 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-09-12 (Apple M4, 16 GB RAM, macos); 19.84–21.34 tok/s across runs. | source ↗ |
| Apple M4, 16 GB | mxfp4 | 24.54 tok/s | ollama (version not recorded) · llmfit bench 1.1.15 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (255 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-09-12 (Apple M4, 16 GB RAM, macos); 24.46–24.64 tok/s across runs. | source ↗ |
| Apple M5 Max (40-core GPU), 48 GB | mxfp4 | 101.39 tok/s | ollama (version not recorded) · llmfit bench 1.1.6 via Ollama: a warm-up, then 10 runs of up to 300 generated tokens (249 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-08-02 (Apple M5 Max, 48 GB RAM, macos); 94.6–104.99 tok/s across runs. | source ↗ |
| Radeon 840M / 860M Graphics, 31 GB RAM | mxfp4 · layers offloaded | 8.73 tok/s | ollama (version not recorded) · llmfit bench 1.1.9 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (259 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-08-10 (AMD Ryzen AI 7 350 w/ Radeon 860M, 31 GB RAM, linux); 8.69–8.8 tok/s across runs. The download is larger than the GPU's memory, so Ollama ran part of it on the CPU. | 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