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 |
| 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. | 30% | 45% |
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% | — |
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. | — | 46% |
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% | — |
MMMUMultimodal — Tests the AI on understanding images and text together across many college subjects. Higher is better. | 74.4% | — |
| Overview | ||
| Company | Anthropic | OpenAI |
| Release date | May 22 2025 | Dec 18 2025 |
| Access | Closed | Closed |
| Model details | View model | View model |
Other comparisons
Claude Sonnet 4vsGemini 4 CarbonGPT-5.2-CodexvsGemini 4 CarbonClaude Sonnet 4vsMuse EmberGPT-5.2-CodexvsMuse EmberClaude Sonnet 4vsGrok 4.7GPT-5.2-CodexvsGrok 4.7Claude Sonnet 4vsDeepSeek-V4.1-Flash-1017GPT-5.2-CodexvsDeepSeek-V4.1-Flash-1017Claude Sonnet 4vsMistral Large 4GPT-5.2-CodexvsMistral Large 4Claude Sonnet 4vsKimi K3.1 ProGPT-5.2-CodexvsKimi K3.1 ProFrequently asked questions
GPT-5.2-Codex leads Claude Sonnet 4 on 1 of the 1 benchmark they both report (BullshitBench v2). Claude Sonnet 4 shipped 210 days before GPT-5.2-Codex, so benchmark comparisons should account for the intervening progress.
Context windows are 200k (Claude Sonnet 4) vs 400k (GPT-5.2-Codex).
On BullshitBench v2, GPT-5.2-Codex leads at 45% vs Claude Sonnet 4 at 30%.