Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Sonnet 4.5 vs gpt-oss-20b

Anthropic · released

Wins 5 of 6 areas

Coding · Agents · Reasoning · Facts · Long documents

OpenAI · released

Wins 1 of 6 areas

Following instructions

Claude Sonnet 4.5 is the stronger all-rounder.gpt-oss-20b is cheaper and better at following instructions.

Scores updated · 34 tests both models report · How we compare

What it costs

Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.

Claude Sonnet 4.5$3.00 to read · $15.00 to write$18Price from Artificial Analysis
gpt-oss-20b$0.07 to read · $0.18 to write$0.25Price from Artificial Analysis

gpt-oss-20b costs 99% less for the same work.

The biggest differences

The tests each model wins by the widest margin, up to three each. Scores are out of 100.

Where Claude Sonnet 4.5 pulls ahead

  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+45points aheadClaude Sonnet 4.550.9gpt-oss-20b5.9
  • Command-line tasks in a real terminalTerminal-Bench 2.1+41.9points aheadClaude Sonnet 4.555.8gpt-oss-20b13.9
  • Reasons across sets of long documentsAA-LCR+37.6points aheadClaude Sonnet 4.572.3gpt-oss-20b34.7

Where gpt-oss-20b pulls ahead

  • Follows unfamiliar, precisely checkable instructionsIFBench+7.8points aheadgpt-oss-20b65.1Claude Sonnet 4.557.3
  • Finds hard-to-locate facts by browsing the webBrowseComp+4.2points aheadgpt-oss-20b28.3Claude Sonnet 4.524.1

Every test, side by side

All 34 tests both models report. The winning score is in its model's colour; marks a score checked independently.

CodingClaude Sonnet 4.5

Full coding ranking

AgentsClaude Sonnet 4.5

Full agents ranking

ReasoningClaude Sonnet 4.5

Full reasoning ranking

FactsClaude Sonnet 4.5

Full facts ranking

Long documentsClaude Sonnet 4.5
  • AA-LCRClaude Sonnet 4.5 by 37.672.334.7+37.6

Full long documents ranking

Following instructionsgpt-oss-20b
  • IFBenchgpt-oss-20b by 7.857.365.1+7.8

Full following instructions ranking

Other results17 tests, not counted

Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.

Questions people ask

Which is better, Claude Sonnet 4.5 or gpt-oss-20b?

Claude Sonnet 4.5 wins five of the six areas where both have results: coding, agents, reasoning, facts and long documents. gpt-oss-20b wins following instructions, and costs 99% less.

Which is better for coding?

Claude Sonnet 4.5. It wins 6 of the 6 coding tests both models report; gpt-oss-20b wins none.

Which is cheaper?

Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; gpt-oss-20b costs $0.07 and $0.18. That makes gpt-oss-20b about 99% cheaper for the same work.

How do you compare the two?

We use the 34 benchmark tests both models have published scores on. The verdict counts the 17 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 17 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.