Compare AI models

Specifications
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.
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.
$5.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.
$25.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.50—
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.
$5.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.
$25.00Amazon Bedrock$60.00Azure
$2,250Anthropic list price$9,000OpenAI list price
These models have no shared benchmark scores.
Overview
CompanyAnthropicOpenAI
Release dateMay 28 2026Mar 14 2023
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

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

Context windows are 1M (Claude Opus 4.8) vs 8k (GPT-4).

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