GPT-5.4 Mini vs gpt-oss-20b
GPT-5.4 Mini leads gpt-oss-20b on the Artificial Analysis Intelligence Index, 24.1 to 10.0, and gpt-oss-20b costs 30.0x less per output token ($0.15 vs $4.50 per million). Updated October 21, 2026; 50 benchmarks have a result for both.
GPT-5.4 Mini or gpt-oss-20b: which to pick
Only GPT-5.4 Mini has a coding score, 35.8 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 30.0x cheaper ($0.15 vs $4.50 per million) and work measured by Kagi LLM Benchmark, where it leads.
- Shared results
- 50
- GPT-5.4 Mini only
- 39
- gpt-oss-20b only
- 12
- Like-for-like categories
- 7 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.4 Mini has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
GPT-5.4 Mini
GPT-5.4 Mini leads, 24.1 against 10.0.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only GPT-5.4 Mini has a AA Agentic Index result, 17.9.
Directional only
Reasoning
GPQA Diamond
GPT-5.4 Mini
GPT-5.4 Mini leads, 83.1% against 68.9%.
Same board, both measured
Math
AIME
GPT-5.4 Mini
GPT-5.4 Mini leads, 95.6% against 86.0%.
Same board, both measured
Knowledge
MMLU Pro
GPT-5.4 Mini
GPT-5.4 Mini leads, 84.5% against 71.6%.
Same board, both measured
Web design
Design Arena: websites
No call
Only gpt-oss-20b has a Design Arena: websites result, 852.
Directional only
Long documents
Listed context window
GPT-5.4 Mini
GPT-5.4 Mini takes 400K tokens against 131K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
gpt-oss-20b
GPT-5.4 Mini $0.0030, gpt-oss-20b $0.0001 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GPT-5.4 Mini has the number, $0.70.
Directional only
At a glance
- Coding index
- GPT-5.4 Mini 35.8 from 5 benchmarks, gpt-oss-20b not benchmarked.
- Widest category
- General, 23.8 points apart on average over 20 shared benchmarks.
- Widest single gap
- Long context reasoning (AA-LCR): GPT-5.4 Mini 77.0% against gpt-oss-20b 34.7%, 42.3 points apart on a 0 to 100 scale.
- Output price
- GPT-5.4 Mini $4.50 against gpt-oss-20b $0.15 per million output tokens, 30.0x apart.
- Context window
- GPT-5.4 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.4 Mini | Bars | gpt-oss-20b | Ties |
|---|---|---|---|---|
| Coding | 7 | 0 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 7 | 1 | ||
| Math | 4 | 0 | ||
| Knowledge | 8 | 0 | ||
| General | 20 | 0 | ||
| All shared boards | 49 | 1 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index70
| Benchmark | GPT-5.4 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| LMArena WebDev | 1397 | Not measured | Only GPT-5.4 Mini measured |
| AA Coding Index | 56.1 | Not measured | Only GPT-5.4 Mini measured |
| LiveCodeBench (Vals AI) | 81.5% | 80.4% | GPT-5.4 Mini |
| SWE-bench Verified (Vals AI) | 73.0% | Not measured | Only GPT-5.4 Mini measured |
| Terminal-Bench 4 (Vals AI) | 2.5% | Not measured | Only GPT-5.4 Mini measured |
| Vibe Code Bench (Vals AI) | 48.0% | Not measured | Only GPT-5.4 Mini measured |
| Code migration (Vals AI) | 12.9% | Not measured | Only GPT-5.4 Mini measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only GPT-5.4 Mini measured |
| Terminal-Bench 2.1 (Vals AI) | 54.7% | Not measured | Only GPT-5.4 Mini measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 77.7% | Only gpt-oss-20b measured |
| SciCode | 52.1% | 38.9% | GPT-5.4 Mini |
| Terminal-Bench Hard (Artificial Analysis run) | 52.3% | 10.6% | GPT-5.4 Mini |
| Terminal-Bench | Not measured | 3.4% | Only gpt-oss-20b measured |
| FrontierCode | 27.0% | Not measured | Only GPT-5.4 Mini measured |
| WeirdML | 60.3% | 40.9% | GPT-5.4 Mini |
| ALE-Bench | 1188.6 | 566.0 | GPT-5.4 Mini |
| LMArena Text: coding | 1438 | 1307 | GPT-5.4 Mini |
| LMArena Text: software and IT | 1436 | 1311 | GPT-5.4 Mini |
| LMArena WebDev: React | 1386 | Not measured | Only GPT-5.4 Mini measured |
| LMArena WebDev: HTML | 1419 | Not measured | Only GPT-5.4 Mini measured |
| Neither model has a result on the other 19 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5.4 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| AA Intelligence Index | 24.1 | 10.0 | GPT-5.4 Mini |
| Epoch Capabilities Index | 148.7 | 137.7 | GPT-5.4 Mini |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5.4 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| AA Agentic Index | 17.9 | Not measured | Only GPT-5.4 Mini measured |
| Finance Agent (Vals AI) | 45.4% | Not measured | Only GPT-5.4 Mini measured |
| Tax Agent Bench (Vals AI) | 8.8% | Not measured | Only GPT-5.4 Mini measured |
| Legal Research Bench (Vals AI) | 12.5% | Not measured | Only GPT-5.4 Mini measured |
| Excel Modeling Benchmark (Vals AI) | 45.4% | Not measured | Only GPT-5.4 Mini measured |
| τ²-Bench Telecom | 83.3% | 60.2% | GPT-5.4 Mini |
| DeepResearch Bench | 36.3% | Not measured | Only GPT-5.4 Mini measured |
| BrowseComp-Plus | Not measured | 50.6% | Only gpt-oss-20b measured |
| Neither model has a result on the other 33 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index71
| Benchmark | GPT-5.4 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| GPQA Diamond | 83.1% | 68.9% | GPT-5.4 Mini |
| MMMU Pro (Vals AI) | 79.3% | Not measured | Only GPT-5.4 Mini measured |
| GPQA Diamond (Artificial Analysis run) | 87.5% | 68.8% | GPT-5.4 Mini |
| Humanity's Last Exam (Artificial Analysis run) | 28.1% | 11.0% | GPT-5.4 Mini |
| GPQA Diamond (Epoch AI run) | 86.9% | 60.8% | GPT-5.4 Mini |
| ARC-AGI | 63.7% | Not measured | Only GPT-5.4 Mini measured |
| ARC-AGI-2 | 18.9% | Not measured | Only GPT-5.4 Mini measured |
| Chess puzzles | 23.0% | Not measured | Only GPT-5.4 Mini measured |
| Mystery game puzzles | 11.0% | Not measured | Only GPT-5.4 Mini measured |
| LMArena Text: hard prompts | 1424 | 1274 | GPT-5.4 Mini |
| LMArena Text: expert | 1435 | 1258 | GPT-5.4 Mini |
| LMArena Text: hard prompts in English | 1420 | 1292 | GPT-5.4 Mini |
| LMArena Vision: diagrams | 1266 | Not measured | Only GPT-5.4 Mini measured |
| LMArena Vision: homework | 1285 | Not measured | Only GPT-5.4 Mini measured |
| Kagi LLM Benchmark | 37.9% | 53.2% | gpt-oss-20b |
| Neither model has a result on the other 7 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | GPT-5.4 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| AIME | 95.6% | 86.0% | GPT-5.4 Mini |
| MATH 500 (Vals AI) | Not measured | 94.2% | Only gpt-oss-20b measured |
| MGSM (Vals AI) | Not measured | 89.0% | Only gpt-oss-20b measured |
| AA Math Index | Not measured | 89.3 | Only gpt-oss-20b measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 89.3% | Only gpt-oss-20b measured |
| OTIS Mock AIME | 88.9% | 65.3% | GPT-5.4 Mini |
| FrontierMath, tiers 1 to 3 | 51.2% | Not measured | Only GPT-5.4 Mini measured |
| FrontierMath, tier 4 | 9.8% | Not measured | Only GPT-5.4 Mini measured |
| ProofBench | 21.0% | Not measured | Only GPT-5.4 Mini measured |
| LMArena Text: math | 1418 | 1317 | GPT-5.4 Mini |
| LMArena Text: mathematical work | 1429 | 1305 | GPT-5.4 Mini |
| Neither model has a result on the other 2 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index80
| Benchmark | GPT-5.4 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| MMLU Pro | 84.5% | 71.6% | GPT-5.4 Mini |
| LegalBench (Vals AI) | Not measured | 70.8% | Only gpt-oss-20b measured |
| CaseLaw (Vals AI) | 51.7% | 43.8% | GPT-5.4 Mini |
| CorpFin (Vals AI) | 60.9% | 53.1% | GPT-5.4 Mini |
| TaxEval (Vals AI) | 71.2% | 63.7% | GPT-5.4 Mini |
| MortgageTax (Vals AI) | 63.5% | Not measured | Only GPT-5.4 Mini measured |
| MedQA (Vals AI) | Not measured | 82.9% | Only gpt-oss-20b measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 74.8% | Only gpt-oss-20b measured |
| SimpleQA Verified | 29.4% | Not measured | Only GPT-5.4 Mini measured |
| LMArena Text: science | 1417 | 1296 | GPT-5.4 Mini |
| LMArena Text: medicine and healthcare | 1395 | 1310 | GPT-5.4 Mini |
| LMArena Text: legal and government | 1414 | 1280 | GPT-5.4 Mini |
| LMArena Text: business and finance | 1418 | 1284 | GPT-5.4 Mini |
| Neither model has a result on the other 5 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
| Benchmark | GPT-5.4 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 852 | Only gpt-oss-20b measured |
| Design Arena: data viz | Not measured | 933 | Only gpt-oss-20b measured |
| Neither model has a result on the other 7 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index200
| Benchmark | GPT-5.4 Mini | gpt-oss-20b | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 50.8% | Not measured | Only GPT-5.4 Mini measured |
| Vals Multimodal Index | 54.2% | Not measured | Only GPT-5.4 Mini measured |
| IFBench | 73.3% | 65.1% | GPT-5.4 Mini |
| Long context reasoning (AA-LCR) | 77.0% | 34.7% | GPT-5.4 Mini |
| DTBench | 80.0% | 68.0% | GPT-5.4 Mini |
| LMCA | 40.8% | 14.5% | GPT-5.4 Mini |
| LMArena Text | 1412 | 1288 | GPT-5.4 Mini |
| LMArena Text: instruction following | 1405 | 1236 | GPT-5.4 Mini |
| LMArena Text: creative writing | 1370 | 1201 | GPT-5.4 Mini |
| LMArena Vision | 1245 | Not measured | Only GPT-5.4 Mini measured |
| LMArena Text: English | 1412 | 1303 | GPT-5.4 Mini |
| LMArena Text: non-English | 1405 | 1269 | GPT-5.4 Mini |
| LMArena Text: Chinese | 1446 | 1315 | GPT-5.4 Mini |
| LMArena Text: German | 1408 | 1255 | GPT-5.4 Mini |
| LMArena Text: Japanese | 1375 | 1244 | GPT-5.4 Mini |
| LMArena Text: Korean | 1370 | 1236 | GPT-5.4 Mini |
| LMArena Text: French | 1441 | Not measured | Only GPT-5.4 Mini measured |
| LMArena Text: Spanish | 1405 | 1267 | GPT-5.4 Mini |
| LMArena Text: Russian | 1417 | 1278 | GPT-5.4 Mini |
| LMArena Text: Polish | 1415 | 1252 | GPT-5.4 Mini |
| LMArena Text: multi-turn | 1429 | 1268 | GPT-5.4 Mini |
| LMArena Text: longer queries | 1408 | 1250 | GPT-5.4 Mini |
| LMArena Text: writing and language | 1393 | 1238 | GPT-5.4 Mini |
| LMArena Text: entertainment and media | 1373 | 1216 | GPT-5.4 Mini |
| LMArena Vision: English | 1244 | Not measured | Only GPT-5.4 Mini measured |
| LMArena Vision: Chinese | 1286 | Not measured | Only GPT-5.4 Mini measured |
| LMArena Vision: reading text | 1253 | Not measured | Only GPT-5.4 Mini measured |
| LMArena Vision: humor | 1235 | Not measured | Only GPT-5.4 Mini measured |
| LMArena Vision: recognizing things | 1218 | Not measured | Only GPT-5.4 Mini measured |
| LMArena Vision: creative writing | 1222 | Not measured | Only GPT-5.4 Mini measured |
| Neither model has a result on the other 16 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5.4 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.4 Mini | OpenAI gpt-oss-20b |
|---|---|---|
| Maker | OpenAI | OpenAI |
| Weights | No public weights listed | Open weights |
| Released | March 17, 2026 | August 5, 2025 |
| Context window | 400K | 131K |
| Input $/Mtok | $0.75 | $0.03 |
| Output $/Mtok | $4.50 | $0.15 |
| Coding index | 35.8 | Not benchmarked |
| Independent measurements behind it | 5 | 0 |
| Cost per solved task | $0.70 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5.4 Mini better than gpt-oss-20b for coding?
Only GPT-5.4 Mini has a coding score, 35.8 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 30.0x cheaper ($0.15 vs $4.50 per million) and work measured by Kagi LLM Benchmark, where it leads.
Which is cheaper, GPT-5.4 Mini or gpt-oss-20b?
GPT-5.4 Mini costs $0.75 per million input tokens and $4.50 per million output tokens; gpt-oss-20b costs $0.03 and $0.15. Cost per solved task is known for GPT-5.4 Mini only.
Which has the bigger context window, GPT-5.4 Mini or gpt-oss-20b?
GPT-5.4 Mini, with 400K tokens against 131K.
How many benchmarks is the GPT-5.4 Mini vs gpt-oss-20b comparison based on?
50 benchmarks have a result for both models as of October 21, 2026. GPT-5.4 Mini's coding index rests on 5 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.