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. | 200k | 400k |
| 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. | — | $1.25Azure |
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input. | — | $10.00Azure |
| — | $750Azure | |
| These models have no shared benchmark scores. | ||
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% | — |
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% | — |
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% | — |
| Overview | ||
| Company | Anthropic | OpenAI |
| Release date | May 22 2025 | Nov 19 2025 |
| Access | Closed | Closed |
| Model details | View model | View model |
Other comparisons
Claude Sonnet 4vsGemini 4 ArgonGPT-5.1-Codex-MaxvsGemini 4 ArgonClaude Sonnet 4vsMuse Spark OpenGPT-5.1-Codex-MaxvsMuse Spark OpenClaude Sonnet 4vsGrok 4.7GPT-5.1-Codex-MaxvsGrok 4.7Claude Sonnet 4vsDeepSeek-V4.1-Flash-1017GPT-5.1-Codex-MaxvsDeepSeek-V4.1-Flash-1017Claude Sonnet 4vsMistral Large 4GPT-5.1-Codex-MaxvsMistral Large 4Claude Sonnet 4vsKimi K3GPT-5.1-Codex-MaxvsKimi K3Frequently asked questions
Claude Sonnet 4 and GPT-5.1-Codex-Max don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Claude Sonnet 4 shipped 181 days before GPT-5.1-Codex-Max, so benchmark comparisons should account for the intervening progress.
Context windows are 200k (Claude Sonnet 4) vs 400k (GPT-5.1-Codex-Max).
Direct benchmark comparisons are unavailable — Claude Sonnet 4 and GPT-5.1-Codex-Max don't publish scores on any of the same benchmarks.