Claude Sonnet 5vsgpt-oss-20b

Claude Sonnet 5
gpt-oss-20b
Specifications
Parameters
21B
Context window
128k
Benchmarks
Nonsense detection
BullshitBench v2
80%
Prompt injection robustness
Gray Swan IPI · k = 1
0.6%
Prompt injection robustness
Gray Swan IPI · k = 10
4.7%
Prompt injection robustness
Gray Swan IPI · k = 15
5.9%
Agentic coding
SWE-Bench Pro
63.2%
Coding
SWE-Bench Verified
60.7%
Agentic coding
CursorBench v3.2
61.5%
Agentic coding
CursorBench v3.1
61.2%
Next.js coding
Next.js Evals
79%
Supabase coding
Supabase Evals · with skills
95.5%
Supabase coding
Supabase Evals · no skills
90.9%
Agentic computer work
Frontier-Bench v0.1
14.6%
Agentic terminal coding
Terminal-Bench 2.1
80.4%
Web browsing
BrowseComp
84.7%
Multidisciplinary reasoning
Humanity's Last Exam · no tools
43.2%Best
10.9%
Multidisciplinary reasoning
Humanity's Last Exam · with tools
57.4%Best
17.3%
Science
GPQA Diamond
71.5%
General knowledge
MMLU
85.3%
Agentic computer use
OSWorld-Verified
81.2%
Knowledge work
GDPval-AA
1618
Community preference
Arena Elo (Text)
1463
Community preference (code)
Arena Elo (Code)
1543
Overview
CompanyAnthropicOpenAI
Release dateJun 30 2026Aug 5 2025
AccessProprietaryOpen Weight

Which is better: Claude Sonnet 5 or gpt-oss-20b?

Claude Sonnet 5 leads gpt-oss-20b on 2 of the 2 benchmarks they both report (Humanity's Last Exam). gpt-oss-20b shipped 329 days before Claude Sonnet 5, so benchmark comparisons should account for the intervening progress.

Claude Sonnet 5 is proprietary, while gpt-oss-20b is open weight.

On Humanity's Last Exam · no tools, Claude Sonnet 5 leads at 43.2% vs gpt-oss-20b at 10.9%. On Humanity's Last Exam · with tools, Claude Sonnet 5 leads at 57.4% vs gpt-oss-20b at 17.3%.

Frequently asked questions

Claude Sonnet 5 was released by Anthropic on Jun 30 2026.

gpt-oss-20b was released by OpenAI on Aug 5 2025.

Claude Sonnet 5 leads on Humanity's Last Exam · no tools — Claude Sonnet 5 43.2% vs gpt-oss-20b 10.9%.

Claude Sonnet 5 is a proprietary model released by Anthropic. gpt-oss-20b is an open weight model released by OpenAI.

Other comparisons