Compare AI models
| 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 | ||
Cheapest inputLowest input rate across every provider on OpenRouter, the lab included. The cheapest endpoint may run a quantised build or a shorter context — see "Available from" on the model page. | $3.00Amazon Bedrock | $0.018Darkbloom |
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input. | $15.00Amazon Bedrock | $0.09Darkbloom |
| $1,350Amazon Bedrock | $8.10Darkbloom · fp8 | |
| 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. | 72.7% | 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. | 75.4% | 71.5% |
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. | 30% | — |
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% |
| Overview | ||
| Company | Anthropic | OpenAI |
| Release date | May 22 2025 | Aug 5 2025 |
| Access | Closed | Open Weight |
| Model details | View model | View model |
Other comparisons
Claude Sonnet 4vsGemini 4 Argongpt-oss-20bvsGemini 4 ArgonClaude Sonnet 4vsMuse Wondergpt-oss-20bvsMuse WonderClaude Sonnet 4vsGrok 4.7gpt-oss-20bvsGrok 4.7Claude Sonnet 4vsDeepSeek-V4.1-Flashgpt-oss-20bvsDeepSeek-V4.1-FlashClaude Sonnet 4vsMistral Large 4gpt-oss-20bvsMistral Large 4Claude Sonnet 4vsKimi K3gpt-oss-20bvsKimi K3Frequently asked questions
Claude Sonnet 4 leads gpt-oss-20b on 2 of the 2 benchmarks they both report (SWE-Bench Verified, GPQA Diamond). Claude Sonnet 4 shipped 75 days before gpt-oss-20b, so benchmark comparisons should account for the intervening progress.
Claude Sonnet 4 is closed, while gpt-oss-20b is open weight.
On SWE-Bench Verified, Claude Sonnet 4 leads at 72.7% vs gpt-oss-20b at 60.7%. On GPQA Diamond, Claude Sonnet 4 leads at 75.4% vs gpt-oss-20b at 71.5%.