Price Per TokenPrice Per Token
Anthropic
Anthropic
vs
OpenAI
OpenAI

Claude Sonnet 4 vs o3

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Best LLMs for OpenClaw Vote for which model works best with OpenClaw

112 out of our 301 tracked models have had a price change in February.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

Claude Sonnet 4 wins:

  • Larger context window

o3 wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
Price Advantage
o3
Benchmark Advantage
o3
Context Window
Claude Sonnet 4
Speed
o3

Pricing Comparison

Price Comparison

MetricClaude Sonnet 4o3Winner
Input (per 1M tokens)$3.00$2.00 o3
Output (per 1M tokens)$15.00$8.00 o3
Cache Read (per 1M)$300000.00$500000.00 Claude Sonnet 4
Cache Write (per 1M)$3750000.00N/A Claude Sonnet 4
Using a 3:1 input/output ratio, o3 is 42% cheaper overall.

Claude Sonnet 4 Providers

Amazon Bedrock $3.00 (Cheapest)
Google $3.00 (Cheapest)
Anthropic $3.00 (Cheapest)

o3 Providers

OpenAI $2.00 (Cheapest)
Vercel $2.00 (Cheapest)

Benchmark Comparison

8
Benchmarks Compared
0
Claude Sonnet 4 Wins
8
o3 Wins

Benchmark Scores

BenchmarkClaude Sonnet 4o3Winner
Intelligence Index
Overall intelligence score
33.038.3
Coding Index
Code generation & understanding
30.638.4
Math Index
Mathematical reasoning
38.088.3
MMLU Pro
Academic knowledge
83.785.3
GPQA
Graduate-level science
68.382.7
LiveCodeBench
Competitive programming
44.980.8
Aider
Real-world code editing
61.381.3
AIME
Competition math
40.790.3
o3 significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Claude Sonnet 4
Other models

Context & Performance

Context Window

Claude Sonnet 4
1,000,000
tokens
Max output: 64,000 tokens
o3
200,000
tokens
Max output: 100,000 tokens
Claude Sonnet 4 has a 80% larger context window.

Speed Performance

MetricClaude Sonnet 4o3Winner
Tokens/second70.3 tok/s119.7 tok/s
Time to First Token1.14s17.38s
o3 responds 70% faster on average.

Capabilities

Feature Comparison

FeatureClaude Sonnet 4o3
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyClaude Sonnet 4o3
LicenseProprietaryProprietary
AuthorAnthropicOpenAI
ReleasedMay 2025Apr 2025

Claude Sonnet 4 Modalities

Input
imagetextfile
Output
text

o3 Modalities

Input
imagetextfile
Output
text

Related Comparisons

Compare Claude Sonnet 4 with:

Compare o3 with:

Frequently Asked Questions

o3 has cheaper input pricing at $2.00/M tokens. o3 has cheaper output pricing at $8.00/M tokens.
o3 scores higher on coding benchmarks with a score of 38.4, compared to Claude Sonnet 4's score of 30.6.
Claude Sonnet 4 has a 1,000,000 token context window, while o3 has a 200,000 token context window.
Claude Sonnet 4 supports vision. o3 supports vision.