Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%), S…
Model details →Anthropic: Claude Sonnet 4 vs OpenAI: o3
OpenAI: o3 wins on 2 of 6 axes — pricing and capability skew in its favour for most workloads.
o3 is a well-rounded and powerful model across domains. It sets a new standard for math, science, coding, and visual reasoning tasks. It also excels at technical writing and instruction-following. Use it to think through multi-step problems…
Model details →Side-by-side comparison
| Capability | Anthropic: Claude Sonnet 4 | OpenAI: o3 | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 200K | 200K | Tie |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $3.00 | $2.00 | 🏆 OpenAI: o3 |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $15.00 | $8.00 | 🏆 OpenAI: o3 |
| Tool / function calling First-class support for emitting structured tool calls. | Yes | Yes | Tie |
| Vision input Accepts image inputs alongside text. | Yes | Yes | Tie |
| Reasoning mode Internal chain-of-thought / extended-thinking support. | Yes | Yes | Tie |
Frequently asked questions
Is Anthropic: Claude Sonnet 4 better than OpenAI: o3?
OpenAI: o3 wins on 2 of 6 axes — pricing and capability skew in its favour for most workloads.
What's the price difference between Anthropic: Claude Sonnet 4 and OpenAI: o3?
Input: $3.00 vs $2.00 per 1M tokens. Output: $15.00 vs $8.00 per 1M tokens.
What context windows do Anthropic: Claude Sonnet 4 and OpenAI: o3 support?
Anthropic: Claude Sonnet 4 supports up to 200K tokens. OpenAI: o3 supports up to 200K tokens.
Do both Anthropic: Claude Sonnet 4 and OpenAI: o3 support tool calling?
Anthropic: Claude Sonnet 4: yes. OpenAI: o3: yes.