Enter opens the highlighted result. Esc closes.

GPT-4.1 Mini vs gpt-oss-20b

GPT-4.1 Mini leads gpt-oss-20b on the Artificial Analysis Intelligence Index, 10.2 to 10.0, and gpt-oss-20b costs 10.7x less per output token ($0.15 vs $1.60 per million). Updated October 21, 2026; 57 benchmarks have a result for both.

GPT-4.1 MiniOpenAI
Coding
No data
Overall
31.9
Output $/M
$1.60
40
gpt-oss-20bOpenAI
Coding
No data
Overall
38.5
Output $/M
$0.15
17
vs boards won of 57 shared

GPT-4.1 Mini 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 Mini 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
57
GPT-4.1 Mini only
29
gpt-oss-20b only
5
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 Mini not benchmarked, gpt-oss-20b not benchmarked.
Widest category
Math, 20.2 points apart on average over 8 shared benchmarks.
Widest single gap
AA Math Index: GPT-4.1 Mini 46.3 against gpt-oss-20b 89.3, 43.0 points apart on a 0 to 100 scale.
Output price
GPT-4.1 Mini $1.60 against gpt-oss-20b $0.15 per million output tokens, 10.7x apart.
Context window
GPT-4.1 Mini 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.1 MiniBarsgpt-oss-20bTies
Coding24
Intelligence11
Agentic work01
Reasoning44
Math26
Knowledge100
Web design20
General191
All shared boards4017
CodingLike-for-likeSix of these boards feed the Vibe Coding Index24
Coding benchmarks for GPT-4.1 Mini and gpt-oss-20b
BenchmarkGPT-4.1 Minigpt-oss-20bLeader
Aider polyglot32.4%Not measuredOnly GPT-4.1 Mini measured
SWE-bench Verified23.9%Not measuredOnly GPT-4.1 Mini measured
AA Coding Index20.2Not measuredOnly GPT-4.1 Mini measured
LiveCodeBench (Vals AI)58.2%80.4%gpt-oss-20b
LiveCodeBench (Artificial Analysis run)48.3%77.7%gpt-oss-20b
SciCodeNot measured38.9%Only gpt-oss-20b measured
Terminal-Bench Hard (Artificial Analysis run)7.6%10.6%gpt-oss-20b
Terminal-BenchNot measured3.4%Only gpt-oss-20b measured
WeirdML37.6%40.9%gpt-oss-20b
ALE-BenchNot measured566.0Only gpt-oss-20b measured
LMArena Text: coding13671307GPT-4.1 Mini
LMArena Text: software and IT13601311GPT-4.1 Mini
Neither model has a result on the other 27 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for GPT-4.1 Mini and gpt-oss-20b
BenchmarkGPT-4.1 Minigpt-oss-20bLeader
AA Intelligence Index10.210.0GPT-4.1 Mini
Epoch Capabilities Index134.9137.7gpt-oss-20b
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GPT-4.1 Mini and gpt-oss-20b
BenchmarkGPT-4.1 Minigpt-oss-20bLeader
τ²-Bench Telecom52.9%60.2%gpt-oss-20b
Berkeley Function Calling Leaderboard (BFCL)50.4%Not measuredOnly GPT-4.1 Mini measured
BrowseComp-PlusNot measured50.6%Only gpt-oss-20b measured
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 Mini and gpt-oss-20b
BenchmarkGPT-4.1 Minigpt-oss-20bLeader
GPQA Diamond67.9%68.9%gpt-oss-20b
MMMU Pro (Vals AI)70.5%Not measuredOnly GPT-4.1 Mini measured
GPQA Diamond (Artificial Analysis run)66.4%68.8%gpt-oss-20b
Humanity's Last Exam (Artificial Analysis run)5.0%11.0%gpt-oss-20b
GPQA Diamond (Epoch AI run)65.8%60.8%GPT-4.1 Mini
ARC-AGI3.5%Not measuredOnly GPT-4.1 Mini measured
ARC-AGI-20.0%Not measuredOnly GPT-4.1 Mini measured
Chess puzzles1.0%Not measuredOnly GPT-4.1 Mini measured
Mystery game puzzles7.0%Not measuredOnly GPT-4.1 Mini measured
LMArena Text: hard prompts13491274GPT-4.1 Mini
LMArena Text: expert13381258GPT-4.1 Mini
LMArena Text: hard prompts in English13621292GPT-4.1 Mini
LMArena Vision: diagrams1182Not measuredOnly GPT-4.1 Mini measured
LMArena Vision: homework1214Not measuredOnly GPT-4.1 Mini measured
Kagi LLM Benchmark48.6%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 Mini and gpt-oss-20b
BenchmarkGPT-4.1 Minigpt-oss-20bLeader
AIME49.4%86.0%gpt-oss-20b
MATH 500 (Vals AI)88.0%94.2%gpt-oss-20b
MGSM (Vals AI)87.8%89.0%gpt-oss-20b
AA Math Index46.389.3gpt-oss-20b
AIME 2025 (Artificial Analysis run)46.3%89.3%gpt-oss-20b
OTIS Mock AIME44.7%65.3%gpt-oss-20b
FrontierMath, tiers 1 to 36.7%Not measuredOnly GPT-4.1 Mini measured
MATH level 587.3%Not measuredOnly GPT-4.1 Mini measured
LMArena Text: math13431317GPT-4.1 Mini
LMArena Text: mathematical work13471305GPT-4.1 Mini
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index100
Knowledge benchmarks for GPT-4.1 Mini and gpt-oss-20b
BenchmarkGPT-4.1 Minigpt-oss-20bLeader
MMLU Pro77.2%71.6%GPT-4.1 Mini
LegalBench (Vals AI)78.0%70.8%GPT-4.1 Mini
CaseLaw (Vals AI)Not measured43.8%Only gpt-oss-20b measured
CorpFin (Vals AI)57.9%53.1%GPT-4.1 Mini
TaxEval (Vals AI)71.9%63.7%GPT-4.1 Mini
MortgageTax (Vals AI)65.5%Not measuredOnly GPT-4.1 Mini measured
MedQA (Vals AI)84.6%82.9%GPT-4.1 Mini
MMLU Pro (Artificial Analysis run)78.1%74.8%GPT-4.1 Mini
SimpleQA Verified12.7%Not measuredOnly GPT-4.1 Mini measured
LMArena Text: science13281296GPT-4.1 Mini
LMArena Text: medicine and healthcare13241310GPT-4.1 Mini
LMArena Text: legal and government13431280GPT-4.1 Mini
LMArena Text: business and finance13221284GPT-4.1 Mini
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index20
Web design benchmarks for GPT-4.1 Mini and gpt-oss-20b
BenchmarkGPT-4.1 Minigpt-oss-20bLeader
Design Arena: websites997852GPT-4.1 Mini
Design Arena: UI components961Not measuredOnly GPT-4.1 Mini measured
Design Arena: game dev1071Not measuredOnly GPT-4.1 Mini measured
Design Arena: data viz1034933GPT-4.1 Mini
Design Arena: 3D837Not measuredOnly GPT-4.1 Mini measured
Design Arena: all code categories994Not measuredOnly GPT-4.1 Mini 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 Mini and gpt-oss-20b
BenchmarkGPT-4.1 Minigpt-oss-20bLeader
IFBench38.3%65.1%gpt-oss-20b
Long context reasoning (AA-LCR)44.0%34.7%GPT-4.1 Mini
DTBench68.8%68.0%GPT-4.1 Mini
LMCA21.1%14.5%GPT-4.1 Mini
Fiction.LiveBench44.4%Not measuredOnly GPT-4.1 Mini measured
LMArena Text13411288GPT-4.1 Mini
LMArena Text: instruction following13331236GPT-4.1 Mini
LMArena Text: creative writing12991201GPT-4.1 Mini
LMArena Vision1181Not measuredOnly GPT-4.1 Mini measured
LMArena Text: English13561303GPT-4.1 Mini
LMArena Text: non-English13181269GPT-4.1 Mini
LMArena Text: Chinese13291315GPT-4.1 Mini
LMArena Text: German13501255GPT-4.1 Mini
LMArena Text: Japanese12901244GPT-4.1 Mini
LMArena Text: Korean12981236GPT-4.1 Mini
LMArena Text: French1358Not measuredOnly GPT-4.1 Mini measured
LMArena Text: Spanish13191267GPT-4.1 Mini
LMArena Text: Russian13241278GPT-4.1 Mini
LMArena Text: Polish13261252GPT-4.1 Mini
LMArena Text: multi-turn13541268GPT-4.1 Mini
LMArena Text: longer queries13441250GPT-4.1 Mini
LMArena Text: writing and language13191238GPT-4.1 Mini
LMArena Text: entertainment and media13001216GPT-4.1 Mini
LMArena Vision: English1191Not measuredOnly GPT-4.1 Mini measured
LMArena Vision: Chinese1186Not measuredOnly GPT-4.1 Mini measured
LMArena Vision: reading text1188Not measuredOnly GPT-4.1 Mini measured
LMArena Vision: humor1182Not measuredOnly GPT-4.1 Mini measured
LMArena Vision: captioning1174Not measuredOnly GPT-4.1 Mini measured
LMArena Vision: recognizing things1187Not measuredOnly GPT-4.1 Mini measured
LMArena Vision: creative writing1182Not measuredOnly GPT-4.1 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
Image generation benchmarks for GPT-4.1 Mini and gpt-oss-20b
BenchmarkGPT-4.1 Minigpt-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 Mini$0.0012Fits 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 Mini$0.025Fits 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 Mini$0.096Fits 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 Mini and gpt-oss-20b
SpecificationOpenAI GPT-4.1 MiniOpenAI gpt-oss-20b
MakerOpenAIOpenAI
WeightsNo public weights listedOpen weights
ReleasedApril 14, 2025August 5, 2025
Context window1.05M131K
Input $/Mtok$0.40$0.03
Output $/Mtok$1.60$0.15
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved task$1.818Not computable
SourceOpenRouter listingOpenRouter listing

Questions

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

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

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

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

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

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