Compare AI models

Specifications
Context windowHow much information the model can work with in one request, measured in tokens — pieces of words or other data. This includes your question, attachments, conversation and reply. Limits can vary by model variant and provider.
1M8k
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.
$2.00$30.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.
$10.00$60.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.20—
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.
$2.00Amazon Bedrock$30.00Azure
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input.
$10.00Amazon Bedrock$60.00Azure
$900Anthropic list price$9,000OpenAI list price
These models have no shared benchmark scores.
Overview
CompanyAnthropicOpenAI
Release dateJun 30 2026Mar 14 2023
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

Claude Sonnet 5 and GPT-4 don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Claude Sonnet 5 is cheaper on both input and output: $2.00 vs $30.00 per million input tokens, and $10.00 vs $60.00 per million output tokens. GPT-4 shipped 1204 days before Claude Sonnet 5, so benchmark comparisons should account for the intervening progress.

Context windows are 1M (Claude Sonnet 5) vs 8k (GPT-4).

Direct benchmark comparisons are unavailable — Claude Sonnet 5 and GPT-4 don't publish scores on any of the same benchmarks.