Enter opens the highlighted result. Esc closes.

GPT-5.1-Codex-Mini vs gpt-oss-20b

GPT-5.1-Codex-Mini leads gpt-oss-20b on the Artificial Analysis Intelligence Index, 20.4 to 10.0, and gpt-oss-20b costs 13.3x less per output token ($0.15 vs $2.00 per million). Updated October 21, 2026; 14 benchmarks have a result for both.

GPT-5.1-Codex-MiniOpenAI
Coding
No data
Overall
No data
Output $/M
$2.00
14
gpt-oss-20bOpenAI
Coding
No data
Overall
38.5
Output $/M
$0.15
0
vs boards won of 14 shared

GPT-5.1-Codex-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-5.1-Codex-Mini for a larger context window (400K against 131K tokens).

Shared results
14
GPT-5.1-Codex-Mini only
8
gpt-oss-20b only
48
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-5.1-Codex-Mini not benchmarked, gpt-oss-20b not benchmarked.
Widest category
Coding, 28.9 points apart on average over 3 shared benchmarks.
Widest single gap
Terminal-Bench: GPT-5.1-Codex-Mini 61.6% against gpt-oss-20b 3.4%, 58.2 points apart on a 0 to 100 scale.
Output price
GPT-5.1-Codex-Mini $2.00 against gpt-oss-20b $0.15 per million output tokens, 13.3x apart.
Context window
GPT-5.1-Codex-Mini 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.

