Claude Sonnet 4 vs o3
o3 wins 7 of 8 benchmarks both models report. o3 is about 1.5× cheaper on a blended (3:1 input:output) token price.
| Spec | Claude Sonnet 4 | o3 |
|---|---|---|
| Provider | Anthropic | OpenAI |
| Released | May 22, 2025 (better) | Apr 16, 2025 |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | — |
| Context window | 200K | 200K |
| Max output | 64K | 100K (better) |
| Input price / 1M | $2.70 | $2 (better) |
| Output price / 1M | $13.50 | $8 (better) |
| Input modalities | text, image, pdf | text, image, pdf, file (better) |
| Open weights | No | No |
| License | Proprietary | Proprietary |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 7 | 23 (better) |
| Epoch Capabilities Index | — | 147.0 |
| GPQA Diamond | 79.2% | 81.8% (better) |
| Humanity's Last Exam | 7.8% | 20.3% (better) |
| SWE-bench Verified | — | 62.3% |
| Aider Polyglot | 61.3% | 81.3% (better) |
| OTIS Mock AIME | 71.1% | 84.4% (better) |
| MATH Level 5 | 84.4% | 97.8% (better) |
| FrontierMath | — | 33.3% |
| ARC-AGI-2 | 5.9% | 6.5% (better) |
| SimpleQA Verified | — | 49.4% |
| OSWorld | 43.9% (better) | 23.0% |
| METR Time Horizon | 75 min | 120 min (better) |
Cost example
For a workload of 10M input + 2M output tokens per month: Claude Sonnet 4 costs $54.00 and o3 costs $36.00 at list price (jiekou / openai pricing).
About Claude Sonnet 4
Claude Sonnet 4 is a proprietary reasoning llm from Anthropic, released May 22, 2025. It has a 200K-token context window and accepts text, image, pdf input. API pricing starts at $2.70 per million input tokens and $13.50 per million output tokens. It is available from 7 API providers. Full Claude Sonnet 4 specs →
About o3
o3 is a proprietary reasoning llm from OpenAI, released Apr 16, 2025. It has a 200K-token context window and accepts text, image, pdf, file input. API pricing starts at $2 per million input tokens and $8 per million output tokens. It is available from 23 API providers. It scores 147.0 on the Epoch Capabilities Index. Full o3 specs →
Compare other models
FAQ
Which is better, Claude Sonnet 4 or o3?
o3 wins 7 of 8 benchmarks both models report. o3 is about 1.5× cheaper on a blended (3:1 input:output) token price.
Is Claude Sonnet 4 cheaper than o3?
Claude Sonnet 4 costs $2.70 input / $13.50 output per 1M tokens; o3 costs $2 / $8. o3 is cheaper overall.
Which has a bigger context window?
Claude Sonnet 4: 200,000 tokens. o3: 200,000 tokens.
Are Claude Sonnet 4 and o3 open source?
Claude Sonnet 4 is proprietary; o3 is proprietary.