Model comparison

Claude Sonnet 4 vs gpt-oss-20b

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

Last verified . 32 shared benchmarks.

Claude Sonnet 4 Anthropic

40.8

Rank #145 Confirmed

gpt-oss-20b OpenAI

32.5

Rank #255 Confirmed

Summary

  • They share 32 benchmarks with published results for both. Claude Sonnet 4 scores higher in 8 categories and gpt-oss-20b in 1 category; 9 gaps are clear of the uncertainty.
  • The widest gap is in agentic & tool use, where Claude Sonnet 4 leads 38.5 to 9.3.
  • The biggest single-benchmark swing is Kagi LLM Benchmark: 73% for Claude Sonnet 4 and 53.2% for gpt-oss-20b.
  • gpt-oss-20b is cheaper at $0.018 / $0.09 per million input/output tokens, against $3 / $15 for Claude Sonnet 4.
  • Claude Sonnet 4 accepts more context: 200K tokens versus 131K.
  • gpt-oss-20b has downloadable open weights; the other is API-only.

Side by side

Claude Sonnet 4 and gpt-oss-20b specifications
Claude Sonnet 4gpt-oss-20b
ProviderAnthropicOpenAI
Noometry Index40.832.5
Released2025-05-222025-08-05
WeightsProprietaryOpen
Context window200K131K
Max output64K16K
Input $ / M tokens$3$0.018
Output $ / M tokens$15$0.09
Results tracked5834

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

Category by category

Coding Claude Sonnet 4 leads

Claude Sonnet 4: 43.5 (#88), gpt-oss-20b: 37.6 (#192)

Coding benchmarks
BenchmarkClaude Sonnet 4gpt-oss-20b
SciCode40%34.4%
WeirdML46.1%40.9%
LMArena Coding14141306
ALE-Bench655.35566.05
SWE-bench Verified (bash only)64.9%—
Aider Polyglot61.3%—
GSO4.9%—

Agentic & Tool Use Claude Sonnet 4 leads

Claude Sonnet 4: 38.5 (#31), gpt-oss-20b: 9.3 (#154)

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 4gpt-oss-20b
Terminal-Bench—3.4%
TheAgentCompany33.1%—
Cybench35%—
DeepResearch Bench46.6%—
OSWorld43.9%—
METR Time Horizons62%—

Reasoning Claude Sonnet 4 leads

Claude Sonnet 4: 22.9 (#187), gpt-oss-20b: 19.3 (#261)

Reasoning benchmarks
BenchmarkClaude Sonnet 4gpt-oss-20b
Kagi LLM Benchmark73%53.2%
CritPt0.3%1.4%
LMArena Hard Prompts13721274
DTBench77.1%68%
LMCA29%14.5%
Epoch Capabilities Index141.69137.82
ARC-AGI-25.9%—
SimpleBench45.5%—
ARC-AGI-140%—
Chess Puzzles—4%
EnigmaEval3.1%—
ForecastBench60.2—

Math Claude Sonnet 4 leads

Claude Sonnet 4: 43.3 (#80), gpt-oss-20b: 39.4 (#103)

Math benchmarks
BenchmarkClaude Sonnet 4gpt-oss-20b
OTIS Mock AIME 2024-202571.1%65.3%
Omni-MATH60.2%56.5%
LMArena Math13751317
MATH Level 584.4%—
FrontierMath (Feb 2025 set)4.1%—
FrontierMath Tier 4 (v1)0%—

Knowledge Claude Sonnet 4 leads

Claude Sonnet 4: 41.8 (#108), gpt-oss-20b: 34.6 (#195)

Knowledge benchmarks
BenchmarkClaude Sonnet 4gpt-oss-20b
GPQA Diamond79.2%60.8%
MMLU-Pro84.3%74%
GPQA (HELM)70.6%59.4%
LMArena Expert13721258
Humanity's Last Exam7.8%—
Confabulations13.2%—
Vectara Hallucination Rate10.3%—

Multimodal Not comparable

Claude Sonnet 4: 26.2 (#121), gpt-oss-20b: —

Multimodal benchmarks
BenchmarkClaude Sonnet 4gpt-oss-20b
LMArena Vision1191—
GeoBench37%—
VPCT34%—
MindCube44.8%—

Multilingual Claude Sonnet 4 leads

Claude Sonnet 4: 46.7 (#156), gpt-oss-20b: 42.2 (#197)

Multilingual benchmarks
BenchmarkClaude Sonnet 4gpt-oss-20b
LMArena Non-English13331268
LMArena Chinese13501314
LMArena German13311255
LMArena Japanese13021244
LMArena Korean12911236
LMArena Russian13551278
LMArena Spanish13571267
LMArena French1363—

Instruction Following Claude Sonnet 4 leads

Claude Sonnet 4: 71.7 (#145), gpt-oss-20b: 61.8 (#240)

Instruction Following benchmarks
BenchmarkClaude Sonnet 4gpt-oss-20b
IFEval84%73.2%
LMArena Instruction Following13761236

Long Context gpt-oss-20b leads

Claude Sonnet 4: 33.7 (#259), gpt-oss-20b: 37.9 (#209)

Long Context benchmarks
BenchmarkClaude Sonnet 4gpt-oss-20b
LMArena Longer Query13981250
Fiction.LiveBench46.9%—

Writing & Preference Claude Sonnet 4 leads

Claude Sonnet 4: 57.1 (#132), gpt-oss-20b: 35.5 (#265)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 4gpt-oss-20b
LMArena Text13511287
LMArena Creative Writing13451201
EQ-Bench Creative Writing1483666
WildBench83.8%73.7%
LMArena Multi-Turn13761268
Short-Story Creative Writing81.4%—

Frequently asked questions

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

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

Which is cheaper, Claude Sonnet 4 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 4 lists at $3 and $15.

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

Claude Sonnet 4 scores higher on coding benchmarks: 43.5 versus 37.6 in the Noometry coding category.

Which has the bigger context window?

Claude Sonnet 4 does, with 200K tokens against 131K.

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

32 benchmarks have published results for both models. Claude Sonnet 4 has 58 scored results on Noometry and gpt-oss-20b has 34.

Related comparisons

Go deeper