GPT-5.4 Nano vs gpt-oss-20b
GPT-5.4 Nano leads gpt-oss-20b on the Artificial Analysis Intelligence Index, 20.7 to 10.0, and gpt-oss-20b costs 8.3x less per output token ($0.15 vs $1.25 per million). Updated October 22, 2026; 51 benchmarks have a result for both.
GPT-5.4 Nano or gpt-oss-20b: which to pick
Only GPT-5.4 Nano has a coding score, 44.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 8.3x cheaper ($0.15 vs $1.25 per million) and work measured by Kagi LLM Benchmark, where it leads.
- Shared results
- 51
- GPT-5.4 Nano only
- 34
- gpt-oss-20b only
- 11
- 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 Nano has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
GPT-5.4 Nano
GPT-5.4 Nano leads, 20.7 against 10.0.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only GPT-5.4 Nano has a AA Agentic Index result, 16.0.
Directional only
Reasoning
GPQA Diamond
GPT-5.4 Nano
GPT-5.4 Nano leads, 77.5% against 68.9%.
Same board, both measured
Math
AIME
GPT-5.4 Nano
GPT-5.4 Nano leads, 88.8% against 86.0%.
Same board, both measured
Knowledge
MMLU Pro
GPT-5.4 Nano
GPT-5.4 Nano leads, 77.2% 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 Nano
GPT-5.4 Nano takes 400K tokens against 131K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
gpt-oss-20b
GPT-5.4 Nano $0.0008, 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 Nano has the number, $0.14.
Directional only
At a glance
- Coding index
- GPT-5.4 Nano 44.8 from 2 benchmarks, gpt-oss-20b not benchmarked.
- Widest category
- General, 17.7 points apart on average over 20 shared benchmarks.
- Widest single gap
- Long context reasoning (AA-LCR): GPT-5.4 Nano 76.7% against gpt-oss-20b 34.7%, 42.0 points apart on a 0 to 100 scale.
- Output price
- GPT-5.4 Nano $1.25 against gpt-oss-20b $0.15 per million output tokens, 8.3x apart.
- Context window
- GPT-5.4 Nano 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 Nano | Bars | gpt-oss-20b | Ties |
|---|---|---|---|---|
| Coding | 7 | 0 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 7 | 1 | ||
| Math | 4 | 0 | ||
| Knowledge | 9 | 0 | ||
| General | 20 | 0 | ||
| All shared boards | 50 | 1 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index70
| Benchmark | GPT-5.4 Nano | gpt-oss-20b | Leader |
|---|---|---|---|
| AA Coding Index | 56.1 | Not measured | Only GPT-5.4 Nano measured |
| LiveCodeBench (Vals AI) | 84.0% | 80.4% | GPT-5.4 Nano |
| SWE-bench Verified (Vals AI) | 69.8% | Not measured | Only GPT-5.4 Nano measured |
| Vibe Code Bench (Vals AI) | 26.1% | Not measured | Only GPT-5.4 Nano measured |
| Code migration (Vals AI) | 14.5% | Not measured | Only GPT-5.4 Nano measured |
| Terminal-Bench 2.1 (Vals AI) | 41.6% | Not measured | Only GPT-5.4 Nano measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 77.7% | Only gpt-oss-20b measured |
| SciCode | 47.2% | 38.9% | GPT-5.4 Nano |
| Terminal-Bench Hard (Artificial Analysis run) | 42.4% | 10.6% | GPT-5.4 Nano |
| Terminal-Bench | Not measured | 3.4% | Only gpt-oss-20b measured |
| WeirdML | 49.2% | 40.9% | GPT-5.4 Nano |
| ALE-Bench | 1004.5 | 566.0 | GPT-5.4 Nano |
| LMArena Text: coding | 1404 | 1307 | GPT-5.4 Nano |
| LMArena Text: software and IT | 1402 | 1311 | GPT-5.4 Nano |
| 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.4 Nano | gpt-oss-20b | Leader |
|---|---|---|---|
| AA Intelligence Index | 20.7 | 10.0 | GPT-5.4 Nano |
| Epoch Capabilities Index | 146.0 | 137.7 | GPT-5.4 Nano |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5.4 Nano | gpt-oss-20b | Leader |
|---|---|---|---|
| AA Agentic Index | 16.0 | Not measured | Only GPT-5.4 Nano measured |
| Finance Agent (Vals AI) | 38.2% | Not measured | Only GPT-5.4 Nano measured |
| Tax Agent Bench (Vals AI) | 5.0% | Not measured | Only GPT-5.4 Nano measured |
| Legal Research Bench (Vals AI) | 6.3% | Not measured | Only GPT-5.4 Nano measured |
| Excel Modeling Benchmark (Vals AI) | 44.8% | Not measured | Only GPT-5.4 Nano measured |
| τ²-Bench Telecom | 76.0% | 60.2% | GPT-5.4 Nano |
| BrowseComp-Plus | Not measured | 50.6% | Only gpt-oss-20b measured |
| Neither model has a result on the other 34 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index71
| Benchmark | GPT-5.4 Nano | gpt-oss-20b | Leader |
|---|---|---|---|
| GPQA Diamond | 77.5% | 68.9% | GPT-5.4 Nano |
| MMMU Pro (Vals AI) | 73.6% | Not measured | Only GPT-5.4 Nano measured |
| GPQA Diamond (Artificial Analysis run) | 81.7% | 68.8% | GPT-5.4 Nano |
| Humanity's Last Exam (Artificial Analysis run) | 28.3% | 11.0% | GPT-5.4 Nano |
| GPQA Diamond (Epoch AI run) | 78.5% | 60.8% | GPT-5.4 Nano |
| ARC-AGI | 51.5% | Not measured | Only GPT-5.4 Nano measured |
| ARC-AGI-2 | 5.7% | Not measured | Only GPT-5.4 Nano measured |
| Chess puzzles | 45.0% | Not measured | Only GPT-5.4 Nano measured |
| Mystery game puzzles | 9.0% | Not measured | Only GPT-5.4 Nano measured |
| LMArena Text: hard prompts | 1381 | 1274 | GPT-5.4 Nano |
| LMArena Text: expert | 1396 | 1258 | GPT-5.4 Nano |
| LMArena Text: hard prompts in English | 1387 | 1292 | GPT-5.4 Nano |
| LMArena Vision: diagrams | 1210 | Not measured | Only GPT-5.4 Nano measured |
| LMArena Vision: homework | 1225 | Not measured | Only GPT-5.4 Nano measured |
| Kagi LLM Benchmark | 39.7% | 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 Nano | gpt-oss-20b | Leader |
|---|---|---|---|
| AIME | 88.8% | 86.0% | GPT-5.4 Nano |
| 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 | 87.8% | 65.3% | GPT-5.4 Nano |
| FrontierMath, tiers 1 to 3 | 44.9% | Not measured | Only GPT-5.4 Nano measured |
| FrontierMath, tier 4 | 12.2% | Not measured | Only GPT-5.4 Nano measured |
| ProofBench | 5.0% | Not measured | Only GPT-5.4 Nano measured |
| LMArena Text: math | 1405 | 1317 | GPT-5.4 Nano |
| LMArena Text: mathematical work | 1409 | 1305 | GPT-5.4 Nano |
| Neither model has a result on the other 2 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index90
| Benchmark | GPT-5.4 Nano | gpt-oss-20b | Leader |
|---|---|---|---|
| MMLU Pro | 77.2% | 71.6% | GPT-5.4 Nano |
| LegalBench (Vals AI) | 77.9% | 70.8% | GPT-5.4 Nano |
| CaseLaw (Vals AI) | 51.9% | 43.8% | GPT-5.4 Nano |
| CorpFin (Vals AI) | 61.2% | 53.1% | GPT-5.4 Nano |
| TaxEval (Vals AI) | 67.4% | 63.7% | GPT-5.4 Nano |
| MortgageTax (Vals AI) | 59.1% | Not measured | Only GPT-5.4 Nano measured |
| MedQA (Vals AI) | Not measured | 82.9% | Only gpt-oss-20b measured |
| MedCode (Vals AI) | 41.0% | Not measured | Only GPT-5.4 Nano measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 74.8% | Only gpt-oss-20b measured |
| SimpleQA Verified | 11.7% | Not measured | Only GPT-5.4 Nano measured |
| LMArena Text: science | 1374 | 1296 | GPT-5.4 Nano |
| LMArena Text: medicine and healthcare | 1369 | 1310 | GPT-5.4 Nano |
| LMArena Text: legal and government | 1368 | 1280 | GPT-5.4 Nano |
| LMArena Text: business and finance | 1366 | 1284 | GPT-5.4 Nano |
| Neither model has a result on the other 4 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
| Benchmark | GPT-5.4 Nano | 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 Nano | gpt-oss-20b | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 38.1% | Not measured | Only GPT-5.4 Nano measured |
| MedScribe (Vals AI) | 77.1% | Not measured | Only GPT-5.4 Nano measured |
| Vals Multimodal Index | 47.6% | Not measured | Only GPT-5.4 Nano measured |
| IFBench | 75.9% | 65.1% | GPT-5.4 Nano |
| Long context reasoning (AA-LCR) | 76.7% | 34.7% | GPT-5.4 Nano |
| DTBench | 80.3% | 68.0% | GPT-5.4 Nano |
| LMCA | 36.9% | 14.5% | GPT-5.4 Nano |
| LMArena Text | 1372 | 1288 | GPT-5.4 Nano |
| LMArena Text: instruction following | 1362 | 1236 | GPT-5.4 Nano |
| LMArena Text: creative writing | 1315 | 1201 | GPT-5.4 Nano |
| LMArena Vision | 1196 | Not measured | Only GPT-5.4 Nano measured |
| LMArena Text: English | 1381 | 1303 | GPT-5.4 Nano |
| LMArena Text: non-English | 1359 | 1269 | GPT-5.4 Nano |
| LMArena Text: Chinese | 1391 | 1315 | GPT-5.4 Nano |
| LMArena Text: German | 1368 | 1255 | GPT-5.4 Nano |
| LMArena Text: Japanese | 1343 | 1244 | GPT-5.4 Nano |
| LMArena Text: Korean | 1321 | 1236 | GPT-5.4 Nano |
| LMArena Text: French | 1395 | Not measured | Only GPT-5.4 Nano measured |
| LMArena Text: Spanish | 1371 | 1267 | GPT-5.4 Nano |
| LMArena Text: Russian | 1363 | 1278 | GPT-5.4 Nano |
| LMArena Text: Polish | 1366 | 1252 | GPT-5.4 Nano |
| LMArena Text: multi-turn | 1382 | 1268 | GPT-5.4 Nano |
| LMArena Text: longer queries | 1365 | 1250 | GPT-5.4 Nano |
| LMArena Text: writing and language | 1338 | 1238 | GPT-5.4 Nano |
| LMArena Text: entertainment and media | 1325 | 1216 | GPT-5.4 Nano |
| LMArena Vision: English | 1202 | Not measured | Only GPT-5.4 Nano measured |
| LMArena Vision: Chinese | 1232 | Not measured | Only GPT-5.4 Nano measured |
| LMArena Vision: reading text | 1204 | Not measured | Only GPT-5.4 Nano measured |
| LMArena Vision: humor | 1161 | Not measured | Only GPT-5.4 Nano measured |
| LMArena Vision: recognizing things | 1141 | Not measured | Only GPT-5.4 Nano measured |
| LMArena Vision: creative writing | 1159 | Not measured | Only GPT-5.4 Nano measured |
| Neither model has a result on the other 15 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5.4 Nano | 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 Nano | 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.20 | $0.03 |
| Output $/Mtok | $1.25 | $0.15 |
| Coding index | 44.8 | Not benchmarked |
| Independent measurements behind it | 2 | 0 |
| Cost per solved task | $0.14 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5.4 Nano better than gpt-oss-20b for coding?
Only GPT-5.4 Nano has a coding score, 44.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 8.3x cheaper ($0.15 vs $1.25 per million) and work measured by Kagi LLM Benchmark, where it leads.
Which is cheaper, GPT-5.4 Nano or gpt-oss-20b?
GPT-5.4 Nano costs $0.20 per million input tokens and $1.25 per million output tokens; gpt-oss-20b costs $0.03 and $0.15. Cost per solved task is known for GPT-5.4 Nano only.
Which has the bigger context window, GPT-5.4 Nano or gpt-oss-20b?
GPT-5.4 Nano, with 400K tokens against 131K.
How many benchmarks is the GPT-5.4 Nano vs gpt-oss-20b comparison based on?
51 benchmarks have a result for both models as of October 22, 2026. GPT-5.4 Nano'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.