Model comparison

Claude Sonnet 5 vs gpt-oss-20b

Claude Sonnet 5 is the stronger model overall, scoring 54.6 to 32.5 on the Noometry Index. gpt-oss-20b costs 111× less per token, which makes it the better buy when Claude Sonnet 5's lead doesn't matter for your workload.

Last verified . 27 shared benchmarks.

Claude Sonnet 5 Anthropic

54.6

Rank #29 Confirmed

gpt-oss-20b OpenAI

32.5

Rank #255 Confirmed

Summary

  • They share 27 benchmarks with published results for both. Claude Sonnet 5 scores higher in 9 categories and gpt-oss-20b in 0 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Claude Sonnet 5 leads 69.2 to 35.5.
  • The biggest single-benchmark swing is LMCA: 50% for Claude Sonnet 5 and 14.5% for gpt-oss-20b.
  • gpt-oss-20b is cheaper at $0.018 / $0.09 per million input/output tokens, against $2 / $10 for Claude Sonnet 5.
  • Claude Sonnet 5 accepts more context: 1M tokens versus 131K.
  • gpt-oss-20b has downloadable open weights; the other is API-only.

Side by side

Claude Sonnet 5 and gpt-oss-20b specifications
Claude Sonnet 5gpt-oss-20b
ProviderAnthropicOpenAI
Noometry Index54.632.5
Released2026-06-292025-08-05
WeightsProprietaryOpen
Context window1M131K
Max output128K16K
Input $ / M tokens$2$0.018
Output $ / M tokens$10$0.09
Results tracked5134

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Claude Sonnet 5 leads

Claude Sonnet 5: 55.5 (#26), gpt-oss-20b: 37.6 (#192)

Coding benchmarks
BenchmarkClaude Sonnet 5gpt-oss-20b
SciCode54.3%34.4%
WeirdML68.8%40.9%
LMArena Coding14831306
ALE-Bench1,463566.05
DeepSWE53.8%—
FrontierCode42.7%—
CursorBench34.1%—
LMArena WebDev1541—
GSO37.3%—

Agentic & Tool Use Claude Sonnet 5 leads

Claude Sonnet 5: 42.8 (#18), gpt-oss-20b: 9.3 (#154)

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 5gpt-oss-20b
Terminal-Bench—3.4%
APEX-Agents54.5%—
GBAEval65.3%—
LMArena Search1194—
Vending-Bench 26,378—

Reasoning Claude Sonnet 5 leads

Claude Sonnet 5: 49.1 (#39), gpt-oss-20b: 19.3 (#261)

Reasoning benchmarks
BenchmarkClaude Sonnet 5gpt-oss-20b
CritPt16.9%1.4%
Chess Puzzles35%4%
LMArena Hard Prompts14611274
DTBench92.5%68%
LMCA50%14.5%
Epoch Capabilities Index156.21137.82
SimpleBench60.6%—
Kagi LLM Benchmark—53.2%
NYT Connections (extended)75.1%—
Mystery Game Puzzles35%—
Surface Evolver Bench60%—
Bench to the Future 30.14—
ForecastBench61.1—

Math Claude Sonnet 5 leads

Claude Sonnet 5: 66.2 (#27), gpt-oss-20b: 39.4 (#103)

Math benchmarks
BenchmarkClaude Sonnet 5gpt-oss-20b
OTIS Mock AIME 2024-202594.7%65.3%
LMArena Math14671317
FrontierMath (Tiers 1-3)65.6%—
FrontierMath Tier 429.3%—
ProofBench77%—
Omni-MATH—56.5%

Knowledge Claude Sonnet 5 leads

Claude Sonnet 5: 55.6 (#47), gpt-oss-20b: 34.6 (#195)

Knowledge benchmarks
BenchmarkClaude Sonnet 5gpt-oss-20b
GPQA Diamond90.5%60.8%
LMArena Expert14901258
SimpleQA Verified33.7%—
MMLU-Pro—74%
GPQA (HELM)—59.4%

Multimodal Not comparable

Claude Sonnet 5: 42.4 (#31), gpt-oss-20b: —

Multimodal benchmarks
BenchmarkClaude Sonnet 5gpt-oss-20b
LMArena Vision1274—
Blueprint-Bench 224.9%—
LMArena Document1466—

Multilingual Claude Sonnet 5 leads

Claude Sonnet 5: 53.8 (#55), gpt-oss-20b: 42.2 (#197)

Multilingual benchmarks
BenchmarkClaude Sonnet 5gpt-oss-20b
LMArena Non-English14311268
LMArena Chinese14771314
LMArena German14401255
LMArena Japanese14221244
LMArena Korean14111236
LMArena Russian14511278
LMArena Spanish14371267
LMArena French1460—

Instruction Following Claude Sonnet 5 leads

Claude Sonnet 5: 76.3 (#41), gpt-oss-20b: 61.8 (#240)

Instruction Following benchmarks
BenchmarkClaude Sonnet 5gpt-oss-20b
LMArena Instruction Following14521236
IFEval—73.2%

Long Context Claude Sonnet 5 leads

Claude Sonnet 5: 44.8 (#55), gpt-oss-20b: 37.9 (#209)

Long Context benchmarks
BenchmarkClaude Sonnet 5gpt-oss-20b
LMArena Longer Query14631250

Writing & Preference Claude Sonnet 5 leads

Claude Sonnet 5: 69.2 (#25), gpt-oss-20b: 35.5 (#265)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 5gpt-oss-20b
LMArena Text14421287
LMArena Creative Writing14161201
EQ-Bench Creative Writing1794666
LMArena Multi-Turn14541268
WildBench—73.7%
EQ-Bench 41236—

Frequently asked questions

Is Claude Sonnet 5 better than gpt-oss-20b?

Claude Sonnet 5 is the stronger model overall, scoring 54.6 to 32.5 on the Noometry Index. gpt-oss-20b costs 111× less per token, which makes it the better buy when Claude Sonnet 5's lead doesn't matter for your workload.

Which is cheaper, Claude Sonnet 5 or gpt-oss-20b?

gpt-oss-20b is cheaper. It lists at $0.018 per million input tokens and $0.09 per million output tokens; Claude Sonnet 5 lists at $2 and $10.

Is Claude Sonnet 5 or gpt-oss-20b better for coding?

Claude Sonnet 5 scores higher on coding benchmarks: 55.5 versus 37.6 in the Noometry coding category.

Which has the bigger context window?

Claude Sonnet 5 does, with 1M tokens against 131K.

How many benchmarks do Claude Sonnet 5 and gpt-oss-20b share?

27 benchmarks have published results for both models. Claude Sonnet 5 has 51 scored results on Noometry and gpt-oss-20b has 34.

Related comparisons

Go deeper