Claude Sonnet 4.6 vs gpt-oss-20b
Claude Sonnet 4.6 leads gpt-oss-20b on the Artificial Analysis Intelligence Index, 30.1 to 10.0, and gpt-oss-20b costs 100.0x less per output token ($0.15 vs $15.00 per million). Updated October 22, 2026; 53 benchmarks have a result for both.
Claude Sonnet 4.6 or gpt-oss-20b: which to pick
Only Claude Sonnet 4.6 has a coding score, 57.3 on the Vibe Coding Index; gpt-oss-20b has none, so the two cannot be ranked on coding.
Pick gpt-oss-20b for output tokens 100.0x cheaper ($0.15 vs $15.00 per million) and work measured by IFBench, where it leads.
- Shared results
- 53
- Claude Sonnet 4.6 only
- 65
- gpt-oss-20b only
- 9
- 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.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Only Claude Sonnet 4.6 has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
Claude Sonnet 4.6
Claude Sonnet 4.6 leads, 30.1 against 10.0.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Claude Sonnet 4.6 has a AA Agentic Index result, 31.8.
Directional only
Reasoning
GPQA Diamond
Claude Sonnet 4.6
Claude Sonnet 4.6 leads, 85.6% against 68.9%.
Same board, both measured
Math
AIME
Claude Sonnet 4.6
Claude Sonnet 4.6 leads, 92.3% against 86.0%.
Same board, both measured
Knowledge
MMLU Pro
Claude Sonnet 4.6
Claude Sonnet 4.6 leads, 87.3% against 71.6%.
Same board, both measured
Web design
Design Arena: websites
Claude Sonnet 4.6
Claude Sonnet 4.6 leads, 1284 against 852.
Same board, both measured
Long documents
Listed context window
Claude Sonnet 4.6
Claude Sonnet 4.6 takes 1M tokens against 131K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
gpt-oss-20b
Claude Sonnet 4.6 $0.011, gpt-oss-20b $0.0001 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Claude Sonnet 4.6 has the number, $1.68.
Directional only
At a glance
- Coding index
- Claude Sonnet 4.6 57.3 from 5 benchmarks, gpt-oss-20b not benchmarked.
- Widest category
- Web design, 48.6 points apart on average over 2 shared benchmarks.
- Widest single gap
- Design Arena: websites: Claude Sonnet 4.6 1284 against gpt-oss-20b 852, 54.0 points apart on a 0 to 100 scale.
- Output price
- Claude Sonnet 4.6 $15.00 against gpt-oss-20b $0.15 per million output tokens, 100.0x apart.
- Context window
- Claude Sonnet 4.6 takes 1M 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 | Claude Sonnet 4.6 | Bars | gpt-oss-20b | Ties |
|---|---|---|---|---|
| Coding | 7 | 0 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 7 | 0 | ||
| Math | 4 | 0 | ||
| Knowledge | 10 | 0 | ||
| Web design | 2 | 0 | ||
| General | 19 | 1 | ||
| All shared boards | 52 | 1 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index70
| Benchmark | Claude Sonnet 4.6 | gpt-oss-20b | Leader |
|---|---|---|---|
| LiveBench coding | 66.6% | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena WebDev | 1523 | Not measured | Only Claude Sonnet 4.6 measured |
| AA Coding Index | 63.0 | Not measured | Only Claude Sonnet 4.6 measured |
| LiveCodeBench (Vals AI) | 82.1% | 80.4% | Claude Sonnet 4.6 |
| SWE-bench Verified (Vals AI) | 77.4% | Not measured | Only Claude Sonnet 4.6 measured |
| Vibe Code Bench (Vals AI) | 55.8% | Not measured | Only Claude Sonnet 4.6 measured |
| Code migration (Vals AI) | 39.9% | Not measured | Only Claude Sonnet 4.6 measured |
| ProgramBench (Vals AI) | 0.5% | Not measured | Only Claude Sonnet 4.6 measured |
| Terminal-Bench 2.1 (Vals AI) | 57.3% | Not measured | Only Claude Sonnet 4.6 measured |
| SkillsBench (Vals AI) | 49.0% | Not measured | Only Claude Sonnet 4.6 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 77.7% | Only gpt-oss-20b measured |
| SciCode | 50.1% | 38.9% | Claude Sonnet 4.6 |
| Terminal-Bench Hard (Artificial Analysis run) | 53.0% | 10.6% | Claude Sonnet 4.6 |
| Terminal-Bench | 53.4% | 3.4% | Claude Sonnet 4.6 |
| FrontierCode | 24.3% | Not measured | Only Claude Sonnet 4.6 measured |
| WeirdML | 66.1% | 40.9% | Claude Sonnet 4.6 |
| ALE-Bench | Not measured | 566.0 | Only gpt-oss-20b measured |
| LMArena Text: coding | 1503 | 1307 | Claude Sonnet 4.6 |
| LMArena Text: software and IT | 1491 | 1311 | Claude Sonnet 4.6 |
| LMArena WebDev: React | 1512 | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena WebDev: HTML | 1527 | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena WebDev: from an image | 1529 | Not measured | Only Claude Sonnet 4.6 measured |
| Neither model has a result on the other 17 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Sonnet 4.6 | gpt-oss-20b | Leader |
|---|---|---|---|
| AA Intelligence Index | 30.1 | 10.0 | Claude Sonnet 4.6 |
| Epoch Capabilities Index | 152.8 | 137.7 | Claude Sonnet 4.6 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Claude Sonnet 4.6 | gpt-oss-20b | Leader |
|---|---|---|---|
| AA Agentic Index | 31.8 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: agents building web apps | 1190 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: agents building full-stack apps | 1213 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: agents building mobile apps | 1212 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: agents building Android apps | 1197 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: agents building Godot games | 1226 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: agents building games | 1177 | Not measured | Only Claude Sonnet 4.6 measured |
| LiveBench research | 63.6% | Not measured | Only Claude Sonnet 4.6 measured |
| LiveBench browser | 68.0% | Not measured | Only Claude Sonnet 4.6 measured |
| LiveBench long agentic | 23.1% | Not measured | Only Claude Sonnet 4.6 measured |
| Finance Agent (Vals AI) | 51.0% | Not measured | Only Claude Sonnet 4.6 measured |
| Tax Agent Bench (Vals AI) | 25.8% | Not measured | Only Claude Sonnet 4.6 measured |
| Legal Research Bench (Vals AI) | 38.5% | Not measured | Only Claude Sonnet 4.6 measured |
| Excel Modeling Benchmark (Vals AI) | 60.2% | Not measured | Only Claude Sonnet 4.6 measured |
| τ²-Bench Telecom | 79.5% | 60.2% | Claude Sonnet 4.6 |
| APEX-Agents | 43.0% | Not measured | Only Claude Sonnet 4.6 measured |
| OSWorld 2.0 | 9.3% | Not measured | Only Claude Sonnet 4.6 measured |
| DeepResearch Bench | 54.9% | Not measured | Only Claude Sonnet 4.6 measured |
| OSWorld | 72.1% | Not measured | Only Claude Sonnet 4.6 measured |
| Vending-Bench 2 | $7,204 | Not measured | Only Claude Sonnet 4.6 measured |
| BrowseComp-Plus | Not measured | 50.6% | Only gpt-oss-20b measured |
| Neither model has a result on the other 20 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index70
| Benchmark | Claude Sonnet 4.6 | gpt-oss-20b | Leader |
|---|---|---|---|
| GPQA Diamond | 85.6% | 68.9% | Claude Sonnet 4.6 |
| LiveBench reasoning | 86.4% | Not measured | Only Claude Sonnet 4.6 measured |
| MMMU Pro (Vals AI) | 83.6% | Not measured | Only Claude Sonnet 4.6 measured |
| GPQA Diamond (Artificial Analysis run) | 87.5% | 68.8% | Claude Sonnet 4.6 |
| Humanity's Last Exam (Artificial Analysis run) | 33.6% | 11.0% | Claude Sonnet 4.6 |
| GPQA Diamond (Epoch AI run) | 87.4% | 60.8% | Claude Sonnet 4.6 |
| ARC-AGI | 86.5% | Not measured | Only Claude Sonnet 4.6 measured |
| ARC-AGI-2 | 60.4% | Not measured | Only Claude Sonnet 4.6 measured |
| Chess puzzles | 23.0% | Not measured | Only Claude Sonnet 4.6 measured |
| Mystery game puzzles | 16.0% | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena Text: hard prompts | 1485 | 1274 | Claude Sonnet 4.6 |
| LMArena Text: expert | 1500 | 1258 | Claude Sonnet 4.6 |
| LMArena Text: hard prompts in English | 1493 | 1292 | Claude Sonnet 4.6 |
| LMArena Vision: diagrams | 1306 | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena Vision: homework | 1311 | Not measured | Only Claude Sonnet 4.6 measured |
| Kagi LLM Benchmark | Not measured | 53.2% | Only gpt-oss-20b measured |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | Claude Sonnet 4.6 | gpt-oss-20b | Leader |
|---|---|---|---|
| AIME | 92.3% | 86.0% | Claude Sonnet 4.6 |
| 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 | 85.8% | 65.3% | Claude Sonnet 4.6 |
| ProofBench | 45.0% | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena Text: math | 1462 | 1317 | Claude Sonnet 4.6 |
| LMArena Text: mathematical work | 1483 | 1305 | Claude Sonnet 4.6 |
| Neither model has a result on the other 4 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index100
| Benchmark | Claude Sonnet 4.6 | gpt-oss-20b | Leader |
|---|---|---|---|
| MMLU Pro | 87.3% | 71.6% | Claude Sonnet 4.6 |
| LegalBench (Vals AI) | 82.1% | 70.8% | Claude Sonnet 4.6 |
| CaseLaw (Vals AI) | 64.0% | 43.8% | Claude Sonnet 4.6 |
| CorpFin (Vals AI) | 65.3% | 53.1% | Claude Sonnet 4.6 |
| TaxEval (Vals AI) | 77.1% | 63.7% | Claude Sonnet 4.6 |
| MortgageTax (Vals AI) | 67.7% | Not measured | Only Claude Sonnet 4.6 measured |
| MedQA (Vals AI) | 92.1% | 82.9% | Claude Sonnet 4.6 |
| MMLU Pro (Artificial Analysis run) | Not measured | 74.8% | Only gpt-oss-20b measured |
| SimpleQA Verified | 35.5% | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena Text: science | 1474 | 1296 | Claude Sonnet 4.6 |
| LMArena Text: medicine and healthcare | 1451 | 1310 | Claude Sonnet 4.6 |
| LMArena Text: legal and government | 1470 | 1280 | Claude Sonnet 4.6 |
| LMArena Text: business and finance | 1464 | 1284 | Claude Sonnet 4.6 |
| FACTS Benchmark Suite | 37.0% | Not measured | Only Claude Sonnet 4.6 measured |
| Neither model has a result on the other 4 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Sonnet 4.6 | gpt-oss-20b | Leader |
|---|---|---|---|
| Design Arena: websites | 1284 | 852 | Claude Sonnet 4.6 |
| Design Arena: UI components | 1269 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: game dev | 1258 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: data viz | 1278 | 933 | Claude Sonnet 4.6 |
| Design Arena: 3D | 1234 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: all code categories | 1275 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: SVG | 1196 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: ASCII art | 1235 | Not measured | Only Claude Sonnet 4.6 measured |
| LiveBench design | 71.8% | Not measured | Only Claude Sonnet 4.6 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index191
| Benchmark | Claude Sonnet 4.6 | gpt-oss-20b | Leader |
|---|---|---|---|
| LiveBench data analysis | 76.1% | Not measured | Only Claude Sonnet 4.6 measured |
| Public Benefits Bench (Vals AI) | 62.5% | Not measured | Only Claude Sonnet 4.6 measured |
| SAGE (Vals AI) | 46.6% | Not measured | Only Claude Sonnet 4.6 measured |
| Vals Multimodal Index | 60.6% | Not measured | Only Claude Sonnet 4.6 measured |
| IFBench | 56.6% | 65.1% | gpt-oss-20b |
| Long context reasoning (AA-LCR) | 80.0% | 34.7% | Claude Sonnet 4.6 |
| DTBench | 89.9% | 68.0% | Claude Sonnet 4.6 |
| LMCA | 46.5% | 14.5% | Claude Sonnet 4.6 |
| ExploitBench | 23.6% | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena Text | 1458 | 1288 | Claude Sonnet 4.6 |
| LMArena Text: instruction following | 1476 | 1236 | Claude Sonnet 4.6 |
| LMArena Text: creative writing | 1435 | 1201 | Claude Sonnet 4.6 |
| LMArena Vision | 1283 | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena Text: English | 1472 | 1303 | Claude Sonnet 4.6 |
| LMArena Text: non-English | 1440 | 1269 | Claude Sonnet 4.6 |
| LMArena Text: Chinese | 1491 | 1315 | Claude Sonnet 4.6 |
| LMArena Text: German | 1428 | 1255 | Claude Sonnet 4.6 |
| LMArena Text: Japanese | 1420 | 1244 | Claude Sonnet 4.6 |
| LMArena Text: Korean | 1410 | 1236 | Claude Sonnet 4.6 |
| LMArena Text: French | 1465 | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena Text: Spanish | 1464 | 1267 | Claude Sonnet 4.6 |
| LMArena Text: Russian | 1440 | 1278 | Claude Sonnet 4.6 |
| LMArena Text: Polish | 1443 | 1252 | Claude Sonnet 4.6 |
| LMArena Text: multi-turn | 1464 | 1268 | Claude Sonnet 4.6 |
| LMArena Text: longer queries | 1479 | 1250 | Claude Sonnet 4.6 |
| LMArena Text: writing and language | 1444 | 1238 | Claude Sonnet 4.6 |
| LMArena Text: entertainment and media | 1431 | 1216 | Claude Sonnet 4.6 |
| LMArena Vision: English | 1298 | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena Vision: Chinese | 1307 | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena Vision: reading text | 1296 | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena Vision: humor | 1248 | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena Vision: recognizing things | 1195 | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena Vision: creative writing | 1272 | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena Document | 1482 | Not measured | Only Claude Sonnet 4.6 measured |
| Neither model has a result on the other 12 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Sonnet 4.6 | 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 | Anthropic Claude Sonnet 4.6 | OpenAI gpt-oss-20b |
|---|---|---|
| Maker | Anthropic | OpenAI |
| Weights | No public weights listed | Open weights |
| Released | February 17, 2026 | August 5, 2025 |
| Context window | 1M | 131K |
| Input $/Mtok | $3.00 | $0.03 |
| Output $/Mtok | $15.00 | $0.15 |
| Coding index | 57.3 | Not benchmarked |
| Independent measurements behind it | 5 | 0 |
| Cost per solved task | $1.68 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Sonnet 4.6 better than gpt-oss-20b for coding?
Only Claude Sonnet 4.6 has a coding score, 57.3 on the Vibe Coding Index; gpt-oss-20b has none, so the two cannot be ranked on coding. Pick gpt-oss-20b for output tokens 100.0x cheaper ($0.15 vs $15.00 per million) and work measured by IFBench, where it leads.
Which is cheaper, Claude Sonnet 4.6 or gpt-oss-20b?
Claude Sonnet 4.6 costs $3.00 per million input tokens and $15.00 per million output tokens; gpt-oss-20b costs $0.03 and $0.15. Cost per solved task is known for Claude Sonnet 4.6 only.
Which has the bigger context window, Claude Sonnet 4.6 or gpt-oss-20b?
Claude Sonnet 4.6, with 1M tokens against 131K.
How many benchmarks is the Claude Sonnet 4.6 vs gpt-oss-20b comparison based on?
53 benchmarks have a result for both models as of October 22, 2026. Claude Sonnet 4.6's coding index rests on 5 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.