GPT-5 Mini vs gpt-oss-20b
GPT-5 Mini leads gpt-oss-20b on the Artificial Analysis Intelligence Index, 20.6 to 10.0, and gpt-oss-20b costs 13.3x less per output token ($0.15 vs $2.00 per million). Updated October 21, 2026; 59 benchmarks have a result for both.
GPT-5 Mini or gpt-oss-20b: which to pick
Only GPT-5 Mini has a coding score, 34.2 on the Vibe Coding Index; gpt-oss-20b has none, so the two cannot be ranked on coding.
Pick gpt-oss-20b for output tokens 13.3x cheaper ($0.15 vs $2.00 per million).
- Shared results
- 59
- GPT-5 Mini only
- 39
- gpt-oss-20b only
- 1
- Like-for-like categories
- 8 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Only GPT-5 Mini has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
GPT-5 Mini
GPT-5 Mini leads, 20.6 against 10.0.
Same board, both measured
Reasoning
GPQA Diamond
GPT-5 Mini
GPT-5 Mini leads, 80.3% against 68.9%.
Same board, both measured
Math
AIME
GPT-5 Mini
GPT-5 Mini leads, 91.5% against 86.0%.
Same board, both measured
Knowledge
MMLU Pro
GPT-5 Mini
GPT-5 Mini leads, 82.2% against 71.6%.
Same board, both measured
Web design
Design Arena: websites
GPT-5 Mini
GPT-5 Mini leads, 1125 against 852.
Same board, both measured
Long documents
Listed context window
GPT-5 Mini
GPT-5 Mini takes 400K tokens against 131K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
gpt-oss-20b
GPT-5 Mini $0.0013, gpt-oss-20b $0.0001 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GPT-5 Mini has the number, $0.08.
Directional only
At a glance
- Coding index
- GPT-5 Mini 34.2 from 2 benchmarks, gpt-oss-20b not benchmarked.
- Widest category
- Web design, 29.4 points apart on average over 2 shared benchmarks.
- Widest single gap
- Long context reasoning (AA-LCR): GPT-5 Mini 72.3% against gpt-oss-20b 34.7%, 37.7 points apart on a 0 to 100 scale.
- Output price
- GPT-5 Mini $2.00 against gpt-oss-20b $0.15 per million output tokens, 13.3x apart.
- Context window
- GPT-5 Mini takes 400K tokens, gpt-oss-20b 131K.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | GPT-5 Mini | Bars | gpt-oss-20b | Ties |
|---|---|---|---|---|
| Coding | 8 | 0 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 7 | 0 | ||
| Math | 8 | 0 | ||
| Knowledge | 11 | 0 | ||
| Web design | 2 | 0 | ||
| General | 20 | 0 | ||
| All shared boards | 59 | 0 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index80
| Benchmark | GPT-5 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| SWE-bench Verified | 59.8% | Not measured | Only GPT-5 Mini measured |
| SWE-bench Multilingual | 39.7% | Not measured | Only GPT-5 Mini measured |
| LiveCodeBench (Vals AI) | 86.6% | 80.4% | GPT-5 Mini |
| SWE-bench Verified (Vals AI) | 60.8% | Not measured | Only GPT-5 Mini measured |
| Vibe Code Bench (Vals AI) | 14.2% | Not measured | Only GPT-5 Mini measured |
| LiveCodeBench (Artificial Analysis run) | 83.8% | 77.7% | GPT-5 Mini |
| SciCode | 39.0% | 38.9% | GPT-5 Mini |
| Terminal-Bench Hard (Artificial Analysis run) | 33.3% | 10.6% | GPT-5 Mini |
| Terminal-Bench | 34.8% | 3.4% | GPT-5 Mini |
| WeirdML | 52.7% | 40.9% | GPT-5 Mini |
| ALE-Bench | Not measured | 566.0 | Only gpt-oss-20b measured |
| LMArena Text: coding | 1406 | 1307 | GPT-5 Mini |
| LMArena Text: software and IT | 1394 | 1311 | GPT-5 Mini |
| Neither model has a result on the other 25 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| AA Intelligence Index | 20.6 | 10.0 | GPT-5 Mini |
| Epoch Capabilities Index | 145.3 | 137.7 | GPT-5 Mini |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 71.1% | 60.2% | GPT-5 Mini |
| Vending-Bench 2 | -$31 | Not measured | Only GPT-5 Mini measured |
| Neither model has a result on the other 37 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index70
| Benchmark | GPT-5 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| GPQA Diamond | 80.3% | 68.9% | GPT-5 Mini |
| MMMU Pro (Vals AI) | 78.9% | Not measured | Only GPT-5 Mini measured |
| GPQA Diamond (Artificial Analysis run) | 82.8% | 68.8% | GPT-5 Mini |
| Humanity's Last Exam (Artificial Analysis run) | 21.5% | 11.0% | GPT-5 Mini |
| GPQA Diamond (Epoch AI run) | 75.0% | 60.8% | GPT-5 Mini |
| ARC-AGI | 54.3% | Not measured | Only GPT-5 Mini measured |
| ARC-AGI-2 | 4.4% | Not measured | Only GPT-5 Mini measured |
| Chess puzzles | 24.0% | Not measured | Only GPT-5 Mini measured |
| Mystery game puzzles | 10.0% | Not measured | Only GPT-5 Mini measured |
| VPCT | 40.2% | Not measured | Only GPT-5 Mini measured |
| LMArena Text: hard prompts | 1380 | 1274 | GPT-5 Mini |
| LMArena Text: expert | 1379 | 1258 | GPT-5 Mini |
| LMArena Text: hard prompts in English | 1383 | 1292 | GPT-5 Mini |
| LMArena Vision: diagrams | 1202 | Not measured | Only GPT-5 Mini measured |
| LMArena Vision: homework | 1210 | Not measured | Only GPT-5 Mini measured |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index80
| Benchmark | GPT-5 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| AIME | 91.5% | 86.0% | GPT-5 Mini |
| MATH 500 (Vals AI) | 94.8% | 94.2% | GPT-5 Mini |
| MGSM (Vals AI) | 92.6% | 89.0% | GPT-5 Mini |
| AA Math Index | 90.7 | 89.3 | GPT-5 Mini |
| AIME 2025 (Artificial Analysis run) | 90.7% | 89.3% | GPT-5 Mini |
| OTIS Mock AIME | 86.7% | 65.3% | GPT-5 Mini |
| FrontierMath, tiers 1 to 3 | 46.7% | Not measured | Only GPT-5 Mini measured |
| FrontierMath, tier 4 | 12.2% | Not measured | Only GPT-5 Mini measured |
| ProofBench | 9.0% | Not measured | Only GPT-5 Mini measured |
| MATH level 5 | 97.8% | Not measured | Only GPT-5 Mini measured |
| LMArena Text: math | 1378 | 1317 | GPT-5 Mini |
| LMArena Text: mathematical work | 1380 | 1305 | GPT-5 Mini |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index110
| Benchmark | GPT-5 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| MMLU Pro | 82.2% | 71.6% | GPT-5 Mini |
| LegalBench (Vals AI) | 81.8% | 70.8% | GPT-5 Mini |
| CaseLaw (Vals AI) | 68.5% | 43.8% | GPT-5 Mini |
| CorpFin (Vals AI) | 60.2% | 53.1% | GPT-5 Mini |
| TaxEval (Vals AI) | 75.2% | 63.7% | GPT-5 Mini |
| MortgageTax (Vals AI) | 66.9% | Not measured | Only GPT-5 Mini measured |
| MedQA (Vals AI) | 96.1% | 82.9% | GPT-5 Mini |
| MedCode (Vals AI) | 43.0% | Not measured | Only GPT-5 Mini measured |
| MMLU Pro (Artificial Analysis run) | 83.7% | 74.8% | GPT-5 Mini |
| SimpleQA Verified | 21.6% | Not measured | Only GPT-5 Mini measured |
| LMArena Text: science | 1371 | 1296 | GPT-5 Mini |
| LMArena Text: medicine and healthcare | 1380 | 1310 | GPT-5 Mini |
| LMArena Text: legal and government | 1375 | 1280 | GPT-5 Mini |
| LMArena Text: business and finance | 1358 | 1284 | GPT-5 Mini |
| Neither model has a result on the other 3 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| Design Arena: websites | 1125 | 852 | GPT-5 Mini |
| Design Arena: UI components | 1106 | Not measured | Only GPT-5 Mini measured |
| Design Arena: game dev | 1130 | Not measured | Only GPT-5 Mini measured |
| Design Arena: data viz | 1130 | 933 | GPT-5 Mini |
| Design Arena: 3D | 1037 | Not measured | Only GPT-5 Mini measured |
| Design Arena: all code categories | 1115 | Not measured | Only GPT-5 Mini measured |
| Design Arena: SVG | 1091 | Not measured | Only GPT-5 Mini measured |
| Design Arena: ASCII art | 1125 | Not measured | Only GPT-5 Mini measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index200
| Benchmark | GPT-5 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 43.0% | Not measured | Only GPT-5 Mini measured |
| MedScribe (Vals AI) | 80.6% | Not measured | Only GPT-5 Mini measured |
| IFBench | 75.4% | 65.1% | GPT-5 Mini |
| Long context reasoning (AA-LCR) | 72.3% | 34.7% | GPT-5 Mini |
| DTBench | 80.5% | 68.0% | GPT-5 Mini |
| LMCA | 34.2% | 14.5% | GPT-5 Mini |
| Fiction.LiveBench | 69.4% | Not measured | Only GPT-5 Mini measured |
| Creative writing (Lech Mazur) | 83.1% | Not measured | Only GPT-5 Mini measured |
| LMArena Text | 1373 | 1288 | GPT-5 Mini |
| LMArena Text: instruction following | 1357 | 1236 | GPT-5 Mini |
| LMArena Text: creative writing | 1325 | 1201 | GPT-5 Mini |
| LMArena Vision | 1202 | Not measured | Only GPT-5 Mini measured |
| LMArena Text: English | 1379 | 1303 | GPT-5 Mini |
| LMArena Text: non-English | 1363 | 1269 | GPT-5 Mini |
| LMArena Text: Chinese | 1386 | 1315 | GPT-5 Mini |
| LMArena Text: German | 1366 | 1255 | GPT-5 Mini |
| LMArena Text: Japanese | 1341 | 1244 | GPT-5 Mini |
| LMArena Text: Korean | 1308 | 1236 | GPT-5 Mini |
| LMArena Text: French | 1386 | Not measured | Only GPT-5 Mini measured |
| LMArena Text: Spanish | 1354 | 1267 | GPT-5 Mini |
| LMArena Text: Russian | 1362 | 1278 | GPT-5 Mini |
| LMArena Text: Polish | 1378 | 1252 | GPT-5 Mini |
| LMArena Text: multi-turn | 1363 | 1268 | GPT-5 Mini |
| LMArena Text: longer queries | 1355 | 1250 | GPT-5 Mini |
| LMArena Text: writing and language | 1344 | 1238 | GPT-5 Mini |
| LMArena Text: entertainment and media | 1340 | 1216 | GPT-5 Mini |
| LMArena Vision: English | 1216 | Not measured | Only GPT-5 Mini measured |
| LMArena Vision: Chinese | 1214 | Not measured | Only GPT-5 Mini measured |
| LMArena Vision: reading text | 1199 | Not measured | Only GPT-5 Mini measured |
| LMArena Vision: humor | 1205 | Not measured | Only GPT-5 Mini measured |
| LMArena Vision: captioning | 1217 | Not measured | Only GPT-5 Mini measured |
| LMArena Vision: recognizing things | 1226 | Not measured | Only GPT-5 Mini measured |
| LMArena Vision: creative writing | 1181 | Not measured | Only GPT-5 Mini measured |
| Neither model has a result on the other 13 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
gpt-oss-20b costs less
Repository review
50K input + 3K output tokens
gpt-oss-20b costs less
Agent loop
200K input + 10K output tokens
gpt-oss-20b costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | OpenAI GPT-5 Mini | OpenAI gpt-oss-20b |
|---|---|---|
| Maker | OpenAI | OpenAI |
| Weights | No public weights listed | Open weights |
| Released | August 7, 2025 | August 5, 2025 |
| Context window | 400K | 131K |
| Input $/Mtok | $0.25 | $0.03 |
| Output $/Mtok | $2.00 | $0.15 |
| Coding index | 34.2 | Not benchmarked |
| Independent measurements behind it | 2 | 0 |
| Cost per solved task | $0.08 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5 Mini better than gpt-oss-20b for coding?
Only GPT-5 Mini has a coding score, 34.2 on the Vibe Coding Index; gpt-oss-20b has none, so the two cannot be ranked on coding. Pick gpt-oss-20b for output tokens 13.3x cheaper ($0.15 vs $2.00 per million).
Which is cheaper, GPT-5 Mini or gpt-oss-20b?
GPT-5 Mini costs $0.25 per million input tokens and $2.00 per million output tokens; gpt-oss-20b costs $0.03 and $0.15. Cost per solved task is known for GPT-5 Mini only.
Which has the bigger context window, GPT-5 Mini or gpt-oss-20b?
GPT-5 Mini, with 400K tokens against 131K.
How many benchmarks is the GPT-5 Mini vs gpt-oss-20b comparison based on?
59 benchmarks have a result for both models as of October 21, 2026. GPT-5 Mini's coding index rests on 2 independent benchmarks and gpt-oss-20b's on 0. Where only one model has a result, the page says so instead of naming a winner.