Enter opens the highlighted result. Esc closes.

GPT-4.1 vs gpt-oss-20b

GPT-4.1 leads gpt-oss-20b on the Artificial Analysis Intelligence Index, 12.7 to 10.0, and gpt-oss-20b costs 53.3x less per output token ($0.15 vs $8.00 per million). Updated October 22, 2026; 60 benchmarks have a result for both.

GPT-4.1OpenAI
Coding
No data
Overall
36.5
Output $/M
$8.00
42
gpt-oss-20bOpenAI
Coding
No data
Overall
38.5
Output $/M
$0.15
18
vs boards won of 60 shared

GPT-4.1 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 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
60
GPT-4.1 only
32
gpt-oss-20b only
2
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.

At a glance

Coding index
GPT-4.1 not benchmarked, gpt-oss-20b not benchmarked.
Widest category
Math, 26.1 points apart on average over 8 shared benchmarks.
Widest single gap
AIME 2025 (Artificial Analysis run): GPT-4.1 34.7% against gpt-oss-20b 89.3%, 54.7 points apart on a 0 to 100 scale.
Output price
GPT-4.1 $8.00 against gpt-oss-20b $0.15 per million output tokens, 53.3x apart.
Context window
GPT-4.1 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.

Boards won, where both have a result
CategoryGPT-4.1Barsgpt-oss-20bTies
Coding34
Intelligence11
Agentic work02
Reasoning44
Math26
Knowledge110
Web design20
General191
All shared boards4218
CodingLike-for-likeSix of these boards feed the Vibe Coding Index34
Coding benchmarks for GPT-4.1 and gpt-oss-20b
BenchmarkGPT-4.1gpt-oss-20bLeader
Aider polyglot52.4%Not measuredOnly GPT-4.1 measured
SWE-bench Verified39.6%Not measuredOnly GPT-4.1 measured
SWE-bench Multimodal31.1%Not measuredOnly GPT-4.1 measured
LiveCodeBench (Vals AI)54.7%80.4%gpt-oss-20b
LiveCodeBench (Artificial Analysis run)45.7%77.7%gpt-oss-20b
SciCodeNot measured38.9%Only gpt-oss-20b measured
Terminal-Bench Hard (Artificial Analysis run)13.6%10.6%GPT-4.1
Terminal-BenchNot measured3.4%Only gpt-oss-20b measured
WeirdML39.0%40.9%gpt-oss-20b
ALE-Bench558.1566.0gpt-oss-20b
LMArena Text: coding13901307GPT-4.1
LMArena Text: software and IT13911311GPT-4.1
SciCode4.6%Not measuredOnly GPT-4.1 measured
Neither model has a result on the other 26 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for GPT-4.1 and gpt-oss-20b
BenchmarkGPT-4.1gpt-oss-20bLeader
AA Intelligence Index12.710.0GPT-4.1
Epoch Capabilities Index136.7137.7gpt-oss-20b
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for GPT-4.1 and gpt-oss-20b
BenchmarkGPT-4.1gpt-oss-20bLeader
τ²-Bench Telecom47.1%60.2%gpt-oss-20b
Berkeley Function Calling Leaderboard (BFCL)54.0%Not measuredOnly GPT-4.1 measured
BrowseComp-Plus36.4%50.6%gpt-oss-20b
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index44
Reasoning benchmarks for GPT-4.1 and gpt-oss-20b
BenchmarkGPT-4.1gpt-oss-20bLeader
GPQA Diamond65.4%68.9%gpt-oss-20b
MMMU Pro (Vals AI)72.4%Not measuredOnly GPT-4.1 measured
GPQA Diamond (Artificial Analysis run)66.6%68.8%gpt-oss-20b
Humanity's Last Exam (Artificial Analysis run)4.2%11.0%gpt-oss-20b
GPQA Diamond (Epoch AI run)66.9%60.8%GPT-4.1
ARC-AGI5.5%Not measuredOnly GPT-4.1 measured
ARC-AGI-20.4%Not measuredOnly GPT-4.1 measured
SimpleBench27.0%Not measuredOnly GPT-4.1 measured
Chess puzzles3.0%Not measuredOnly GPT-4.1 measured
LMArena Text: hard prompts13841274GPT-4.1
LMArena Text: expert13641258GPT-4.1
LMArena Text: hard prompts in English13931292GPT-4.1
LMArena Vision: diagrams1215Not measuredOnly GPT-4.1 measured
LMArena Vision: homework1248Not measuredOnly GPT-4.1 measured
Kagi LLM Benchmark52.3%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 index26
Math benchmarks for GPT-4.1 and gpt-oss-20b
BenchmarkGPT-4.1gpt-oss-20bLeader
AIME39.6%86.0%gpt-oss-20b
MATH 500 (Vals AI)87.2%94.2%gpt-oss-20b
MGSM (Vals AI)87.7%89.0%gpt-oss-20b
AA Math Index34.789.3gpt-oss-20b
AIME 2025 (Artificial Analysis run)34.7%89.3%gpt-oss-20b
OTIS Mock AIME38.3%65.3%gpt-oss-20b
FrontierMath, tiers 1 to 36.0%Not measuredOnly GPT-4.1 measured
MATH level 583.0%Not measuredOnly GPT-4.1 measured
LMArena Text: math13691317GPT-4.1
LMArena Text: mathematical work13601305GPT-4.1
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index110
Knowledge benchmarks for GPT-4.1 and gpt-oss-20b
BenchmarkGPT-4.1gpt-oss-20bLeader
MMLU Pro80.5%71.6%GPT-4.1
LegalBench (Vals AI)83.1%70.8%GPT-4.1
CaseLaw (Vals AI)69.9%43.8%GPT-4.1
CorpFin (Vals AI)63.0%53.1%GPT-4.1
TaxEval (Vals AI)75.1%63.7%GPT-4.1
MortgageTax (Vals AI)65.9%Not measuredOnly GPT-4.1 measured
MedQA (Vals AI)91.2%82.9%GPT-4.1
MMLU Pro (Artificial Analysis run)80.6%74.8%GPT-4.1
SimpleQA Verified31.1%Not measuredOnly GPT-4.1 measured
GeoBench72.0%Not measuredOnly GPT-4.1 measured
LMArena Text: science13821296GPT-4.1
LMArena Text: medicine and healthcare13791310GPT-4.1
LMArena Text: legal and government13991280GPT-4.1
LMArena Text: business and finance13691284GPT-4.1
FACTS Benchmark Suite45.8%Not measuredOnly GPT-4.1 measured
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index20
Web design benchmarks for GPT-4.1 and gpt-oss-20b
BenchmarkGPT-4.1gpt-oss-20bLeader
Design Arena: websites1038852GPT-4.1
Design Arena: UI components997Not measuredOnly GPT-4.1 measured
Design Arena: game dev1079Not measuredOnly GPT-4.1 measured
Design Arena: data viz1104933GPT-4.1
Design Arena: 3D849Not measuredOnly GPT-4.1 measured
Design Arena: all code categories1025Not measuredOnly GPT-4.1 measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index191
General benchmarks for GPT-4.1 and gpt-oss-20b
BenchmarkGPT-4.1gpt-oss-20bLeader
IFBench43.0%65.1%gpt-oss-20b
Long context reasoning (AA-LCR)68.3%34.7%GPT-4.1
DTBench68.3%68.0%GPT-4.1
LMCA25.6%14.5%GPT-4.1
Fiction.LiveBench63.9%Not measuredOnly GPT-4.1 measured
LMArena Text13831288GPT-4.1
LMArena Text: instruction following13671236GPT-4.1
LMArena Text: creative writing13631201GPT-4.1
LMArena Vision1210Not measuredOnly GPT-4.1 measured
LMArena Text: English13921303GPT-4.1
LMArena Text: non-English13701269GPT-4.1
LMArena Text: Chinese13821315GPT-4.1
LMArena Text: German13811255GPT-4.1
LMArena Text: Japanese13191244GPT-4.1
LMArena Text: Korean13381236GPT-4.1
LMArena Text: French1382Not measuredOnly GPT-4.1 measured
LMArena Text: Spanish13761267GPT-4.1
LMArena Text: Russian13771278GPT-4.1
LMArena Text: Polish13891252GPT-4.1
LMArena Text: multi-turn13971268GPT-4.1
LMArena Text: longer queries13851250GPT-4.1
LMArena Text: writing and language13711238GPT-4.1
LMArena Text: entertainment and media13651216GPT-4.1
LMArena Vision: English1209Not measuredOnly GPT-4.1 measured
LMArena Vision: Chinese1226Not measuredOnly GPT-4.1 measured
LMArena Vision: reading text1218Not measuredOnly GPT-4.1 measured
LMArena Vision: humor1196Not measuredOnly GPT-4.1 measured
LMArena Vision: captioning1207Not measuredOnly GPT-4.1 measured
LMArena Vision: recognizing things1208Not measuredOnly GPT-4.1 measured
LMArena Vision: creative writing1210Not measuredOnly GPT-4.1 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
Image generation benchmarks for GPT-4.1 and gpt-oss-20b
BenchmarkGPT-4.1gpt-oss-20bLeader
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-4.1$0.0060Fits in one request
gpt-oss-20b$0.0001Fits in one request

