Compare models
Pick up to 4 models for a side-by-side spec sheet. Hover any dotted metric name for what the test measures. Best value in each row is highlighted.
Claude Sonnet 5GPT-4.1
| Claude Sonnet 5 Anthropic | GPT-4.1 OpenAI | |
|---|---|---|
| Pricing | ||
| Input $/1M | $2.00 | $2.00 |
| Output $/1M | $10.00 | $8.00 |
| Blended $/1M (3:1) | $4.00 | $3.50 |
| Cache read $/1M | $0.20 | $0.50 |
| Cache write $/1M | $2.50 | — |
| Quality indices | ||
| Intelligence Index | 53.4 | 19.4 |
| Coding Index | 71.5 | — |
| Math Index | — | 34.7 |
| Agentic Index | 46.7 | — |
| Speed & latency | ||
| Output speed (tok/s) | 86 | 151 |
| Time to first token | 93.73s | 0.56s |
| Time to first answer token | 93.73s | 0.56s |
| Benchmarks (Artificial Analysis) | ||
| MMLU-Pro | — | 80.6% |
| GPQA Diamond | 91.1% | 66.6% |
| Humanity's Last Exam | 39.6% | 4.6% |
| LiveCodeBench | — | 45.7% |
| SciCode | 53.6% | 38.1% |
| MATH-500 | — | 91.3% |
| AIME | — | 43.7% |
| AIME 2025 | — | 34.7% |
| IFBench | — | 43.0% |
| AA-LCR (Long Context Reasoning) | 70.7% | 61.0% |
| Terminal-Bench Hard | — | 13.6% |
| Terminal-Bench 2.1 | 80.5% | — |
| τ²-Bench (Telecom) | — | 47.1% |
| τ³-Bench Banking | 28.2% | — |
| Design Arena (Elo) | ||
| Website | 1,314 | 1,066 |
| Web apps | 1,305 | — |
| Full-stack | 1,292 | — |
| Android native | 1,255 | — |
| UI components | 1,317 | 1,043 |
| Data viz | 1,281 | 1,140 |
| SVG | 1,239 | — |
| 3D | 1,321 | 908 |
| Game dev | 1,345 | 1,138 |
| Agentic game dev | 1,241 | — |
| Godot game dev | 1,257 | — |
| HTML slides | 1,233 | — |
| Python→PPTX slides | 1,252 | — |
| Code categories | 1,312 | 1,059 |
| ASCII art | 1,230 | — |
| Specs | ||
| Context window | 1M | 1.05M |
| Max output tokens | 128K | 33K |
| Input modalities | text, image, file | image, text, file |
| Tokenizer | Claude | GPT |