Enter opens the highlighted result. Esc closes.

GPT-5.2-Codex vs gpt-oss-20b

Updated October 21, 2026. 10 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

GPT-5.2-CodexOpenAI
Coding
45.4
Overall
28.5
Output $/M
$14.00
10
gpt-oss-20bOpenAI
Coding
No data
Overall
10.0
Output $/M
$0.15
0
vs boards won of 10 shared

Decision reading

Only GPT-5.2-Codex has a coding score, 45.4 on the Vibe Coding Index; gpt-oss-20b has none, so the two cannot be ranked on coding.

gpt-oss-20b has the edge where output tokens cost 93.3x less.

Shared results
10
GPT-5.2-Codex only
12
gpt-oss-20b only
50
Like-for-like categories
5 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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.2-Codex 45.4 from 3 benchmarks, gpt-oss-20b not benchmarked.
Widest category
Agentic work, 31.9 points apart on average over 1 shared benchmark.
Widest single gap
Terminal-Bench: GPT-5.2-Codex 66.5% against gpt-oss-20b 3.4%, 63.1 points apart on a 0 to 100 scale.
Output price
GPT-5.2-Codex $14.00 against gpt-oss-20b $0.15 per million output tokens, 93.3x apart.
Context window
GPT-5.2-Codex 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.2-CodexBarsgpt-oss-20bTies
Coding40
Intelligence10
Agentic work10
Reasoning20
General20
All shared boards100
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
Coding benchmarks for GPT-5.2-Codex and gpt-oss-20b
BenchmarkGPT-5.2-Codexgpt-oss-20bLeader
SWE-bench Verified72.8%Not measuredOnly GPT-5.2-Codex measured
SWE-bench Multilingual66.3%Not measuredOnly GPT-5.2-Codex measured
LMArena WebDev1339Not measuredOnly GPT-5.2-Codex measured
LiveCodeBench (Vals AI)88.0%80.4%GPT-5.2-Codex
SWE-bench Verified (Vals AI)72.4%Not measuredOnly GPT-5.2-Codex measured
Vibe Code Bench (Vals AI)37.9%Not measuredOnly GPT-5.2-Codex measured
LiveCodeBench (Artificial Analysis run)Not measured77.7%Only gpt-oss-20b measured
SciCodeNot measured38.9%Only gpt-oss-20b measured
Terminal-Bench Hard (Artificial Analysis run)37.1%10.6%GPT-5.2-Codex
Terminal-Bench66.5%3.4%GPT-5.2-Codex
WeirdMLNot measured40.9%Only gpt-oss-20b measured
ALE-Bench1299.9566.0GPT-5.2-Codex
LMArena Text: codingNot measured1307Only gpt-oss-20b measured
LMArena Text: software and ITNot measured1311Only gpt-oss-20b measured
LMArena WebDev: React1329Not measuredOnly GPT-5.2-Codex measured
LMArena WebDev: HTML1348Not measuredOnly GPT-5.2-Codex measured
Neither model has a result on the other 22 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GPT-5.2-Codex and gpt-oss-20b
BenchmarkGPT-5.2-Codexgpt-oss-20bLeader
AA Intelligence Index28.510.0GPT-5.2-Codex
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.2-Codex and gpt-oss-20b
BenchmarkGPT-5.2-Codexgpt-oss-20bLeader
Design Arena: agents building web apps1051Not measuredOnly GPT-5.2-Codex measured
Design Arena: agents building full-stack apps993Not measuredOnly GPT-5.2-Codex measured
Design Arena: agents building mobile apps1089Not measuredOnly GPT-5.2-Codex measured
Design Arena: agents building Android apps1176Not measuredOnly GPT-5.2-Codex measured
Design Arena: agents building Godot games1142Not measuredOnly GPT-5.2-Codex measured
τ²-Bench Telecom92.1%60.2%GPT-5.2-Codex
Neither model has a result on the other 33 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
Reasoning benchmarks for GPT-5.2-Codex and gpt-oss-20b
BenchmarkGPT-5.2-Codexgpt-oss-20bLeader
GPQA DiamondNot measured68.9%Only gpt-oss-20b measured
GPQA Diamond (Artificial Analysis run)89.9%68.8%GPT-5.2-Codex
Humanity's Last Exam (Artificial Analysis run)35.7%11.0%GPT-5.2-Codex
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
Neither model has a result on the other 14 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Math benchmarks for GPT-5.2-Codex and gpt-oss-20b
BenchmarkGPT-5.2-Codexgpt-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 IndexNot measured89.3Only gpt-oss-20b measured
AIME 2025 (Artificial Analysis run)Not measured89.3%Only gpt-oss-20b measured
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
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
Knowledge benchmarks for GPT-5.2-Codex and gpt-oss-20b
BenchmarkGPT-5.2-Codexgpt-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)Not measured74.8%Only gpt-oss-20b 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 6 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Web design benchmarks for GPT-5.2-Codex and gpt-oss-20b
BenchmarkGPT-5.2-Codexgpt-oss-20bLeader
Design Arena: websitesNot measured853Only 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 index20
General benchmarks for GPT-5.2-Codex and gpt-oss-20b
BenchmarkGPT-5.2-Codexgpt-oss-20bLeader
IFBench77.6%65.1%GPT-5.2-Codex
Long context reasoning (AA-LCR)82.3%34.7%GPT-5.2-Codex
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.2-Codex and gpt-oss-20b
BenchmarkGPT-5.2-Codexgpt-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.2-Codex$0.0088Fits 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.2-Codex$0.130Fits 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.2-Codex$0.490Fits 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.2-Codex and gpt-oss-20b
SpecificationOpenAI GPT-5.2-CodexOpenAI gpt-oss-20b
MakerOpenAIOpenAI
WeightsNo public weights listedOpen weights
ReleasedJanuary 14, 2026August 5, 2025
Context window400K131K
Input $/Mtok$1.75$0.03
Output $/Mtok$14.00$0.15
Coding index45.4Not benchmarked
Independent measurements behind it30
Cost per solved task$0.43Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.2-Codex better than gpt-oss-20b for coding?

Only GPT-5.2-Codex has a coding score, 45.4 on the Vibe Coding Index; gpt-oss-20b has none, so the two cannot be ranked on coding. gpt-oss-20b has the edge where output tokens cost 93.3x less.

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

GPT-5.2-Codex costs $1.75 per million input tokens and $14.00 per million output tokens; gpt-oss-20b costs $0.03 and $0.15. Cost per solved task is known for GPT-5.2-Codex only.

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

GPT-5.2-Codex, with 400K tokens against 131K.

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

10 benchmarks have a result for both models as of October 21, 2026. GPT-5.2-Codex's coding index rests on 3 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