gpt-oss-20b costs less

Repository review

50K input + 3K output tokens

GPT-4.1$0.124Fits in one request
gpt-oss-20b$0.0019Fits in one request

gpt-oss-20b costs less

Agent loop

200K input + 10K output tokens

GPT-4.1$0.480Fits in one request
gpt-oss-20b$0.0075Exceeds the context window

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.

Specifications of GPT-4.1 and gpt-oss-20b
SpecificationOpenAI GPT-4.1OpenAI gpt-oss-20b
MakerOpenAIOpenAI
WeightsNo public weights listedOpen weights
ReleasedApril 14, 2025August 5, 2025
Context window1.05M131K
Input $/Mtok$2.00$0.03
Output $/Mtok$8.00$0.15
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved task$0.37Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4.1 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 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 or gpt-oss-20b?

GPT-4.1 costs $2.00 per million input tokens and $8.00 per million output tokens; gpt-oss-20b costs $0.03 and $0.15. Cost per solved task is known for GPT-4.1 only.

Which has the bigger context window, GPT-4.1 or gpt-oss-20b?

GPT-4.1, with 1.05M tokens against 131K.

How many benchmarks is the GPT-4.1 vs gpt-oss-20b comparison based on?

60 benchmarks have a result for both models as of October 22, 2026. GPT-4.1'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.

Compare next