GPT-4.1 Nano vs gpt-oss-20b
gpt-oss-20b leads GPT-4.1 Nano on the Artificial Analysis Intelligence Index, 10.0 to 7.8, and gpt-oss-20b costs 2.7x less per output token ($0.15 vs $0.40 per million). Updated October 23, 2026; 54 benchmarks have a result for both.
GPT-4.1 Nano or gpt-oss-20b: which to pick
Neither model has a coding score yet, so the two cannot be ranked on coding.
Pick GPT-4.1 Nano for a larger context window (1.05M against 131K tokens) and work measured by LiveCodeBench (Vals AI) or LiveCodeBench (Artificial Analysis run), where it leads.
- Shared results
- 54
- GPT-4.1 Nano only
- 17
- gpt-oss-20b only
- 9
- 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
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
gpt-oss-20b
gpt-oss-20b leads, 10.0 against 7.8.
Same board, both measured
Reasoning
GPQA Diamond
gpt-oss-20b
gpt-oss-20b leads, 68.9% against 50.8%.
Same board, both measured
Math
AIME
gpt-oss-20b
gpt-oss-20b leads, 86.0% against 26.5%.
Same board, both measured
Knowledge
MMLU Pro
gpt-oss-20b
gpt-oss-20b leads, 71.6% against 63.5%.
Same board, both measured
Web design
Design Arena: websites
GPT-4.1 Nano
GPT-4.1 Nano leads, 973 against 852.
Same board, both measured
Long documents
Listed context window
GPT-4.1 Nano
GPT-4.1 Nano takes 1.05M tokens against 131K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
gpt-oss-20b
GPT-4.1 Nano $0.0003, gpt-oss-20b $0.0001 per turn.
List prices
At a glance
- Coding index
- GPT-4.1 Nano not benchmarked, gpt-oss-20b not benchmarked.
- Widest category
- Agentic work, 43.0 points apart on average over 1 shared benchmark.
- Widest single gap
- AIME 2025 (Artificial Analysis run): GPT-4.1 Nano 24.0% against gpt-oss-20b 89.3%, 65.3 points apart on a 0 to 100 scale.
- Output price
- GPT-4.1 Nano $0.40 against gpt-oss-20b $0.15 per million output tokens, 2.7x apart.
- Context window
- GPT-4.1 Nano takes 1.05M 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-4.1 Nano | Bars | gpt-oss-20b | Ties |
|---|---|---|---|---|
| Coding | 0 | 6 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 3 | 5 | ||
| Math | 0 | 8 | ||
| Knowledge | 2 | 8 | ||
| Web design | 1 | 1 | ||
| General | 8 | 9 | ||
| All shared boards | 14 | 40 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index06
| Benchmark | GPT-4.1 Nano | gpt-oss-20b | Leader |
|---|---|---|---|
| Aider polyglot | 8.9% | Not measured | Only GPT-4.1 Nano measured |
| AA Coding Index | 11.1 | Not measured | Only GPT-4.1 Nano measured |
| LiveCodeBench (Vals AI) | 42.7% | 80.4% | gpt-oss-20b |
| LiveCodeBench (Artificial Analysis run) | 32.6% | 77.7% | gpt-oss-20b |
| SciCode | Not measured | 38.9% | Only gpt-oss-20b measured |
| Terminal-Bench Hard (Artificial Analysis run) | 3.8% | 10.6% | gpt-oss-20b |
| Terminal-Bench | Not measured | 3.4% | Only gpt-oss-20b measured |
| WeirdML | 19.0% | 40.9% | gpt-oss-20b |
| ALE-Bench | Not measured | 566.0 | Only gpt-oss-20b measured |
| LMArena Text: coding | 1305 | 1306 | gpt-oss-20b |
| LMArena Text: software and IT | 1305 | 1311 | gpt-oss-20b |
| Neither model has a result on the other 32 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-4.1 Nano | gpt-oss-20b | Leader |
|---|---|---|---|
| AA Intelligence Index | 7.8 | 10.0 | gpt-oss-20b |
| Epoch Capabilities Index | 129.5 | 137.7 | gpt-oss-20b |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GPT-4.1 Nano | gpt-oss-20b | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 17.3% | 60.2% | gpt-oss-20b |
| Berkeley Function Calling Leaderboard (BFCL) | 33.1% | Not measured | Only GPT-4.1 Nano measured |
| BrowseComp-Plus | Not measured | 50.6% | Only gpt-oss-20b measured |
| Neither model has a result on the other 39 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index35
| Benchmark | GPT-4.1 Nano | gpt-oss-20b | Leader |
|---|---|---|---|
| GPQA Diamond | 50.8% | 68.9% | gpt-oss-20b |
| MMMU Pro (Vals AI) | 55.0% | Not measured | Only GPT-4.1 Nano measured |
| GPQA Diamond (Artificial Analysis run) | 51.2% | 68.8% | gpt-oss-20b |
| Humanity's Last Exam (Artificial Analysis run) | 3.8% | 11.0% | gpt-oss-20b |
| GPQA Diamond (Epoch AI run) | 48.9% | 60.8% | gpt-oss-20b |
| ARC-AGI | 0.0% | Not measured | Only GPT-4.1 Nano measured |
| ARC-AGI-2 | 0.0% | Not measured | Only GPT-4.1 Nano measured |
| Chess puzzles | 0.0% | Not measured | Only GPT-4.1 Nano measured |
| LMArena Text: hard prompts | 1286 | 1274 | GPT-4.1 Nano |
| LMArena Text: expert | 1272 | 1258 | GPT-4.1 Nano |
| LMArena Text: hard prompts in English | 1292 | 1292 | GPT-4.1 Nano |
| Kagi LLM Benchmark | 33.3% | 53.2% | gpt-oss-20b |
| Neither model has a result on the other 11 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index08
| Benchmark | GPT-4.1 Nano | gpt-oss-20b | Leader |
|---|---|---|---|
| AIME | 26.5% | 86.0% | gpt-oss-20b |
| MATH 500 (Vals AI) | 80.2% | 94.2% | gpt-oss-20b |
| MGSM (Vals AI) | 69.3% | 89.0% | gpt-oss-20b |
| AA Math Index | 24.0 | 89.3 | gpt-oss-20b |
| AIME 2025 (Artificial Analysis run) | 24.0% | 89.3% | gpt-oss-20b |
| OTIS Mock AIME | 28.9% | 65.3% | gpt-oss-20b |
| MATH level 5 | 70.0% | Not measured | Only GPT-4.1 Nano measured |
| LMArena Text: math | 1274 | 1317 | gpt-oss-20b |
| LMArena Text: mathematical work | 1274 | 1305 | gpt-oss-20b |
| MathArena | Not measured | 12.8% | Only gpt-oss-20b measured |
| Neither model has a result on the other 4 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index28
| Benchmark | GPT-4.1 Nano | gpt-oss-20b | Leader |
|---|---|---|---|
| MMLU Pro | 63.5% | 71.6% | gpt-oss-20b |
| LegalBench (Vals AI) | 61.1% | 70.8% | gpt-oss-20b |
| CaseLaw (Vals AI) | Not measured | 43.8% | Only gpt-oss-20b measured |
| CorpFin (Vals AI) | 42.1% | 53.1% | gpt-oss-20b |
| TaxEval (Vals AI) | 60.8% | 63.7% | gpt-oss-20b |
| MortgageTax (Vals AI) | 52.8% | Not measured | Only GPT-4.1 Nano measured |
| MedQA (Vals AI) | 68.2% | 82.9% | gpt-oss-20b |
| MMLU Pro (Artificial Analysis run) | 65.7% | 74.8% | gpt-oss-20b |
| SimpleQA Verified | 6.0% | Not measured | Only GPT-4.1 Nano measured |
| LMArena Text: science | 1297 | 1296 | GPT-4.1 Nano |
| LMArena Text: medicine and healthcare | 1276 | 1310 | gpt-oss-20b |
| LMArena Text: legal and government | 1300 | 1280 | GPT-4.1 Nano |
| LMArena Text: business and finance | 1266 | 1283 | gpt-oss-20b |
| Neither model has a result on the other 7 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | GPT-4.1 Nano | gpt-oss-20b | Leader |
|---|---|---|---|
| Design Arena: websites | 973 | 852 | GPT-4.1 Nano |
| Design Arena: UI components | 913 | Not measured | Only GPT-4.1 Nano measured |
| Design Arena: game dev | 970 | Not measured | Only GPT-4.1 Nano measured |
| Design Arena: data viz | 891 | 933 | gpt-oss-20b |
| Design Arena: 3D | 926 | Not measured | Only GPT-4.1 Nano measured |
| Design Arena: all code categories | 962 | Not measured | Only GPT-4.1 Nano measured |
| Neither model has a result on the other 3 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index89
| Benchmark | GPT-4.1 Nano | gpt-oss-20b | Leader |
|---|---|---|---|
| IFBench | 32.0% | 65.1% | gpt-oss-20b |
| Long context reasoning (AA-LCR) | 20.3% | 34.7% | gpt-oss-20b |
| DTBench | 52.5% | 68.0% | gpt-oss-20b |
| LMCA | 5.5% | 14.5% | gpt-oss-20b |
| Fiction.LiveBench | 25.0% | Not measured | Only GPT-4.1 Nano measured |
| LMArena Text | 1285 | 1287 | gpt-oss-20b |
| LMArena Text: instruction following | 1266 | 1236 | GPT-4.1 Nano |
| LMArena Text: creative writing | 1260 | 1201 | GPT-4.1 Nano |
| LMArena Vision | 1063 | Not measured | Only GPT-4.1 Nano measured |
| LMArena Text: English | 1303 | 1303 | GPT-4.1 Nano |
| LMArena Text: non-English | 1260 | 1268 | gpt-oss-20b |
| LMArena Text: Chinese | 1270 | 1315 | gpt-oss-20b |
| LMArena Text: German | 1288 | 1255 | GPT-4.1 Nano |
| LMArena Text: Japanese | 1198 | 1244 | gpt-oss-20b |
| LMArena Text: Korean | Not measured | 1234 | Only gpt-oss-20b measured |
| LMArena Text: Spanish | Not measured | 1267 | Only gpt-oss-20b measured |
| LMArena Text: Russian | 1261 | 1278 | gpt-oss-20b |
| LMArena Text: Polish | Not measured | 1252 | Only gpt-oss-20b measured |
| LMArena Text: multi-turn | 1277 | 1268 | GPT-4.1 Nano |
| LMArena Text: longer queries | 1282 | 1250 | GPT-4.1 Nano |
| LMArena Text: writing and language | 1261 | 1238 | GPT-4.1 Nano |
| LMArena Text: entertainment and media | 1243 | 1216 | GPT-4.1 Nano |
| LMArena Vision: English | 1101 | Not measured | Only GPT-4.1 Nano measured |
| Neither model has a result on the other 25 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-4.1 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-4.1 Nano | OpenAI gpt-oss-20b |
|---|---|---|
| Maker | OpenAI | OpenAI |
| Weights | No public weights listed | Open weights |
| Released | April 14, 2025 | August 5, 2025 |
| Context window | 1.05M | 131K |
| Input $/Mtok | $0.10 | $0.03 |
| Output $/Mtok | $0.40 | $0.15 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-4.1 Nano better than gpt-oss-20b for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Pick GPT-4.1 Nano for a larger context window (1.05M against 131K tokens) and work measured by LiveCodeBench (Vals AI) or LiveCodeBench (Artificial Analysis run), where it leads.
Which is cheaper, GPT-4.1 Nano or gpt-oss-20b?
GPT-4.1 Nano costs $0.10 per million input tokens and $0.40 per million output tokens; gpt-oss-20b costs $0.03 and $0.15. Cost per solved task is known for neither of them.
Which has the bigger context window, GPT-4.1 Nano or gpt-oss-20b?
GPT-4.1 Nano, with 1.05M tokens against 131K.
How many benchmarks is the GPT-4.1 Nano vs gpt-oss-20b comparison based on?
54 benchmarks have a result for both models as of October 23, 2026. GPT-4.1 Nano's coding index rests on 0 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.