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
Input priceWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it.
$1.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.
$5.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.10—
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.
$1.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.
$5.00Amazon Bedrock$0.09Darkbloom
$450Anthropic list price$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.
73.3%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.
73%71.5%
Overview
CompanyAnthropicOpenAI
Release dateOct 15 2025Aug 5 2025
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

Claude Haiku 4.5 leads gpt-oss-20b on 2 of the 2 benchmarks they both report (SWE-Bench Verified, GPQA Diamond). Only Claude Haiku 4.5 has a verified first-party API price: $1.00 per million input tokens and $5.00 per million output tokens. No pay-as-you-go API rate is tracked for gpt-oss-20b. gpt-oss-20b shipped 71 days before Claude Haiku 4.5, so benchmark comparisons should account for the intervening progress.

Claude Haiku 4.5 is closed, while gpt-oss-20b is open weight.

On SWE-Bench Verified, Claude Haiku 4.5 leads at 73.3% vs gpt-oss-20b at 60.7%. On GPQA Diamond, Claude Haiku 4.5 leads at 73% vs gpt-oss-20b at 71.5%.