Claude Sonnet 4.5vsgpt-oss-20b
Claude Sonnet 4.5 | gpt-oss-20b | |
|---|---|---|
| Specifications | ||
ParametersA rough measure of how big the model is. More parameters usually means more capable and more expensive to run, though it is a poor guide on its own — a smaller, newer model often beats a larger, older one. | — | 21B |
Context windowHow much text the model can hold in mind at once — your question, any documents you attach, the conversation so far, and its own reply. Go past it and the earliest part falls out of view. | — | 128k |
| API pricingUSD per 1M tokens · lower wins | ||
Input priceWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it. | $3.00 | — |
Output priceWhat you pay for the text the model writes back. It is normally the dearer half: producing an answer costs more than reading one. | $15.00 | — |
Cached input priceA reduced rate for text you send over and over. If every request starts with the same instructions or the same document, the provider keeps a copy ready and charges less to read it again. | $0.30 | — |
Cheapest inputLowest input rate across third-party providers, excluding the lab itself. The cheapest endpoint may run a quantised build or a shorter context — see "Available from" on the model page. | $3.00Amazon Bedrock | $0.03CoreWeave |
Cheapest outputLowest output rate across third-party providers, excluding the lab itself. May come from a different provider than the cheapest input. | $15.00Amazon Bedrock | $0.13CoreWeave |
| Benchmarks | ||
SWE-Bench VerifiedCoding — Real coding tasks pulled from open-source projects — the AI has to find and fix actual bugs. A human-checked version of the original SWE-Bench. Higher is better. | 77.2% | 60.7% |
GPQA DiamondScience — Graduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | 83.4% | 71.5% |
| BenchmarksPublished by one model only | ||
BullshitBench v2Nonsense detection — Given a confidently-worded but nonsensical prompt, does the AI spot that it makes no sense and push back — instead of playing along and inventing an answer? The score is how often it clearly called out the nonsense. Higher is better. | 79% | — |
Next.js EvalsNext.js coding — Vercel's open eval of how well AI coding agents build and migrate real Next.js apps — measured as the share of tasks the agent completes successfully. Higher is better. | 46% | — |
Humanity's Last Exam · no toolsMultidisciplinary reasoning — Humanity's Last Exam — extremely hard expert questions across many subjects, written so you can't just look up the answer. “No tools” means the AI answers on its own. Higher is better. | — | 10.9% |
Humanity's Last Exam · with toolsMultidisciplinary reasoning — Humanity's Last Exam — extremely hard expert questions across many subjects. “With tools” means the AI is allowed to search the web or run code while answering. Higher is better. | — | 17.3% |
MMLUGeneral knowledge — A 57-subject multiple-choice exam — history, law, medicine, maths — that was the standard measure of how much a model knows from 2020 until roughly 2024, when frontier scores crowded into the high 80s and labs moved on to harder tests. The scores here were published years apart under different testing setups, so read them as a historical record rather than a like-for-like ranking. Higher is better. | — | 85.3% |
MMMUMultimodal — Tests the AI on understanding images and text together across many college subjects. Higher is better. | 68% | — |
| Overview | ||
| Company | Anthropic | OpenAI |
| Release date | Sep 29 2025 | Aug 5 2025 |
| Access | Proprietary | Open Weight |
Other comparisons
Frequently asked questions
Claude Sonnet 4.5 leads gpt-oss-20b on 2 of the 2 benchmarks they both report (SWE-Bench Verified, GPQA Diamond). Only Claude Sonnet 4.5 has a verified first-party API price: $3.00 per million input tokens and $15.00 per million output tokens. No pay-as-you-go API rate is tracked for gpt-oss-20b. gpt-oss-20b shipped 55 days before Claude Sonnet 4.5, so benchmark comparisons should account for the intervening progress.
Claude Sonnet 4.5 is proprietary, while gpt-oss-20b is open weight.
On SWE-Bench Verified, Claude Sonnet 4.5 leads at 77.2% vs gpt-oss-20b at 60.7%. On GPQA Diamond, Claude Sonnet 4.5 leads at 83.4% vs gpt-oss-20b at 71.5%.
Claude Sonnet 4.5 was released by Anthropic on Sep 29 2025.
gpt-oss-20b was released by OpenAI on Aug 5 2025.
Claude Sonnet 4.5 leads on SWE-Bench Verified — Claude Sonnet 4.5 77.2% vs gpt-oss-20b 60.7%.
Claude Sonnet 4.5 leads on GPQA Diamond — Claude Sonnet 4.5 83.4% vs gpt-oss-20b 71.5%.
Only Claude Sonnet 4.5 has a verified first-party API price: $3.00 per million input tokens and $15.00 per million output tokens. No pay-as-you-go API rate is tracked for gpt-oss-20b. Rates are pay-as-you-go API prices verified on August 18, 2026.
Claude Sonnet 4.5 is a proprietary model released by Anthropic. gpt-oss-20b is an open weight model released by OpenAI.