Enter opens the highlighted result. Esc closes.

GPT-4o-mini vs gpt-oss-20b

gpt-oss-20b leads GPT-4o-mini on the Artificial Analysis Intelligence Index, 10.0 to 6.7, and gpt-oss-20b costs 4.0x less per output token ($0.15 vs $0.60 per million). Updated October 21, 2026; 21 benchmarks have a result for both.

GPT-4o-miniOpenAI
Coding
No data
Overall
No data
Output $/M
$0.60
0
gpt-oss-20bOpenAI
Coding
No data
Overall
38.5
Output $/M
$0.15
21
vs boards won of 21 shared

GPT-4o-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-4o-mini for work measured by LiveCodeBench (Vals AI) or LiveCodeBench (Artificial Analysis run), where it leads.

Shared results
21
GPT-4o-mini only
8
gpt-oss-20b only
41
Like-for-like categories
6 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-4o-mini not benchmarked, gpt-oss-20b not benchmarked.
Widest category
Coding, 54.1 points apart on average over 2 shared benchmarks.
Widest single gap
AIME 2025 (Artificial Analysis run): GPT-4o-mini 14.7% against gpt-oss-20b 89.3%, 74.7 points apart on a 0 to 100 scale.
Output price
GPT-4o-mini $0.60 against gpt-oss-20b $0.15 per million output tokens, 4.0x apart.
Context window
GPT-4o-mini takes 128K 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-4o-miniBarsgpt-oss-20bTies
Coding02
Intelligence02
Reasoning04
Math05
Knowledge05
General03
All shared boards021
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for GPT-4o-mini and gpt-oss-20b
BenchmarkGPT-4o-minigpt-oss-20bLeader
AA Coding Index11.4Not measuredOnly GPT-4o-mini measured
LiveCodeBench (Vals AI)26.4%80.4%gpt-oss-20b
LiveCodeBench (Artificial Analysis run)23.4%77.7%gpt-oss-20b
SciCodeNot measured38.9%Only gpt-oss-20b measured
Terminal-Bench Hard (Artificial Analysis run)Not measured10.6%Only gpt-oss-20b measured
Terminal-BenchNot measured3.4%Only gpt-oss-20b measured
WeirdMLNot measured40.9%Only gpt-oss-20b measured
ALE-BenchNot measured566.0Only gpt-oss-20b measured
LMArena Text: codingNot measured1307Only gpt-oss-20b measured
LMArena Text: software and ITNot measured1311Only gpt-oss-20b measured
SciCode1.5%Not measuredOnly GPT-4o-mini measured
Neither model has a result on the other 28 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4o-mini and gpt-oss-20b
BenchmarkGPT-4o-minigpt-oss-20bLeader
AA Intelligence Index6.710.0gpt-oss-20b
Epoch Capabilities Index126.5137.7gpt-oss-20b
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Agentic work benchmarks for GPT-4o-mini and gpt-oss-20b
BenchmarkGPT-4o-minigpt-oss-20bLeader
τ²-Bench TelecomNot measured60.2%Only gpt-oss-20b measured
BrowseComp-PlusNot measured50.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 index04
Reasoning benchmarks for GPT-4o-mini and gpt-oss-20b
BenchmarkGPT-4o-minigpt-oss-20bLeader
GPQA Diamond44.2%68.9%gpt-oss-20b
MMMU Pro (Vals AI)56.6%Not measuredOnly GPT-4o-mini measured
GPQA Diamond (Artificial Analysis run)42.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)Not measured60.8%Only gpt-oss-20b measured
ARC-AGI-20.0%Not measuredOnly GPT-4o-mini measured
LMArena Text: hard promptsNot measured1274Only gpt-oss-20b measured
LMArena Text: expertNot measured1258Only gpt-oss-20b measured
LMArena Text: hard prompts in EnglishNot measured1292Only gpt-oss-20b measured
Kagi LLM Benchmark28.8%53.2%gpt-oss-20b
Neither model has a result on the other 12 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index05
Math benchmarks for GPT-4o-mini and gpt-oss-20b
BenchmarkGPT-4o-minigpt-oss-20bLeader
AIME11.5%86.0%gpt-oss-20b
MATH 500 (Vals AI)72.6%94.2%gpt-oss-20b
MGSM (Vals AI)86.2%89.0%gpt-oss-20b
AA Math Index14.789.3gpt-oss-20b
AIME 2025 (Artificial Analysis run)14.7%89.3%gpt-oss-20b
OTIS Mock AIMENot measured65.3%Only gpt-oss-20b measured
GSM8K91.3%Not measuredOnly GPT-4o-mini measured
LMArena Text: mathNot measured1317Only gpt-oss-20b measured
LMArena Text: mathematical workNot measured1305Only 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 index05
Knowledge benchmarks for GPT-4o-mini and gpt-oss-20b
BenchmarkGPT-4o-minigpt-oss-20bLeader
MMLU Pro62.7%71.6%gpt-oss-20b
LegalBench (Vals AI)Not measured70.8%Only gpt-oss-20b measured
CaseLaw (Vals AI)Not measured43.8%Only gpt-oss-20b measured
CorpFin (Vals AI)45.5%53.1%gpt-oss-20b
TaxEval (Vals AI)60.5%63.7%gpt-oss-20b
MortgageTax (Vals AI)54.5%Not measuredOnly GPT-4o-mini measured
MedQA (Vals AI)72.4%82.9%gpt-oss-20b
MMLU Pro (Artificial Analysis run)64.8%74.8%gpt-oss-20b
MMLU81.8%Not measuredOnly GPT-4o-mini measured
LMArena Text: scienceNot measured1296Only gpt-oss-20b measured
LMArena Text: medicine and healthcareNot measured1310Only gpt-oss-20b measured
LMArena Text: legal and governmentNot measured1280Only gpt-oss-20b measured
LMArena Text: business and financeNot measured1284Only gpt-oss-20b measured
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
Web design benchmarks for GPT-4o-mini and gpt-oss-20b
BenchmarkGPT-4o-minigpt-oss-20bLeader
Design Arena: websitesNot measured852Only gpt-oss-20b measured
Design Arena: data vizNot measured933Only 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 index03
General benchmarks for GPT-4o-mini and gpt-oss-20b
BenchmarkGPT-4o-minigpt-oss-20bLeader
IFBench31.0%65.1%gpt-oss-20b
Long context reasoning (AA-LCR)Not measured34.7%Only gpt-oss-20b measured
DTBench54.4%68.0%gpt-oss-20b
LMCA10.4%14.5%gpt-oss-20b
PIQA88.7%Not measuredOnly GPT-4o-mini measured
LMArena TextNot measured1288Only gpt-oss-20b measured
LMArena Text: instruction followingNot measured1236Only gpt-oss-20b measured
LMArena Text: creative writingNot measured1201Only gpt-oss-20b measured
LMArena Text: EnglishNot measured1303Only gpt-oss-20b measured
LMArena Text: non-EnglishNot measured1269Only gpt-oss-20b measured
LMArena Text: ChineseNot measured1315Only gpt-oss-20b measured
LMArena Text: GermanNot measured1255Only gpt-oss-20b measured
LMArena Text: JapaneseNot measured1244Only gpt-oss-20b measured
LMArena Text: KoreanNot measured1236Only gpt-oss-20b measured
LMArena Text: SpanishNot measured1267Only gpt-oss-20b measured
LMArena Text: RussianNot measured1278Only gpt-oss-20b measured
LMArena Text: PolishNot measured1252Only gpt-oss-20b measured
LMArena Text: multi-turnNot measured1268Only gpt-oss-20b measured
LMArena Text: longer queriesNot measured1250Only gpt-oss-20b measured
LMArena Text: writing and languageNot measured1238Only gpt-oss-20b measured
LMArena Text: entertainment and mediaNot measured1216Only gpt-oss-20b 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
Image generation benchmarks for GPT-4o-mini and gpt-oss-20b
BenchmarkGPT-4o-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-4o-mini$0.0004Fits in one request
gpt-oss-20b$0.0001Fits in one request

gpt-oss-20b costs less

Repository review

50K input + 3K output tokens

GPT-4o-mini$0.0093Fits in one request
gpt-oss-20b$0.0019Fits in one request

gpt-oss-20b costs less

Agent loop

200K input + 10K output tokens

GPT-4o-mini$0.036Exceeds the context window
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-4o-mini and gpt-oss-20b
SpecificationOpenAI GPT-4o-miniOpenAI gpt-oss-20b
MakerOpenAIOpenAI
WeightsNo public weights listedOpen weights
ReleasedJuly 18, 2024August 5, 2025
Context window128K131K
Input $/Mtok$0.15$0.03
Output $/Mtok$0.60$0.15
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4o-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-4o-mini for work measured by LiveCodeBench (Vals AI) or LiveCodeBench (Artificial Analysis run), where it leads.

Which is cheaper, GPT-4o-mini or gpt-oss-20b?

GPT-4o-mini costs $0.15 per million input tokens and $0.60 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-4o-mini or gpt-oss-20b?

gpt-oss-20b, with 131K tokens against 128K.

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

21 benchmarks have a result for both models as of October 21, 2026. GPT-4o-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