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.
1M400k
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 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—
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—
$1,350Anthropic list price—
Benchmarks
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.
91%45%
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.
43%46%
Overview
CompanyAnthropicOpenAI
Release dateFeb 17 2026Dec 18 2025
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

Claude Sonnet 4.6 and GPT-5.2-Codex are evenly matched across the 2 benchmarks they both report (BullshitBench v2, Next.js Evals). Only Claude Sonnet 4.6 has a verified first-party price for an available API: $3.00 per million input tokens and $15.00 per million output tokens. No currently available pay-as-you-go API rate is tracked for GPT-5.2-Codex. GPT-5.2-Codex shipped 61 days before Claude Sonnet 4.6, so benchmark comparisons should account for the intervening progress.

Context windows are 1M (Claude Sonnet 4.6) vs 400k (GPT-5.2-Codex).

On BullshitBench v2, Claude Sonnet 4.6 leads at 91% vs GPT-5.2-Codex at 45%. On Next.js Evals, GPT-5.2-Codex leads at 46% vs Claude Sonnet 4.6 at 43%.