Boards won, where both have a result
CategoryGPT-5.1-Codex-MiniBarsgpt-oss-20bTies
Coding30
Intelligence10
Agentic work10
Reasoning20
Math20
Knowledge10
Web design20
General20
All shared boards140
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
Coding benchmarks for GPT-5.1-Codex-Mini and gpt-oss-20b
BenchmarkGPT-5.1-Codex-Minigpt-oss-20bLeader
LMArena WebDev1244Not measuredOnly GPT-5.1-Codex-Mini measured
LiveCodeBench (Vals AI)Not measured80.4%Only gpt-oss-20b measured
LiveCodeBench (Artificial Analysis run)83.6%77.7%GPT-5.1-Codex-Mini
SciCodeNot measured38.9%Only gpt-oss-20b measured
Terminal-Bench Hard (Artificial Analysis run)33.3%10.6%GPT-5.1-Codex-Mini
Terminal-Bench61.6%3.4%GPT-5.1-Codex-Mini
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
LMArena WebDev: HTML1253Not measuredOnly GPT-5.1-Codex-Mini measured
Neither model has a result on the other 28 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GPT-5.1-Codex-Mini and gpt-oss-20b
BenchmarkGPT-5.1-Codex-Minigpt-oss-20bLeader
AA Intelligence Index20.410.0GPT-5.1-Codex-Mini
Epoch Capabilities IndexNot measured137.7Only gpt-oss-20b measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GPT-5.1-Codex-Mini and gpt-oss-20b
BenchmarkGPT-5.1-Codex-Minigpt-oss-20bLeader
τ²-Bench Telecom62.9%60.2%GPT-5.1-Codex-Mini
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 index20
Reasoning benchmarks for GPT-5.1-Codex-Mini and gpt-oss-20b
BenchmarkGPT-5.1-Codex-Minigpt-oss-20bLeader
GPQA DiamondNot measured68.9%Only gpt-oss-20b measured
GPQA Diamond (Artificial Analysis run)81.3%68.8%GPT-5.1-Codex-Mini
Humanity's Last Exam (Artificial Analysis run)18.5%11.0%GPT-5.1-Codex-Mini
GPQA Diamond (Epoch AI run)Not measured60.8%Only gpt-oss-20b 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 BenchmarkNot measured53.2%Only gpt-oss-20b measured
Neither model has a result on the other 14 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index20
Math benchmarks for GPT-5.1-Codex-Mini and gpt-oss-20b
BenchmarkGPT-5.1-Codex-Minigpt-oss-20bLeader
AIMENot measured86.0%Only gpt-oss-20b measured
MATH 500 (Vals AI)Not measured94.2%Only gpt-oss-20b measured
MGSM (Vals AI)Not measured89.0%Only gpt-oss-20b measured
AA Math Index91.789.3GPT-5.1-Codex-Mini
AIME 2025 (Artificial Analysis run)91.7%89.3%GPT-5.1-Codex-Mini
OTIS Mock AIMENot measured65.3%Only gpt-oss-20b 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 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index10
Knowledge benchmarks for GPT-5.1-Codex-Mini and gpt-oss-20b
BenchmarkGPT-5.1-Codex-Minigpt-oss-20bLeader
MMLU ProNot measured71.6%Only gpt-oss-20b measured
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)Not measured53.1%Only gpt-oss-20b measured
TaxEval (Vals AI)Not measured63.7%Only gpt-oss-20b measured
MedQA (Vals AI)Not measured82.9%Only gpt-oss-20b measured
MMLU Pro (Artificial Analysis run)82.0%74.8%GPT-5.1-Codex-Mini
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 7 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index20
Web design benchmarks for GPT-5.1-Codex-Mini and gpt-oss-20b
BenchmarkGPT-5.1-Codex-Minigpt-oss-20bLeader
Design Arena: websites1111852GPT-5.1-Codex-Mini
Design Arena: UI components1081Not measuredOnly GPT-5.1-Codex-Mini measured
Design Arena: game dev1092Not measuredOnly GPT-5.1-Codex-Mini measured
Design Arena: data viz1097933GPT-5.1-Codex-Mini
Design Arena: 3D988Not measuredOnly GPT-5.1-Codex-Mini measured
Design Arena: all code categories1094Not measuredOnly GPT-5.1-Codex-Mini measured
Design Arena: SVG978Not measuredOnly GPT-5.1-Codex-Mini measured
Design Arena: ASCII art1105Not measuredOnly GPT-5.1-Codex-Mini measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index20
General benchmarks for GPT-5.1-Codex-Mini and gpt-oss-20b
BenchmarkGPT-5.1-Codex-Minigpt-oss-20bLeader
IFBench67.9%65.1%GPT-5.1-Codex-Mini
Long context reasoning (AA-LCR)66.7%34.7%GPT-5.1-Codex-Mini
DTBenchNot measured68.0%Only gpt-oss-20b measured
LMCANot measured14.5%Only gpt-oss-20b 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 26 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-5.1-Codex-Mini and gpt-oss-20b
BenchmarkGPT-5.1-Codex-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-5.1-Codex-Mini$0.0013Fits in one request
gpt-oss-20b$0.0001Fits in one request

gpt-oss-20b costs less

Repository review

50K input + 3K output tokens

GPT-5.1-Codex-Mini$0.018Fits in one request
gpt-oss-20b$0.0019Fits in one request

gpt-oss-20b costs less

Agent loop

200K input + 10K output tokens

GPT-5.1-Codex-Mini$0.070Fits 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-5.1-Codex-Mini and gpt-oss-20b
SpecificationOpenAI GPT-5.1-Codex-MiniOpenAI gpt-oss-20b
MakerOpenAIOpenAI
WeightsNo public weights listedOpen weights
ReleasedNovember 13, 2025August 5, 2025
Context window400K131K
Input $/Mtok$0.25$0.03
Output $/Mtok$2.00$0.15
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it10
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.1-Codex-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-5.1-Codex-Mini for a larger context window (400K against 131K tokens).

Which is cheaper, GPT-5.1-Codex-Mini or gpt-oss-20b?

GPT-5.1-Codex-Mini costs $0.25 per million input tokens and $2.00 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-5.1-Codex-Mini or gpt-oss-20b?

GPT-5.1-Codex-Mini, with 400K tokens against 131K.

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

14 benchmarks have a result for both models as of October 21, 2026. GPT-5.1-Codex-Mini's coding index rests on 1 independent benchmark 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