GPT-5.1-Codex-Max vs gpt-oss-20b
gpt-oss-20b costs 66.7x less per output token than GPT-5.1-Codex-Max ($0.15 vs $10.00 per million). Updated October 21, 2026; 3 benchmarks have a result for both.
GPT-5.1-Codex-Max 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-Max for a larger context window (400K against 131K tokens).
- Shared results
- 3
- GPT-5.1-Codex-Max only
- 3
- gpt-oss-20b only
- 59
- Like-for-like categories
- 1 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.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
No call
Only gpt-oss-20b has a AA Intelligence Index result, 10.0.
Directional only
Reasoning
GPQA Diamond
No call
Only gpt-oss-20b has a GPQA Diamond result, 68.9%.
Directional only
Math
AIME
No call
Only gpt-oss-20b has a AIME result, 86.0%.
Directional only
Knowledge
MMLU Pro
No call
Only gpt-oss-20b has a MMLU Pro result, 71.6%.
Directional only
Web design
Design Arena: websites
No call
Only gpt-oss-20b has a Design Arena: websites result, 852.
Directional only
Long documents
Listed context window
GPT-5.1-Codex-Max
GPT-5.1-Codex-Max takes 400K tokens against 131K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
gpt-oss-20b
GPT-5.1-Codex-Max $0.0063, gpt-oss-20b $0.0001 per turn.
List prices
At a glance
- Coding index
- GPT-5.1-Codex-Max not benchmarked, gpt-oss-20b not benchmarked.
- Widest category
- Coding, 27.4 points apart on average over 3 shared benchmarks.
- Widest single gap
- Terminal-Bench: GPT-5.1-Codex-Max 60.4% against gpt-oss-20b 3.4%, 57.0 points apart on a 0 to 100 scale.
- Output price
- GPT-5.1-Codex-Max $10.00 against gpt-oss-20b $0.15 per million output tokens, 66.7x apart.
- Context window
- GPT-5.1-Codex-Max 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.
| Category | GPT-5.1-Codex-Max | Bars | gpt-oss-20b | Ties |
|---|---|---|---|---|
| Coding | 3 | 0 | ||
| All shared boards | 3 | 0 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
| Benchmark | GPT-5.1-Codex-Max | gpt-oss-20b | Leader |
|---|---|---|---|
| LiveCodeBench (Vals AI) | 83.6% | 80.4% | GPT-5.1-Codex-Max |
| Vibe Code Bench (Vals AI) | 22.2% | Not measured | Only GPT-5.1-Codex-Max measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 77.7% | Only gpt-oss-20b measured |
| SciCode | Not measured | 38.9% | Only gpt-oss-20b measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 10.6% | Only gpt-oss-20b measured |
| Terminal-Bench | 60.4% | 3.4% | GPT-5.1-Codex-Max |
| WeirdML | Not measured | 40.9% | Only gpt-oss-20b measured |
| ALE-Bench | 1228.3 | 566.0 | GPT-5.1-Codex-Max |
| LMArena Text: coding | Not measured | 1307 | Only gpt-oss-20b measured |
| LMArena Text: software and IT | Not measured | 1311 | Only gpt-oss-20b measured |
| Neither model has a result on the other 29 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
| Benchmark | GPT-5.1-Codex-Max | gpt-oss-20b | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 10.0 | Only gpt-oss-20b measured |
| Epoch Capabilities Index | Not measured | 137.7 | Only gpt-oss-20b measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
| Benchmark | GPT-5.1-Codex-Max | gpt-oss-20b | Leader |
|---|---|---|---|
| τ²-Bench Telecom | Not measured | 60.2% | Only gpt-oss-20b measured |
| METR time horizons | 70.8% | Not measured | Only GPT-5.1-Codex-Max measured |
| BrowseComp-Plus | Not measured | 50.6% | Only gpt-oss-20b measured |
| Neither model has a result on the other 38 boards here | |||
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | GPT-5.1-Codex-Max | gpt-oss-20b | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 68.9% | Only gpt-oss-20b measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 68.8% | Only gpt-oss-20b measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 11.0% | Only gpt-oss-20b measured |
| GPQA Diamond (Epoch AI run) | Not measured | 60.8% | Only gpt-oss-20b measured |
| LMArena Text: hard prompts | Not measured | 1274 | Only gpt-oss-20b measured |
| LMArena Text: expert | Not measured | 1258 | Only gpt-oss-20b measured |
| LMArena Text: hard prompts in English | Not measured | 1292 | Only gpt-oss-20b measured |
| Kagi LLM Benchmark | Not measured | 53.2% | Only 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 index9 boards, none shared
| Benchmark | GPT-5.1-Codex-Max | gpt-oss-20b | Leader |
|---|---|---|---|
| AIME | Not measured | 86.0% | Only gpt-oss-20b measured |
| MATH 500 (Vals AI) | Not measured | 94.2% | Only gpt-oss-20b measured |
| MGSM (Vals AI) | Not measured | 89.0% | Only gpt-oss-20b measured |
| AA Math Index | Not measured | 89.3 | Only gpt-oss-20b measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 89.3% | Only gpt-oss-20b measured |
| OTIS Mock AIME | Not measured | 65.3% | Only gpt-oss-20b measured |
| ProofBench | 9.0% | Not measured | Only GPT-5.1-Codex-Max measured |
| LMArena Text: math | Not measured | 1317 | Only gpt-oss-20b measured |
| LMArena Text: mathematical work | Not measured | 1305 | Only gpt-oss-20b measured |
| Neither model has a result on the other 4 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
| Benchmark | GPT-5.1-Codex-Max | gpt-oss-20b | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 71.6% | Only gpt-oss-20b measured |
| LegalBench (Vals AI) | Not measured | 70.8% | Only gpt-oss-20b measured |
| CaseLaw (Vals AI) | Not measured | 43.8% | Only gpt-oss-20b measured |
| CorpFin (Vals AI) | Not measured | 53.1% | Only gpt-oss-20b measured |
| TaxEval (Vals AI) | Not measured | 63.7% | Only gpt-oss-20b measured |
| MedQA (Vals AI) | Not measured | 82.9% | Only gpt-oss-20b measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 74.8% | Only gpt-oss-20b measured |
| LMArena Text: science | Not measured | 1296 | Only gpt-oss-20b measured |
| LMArena Text: medicine and healthcare | Not measured | 1310 | Only gpt-oss-20b measured |
| LMArena Text: legal and government | Not measured | 1280 | Only gpt-oss-20b measured |
| LMArena Text: business and finance | Not measured | 1284 | Only gpt-oss-20b measured |
| Neither model has a result on the other 7 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
| Benchmark | GPT-5.1-Codex-Max | gpt-oss-20b | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 852 | Only gpt-oss-20b measured |
| Design Arena: data viz | Not measured | 933 | Only gpt-oss-20b measured |
| Neither model has a result on the other 7 boards here | |||
GeneralDirectional onlyPublic boards, shown as published, kept out of the index20 boards, none shared
| Benchmark | GPT-5.1-Codex-Max | gpt-oss-20b | Leader |
|---|---|---|---|
| IFBench | Not measured | 65.1% | Only gpt-oss-20b measured |
| Long context reasoning (AA-LCR) | Not measured | 34.7% | Only gpt-oss-20b measured |
| DTBench | Not measured | 68.0% | Only gpt-oss-20b measured |
| LMCA | Not measured | 14.5% | Only gpt-oss-20b measured |
| LMArena Text | Not measured | 1288 | Only gpt-oss-20b measured |
| LMArena Text: instruction following | Not measured | 1236 | Only gpt-oss-20b measured |
| LMArena Text: creative writing | Not measured | 1201 | Only gpt-oss-20b measured |
| LMArena Text: English | Not measured | 1303 | Only gpt-oss-20b measured |
| LMArena Text: non-English | Not measured | 1269 | Only gpt-oss-20b measured |
| LMArena Text: Chinese | Not measured | 1315 | Only gpt-oss-20b measured |
| LMArena Text: German | Not measured | 1255 | Only gpt-oss-20b measured |
| LMArena Text: Japanese | Not measured | 1244 | Only gpt-oss-20b measured |
| LMArena Text: Korean | Not measured | 1236 | Only gpt-oss-20b measured |
| LMArena Text: Spanish | Not measured | 1267 | Only gpt-oss-20b measured |
| LMArena Text: Russian | Not measured | 1278 | Only gpt-oss-20b measured |
| LMArena Text: Polish | Not measured | 1252 | Only gpt-oss-20b measured |
| LMArena Text: multi-turn | Not measured | 1268 | Only gpt-oss-20b measured |
| LMArena Text: longer queries | Not measured | 1250 | Only gpt-oss-20b measured |
| LMArena Text: writing and language | Not measured | 1238 | Only gpt-oss-20b measured |
| LMArena Text: entertainment and media | Not measured | 1216 | Only 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
| Benchmark | GPT-5.1-Codex-Max | gpt-oss-20b | Leader |
|---|---|---|---|
| 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-oss-20b costs less
Repository review
50K input + 3K output tokens
gpt-oss-20b costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | OpenAI GPT-5.1-Codex-Max | OpenAI gpt-oss-20b |
|---|---|---|
| Maker | OpenAI | OpenAI |
| Weights | No public weights listed | Open weights |
| Released | December 4, 2025 | August 5, 2025 |
| Context window | 400K | 131K |
| Input $/Mtok | $1.25 | $0.03 |
| Output $/Mtok | $10.00 | $0.15 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 1 | 0 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5.1-Codex-Max 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-Max for a larger context window (400K against 131K tokens).
Which is cheaper, GPT-5.1-Codex-Max or gpt-oss-20b?
GPT-5.1-Codex-Max costs $1.25 per million input tokens and $10.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-Max or gpt-oss-20b?
GPT-5.1-Codex-Max, with 400K tokens against 131K.
How many benchmarks is the GPT-5.1-Codex-Max vs gpt-oss-20b comparison based on?
3 benchmarks have a result for both models as of October 21, 2026. GPT-5.1-Codex-Max'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.