Skip to content
llmmodels

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.

SpecClaude Sonnet 4o3
ProviderAnthropicOpenAI
ReleasedMay 22, 2025 (better)Apr 16, 2025
TypeReasoning LLMReasoning LLM
Parameters——
Context window200K200K
Max output64K100K (better)
Input price / 1M$2.70$2 (better)
Output price / 1M$13.50$8 (better)
Input modalitiestext, image, pdftext, image, pdf, file (better)
Open weightsNoNo
LicenseProprietaryProprietary
Reasoning modeYesYes
Tool callingYesYes
API providers723 (better)
Epoch Capabilities Index—147.0
GPQA Diamond79.2%81.8% (better)
Humanity's Last Exam7.8%20.3% (better)
SWE-bench Verified—62.3%
Aider Polyglot61.3%81.3% (better)
OTIS Mock AIME71.1%84.4% (better)
MATH Level 584.4%97.8% (better)
FrontierMath—33.3%
ARC-AGI-25.9%6.5% (better)
SimpleQA Verified—49.4%
OSWorld43.9% (better)23.0%
METR Time Horizon75 min120 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.