Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work. It supports adaptive thinking with selectable reasoning effort levels (low, medium, high, max,...
Model details →Anthropic: Claude Sonnet 5 (batch) vs OpenAI: GPT-4o (batch)
Anthropic: Claude Sonnet 5 (batch) wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs. It maintains the intelligence level of [GPT-4 Turbo](/models/openai/gpt-4-turbo) while being twice as...
Model details →Side-by-side comparison
| Capability | Anthropic: Claude Sonnet 5 (batch) | OpenAI: GPT-4o (batch) | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 1M | 128K | 🏆 Anthropic: Claude Sonnet 5 (batch) |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $1.00 | $1.25 | 🏆 Anthropic: Claude Sonnet 5 (batch) |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $5.00 | $5.00 | Tie |
| 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 | — | 🏆 Anthropic: Claude Sonnet 5 (batch) |
Frequently asked questions
Is Anthropic: Claude Sonnet 5 (batch) better than OpenAI: GPT-4o (batch)?
Anthropic: Claude Sonnet 5 (batch) wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
What's the price difference between Anthropic: Claude Sonnet 5 (batch) and OpenAI: GPT-4o (batch)?
Input: $1.00 vs $1.25 per 1M tokens. Output: $5.00 vs $5.00 per 1M tokens.
What context windows do Anthropic: Claude Sonnet 5 (batch) and OpenAI: GPT-4o (batch) support?
Anthropic: Claude Sonnet 5 (batch) supports up to 1M tokens. OpenAI: GPT-4o (batch) supports up to 128K tokens.
Do both Anthropic: Claude Sonnet 5 (batch) and OpenAI: GPT-4o (batch) support tool calling?
Anthropic: Claude Sonnet 5 (batch): yes. OpenAI: GPT-4o (batch): yes.
Compare Anthropic: Claude Sonnet 5 (batch) with other models
vs Anthropic Claude Haiku Latestvs Anthropic Claude Sonnet Latestvs Anthropic: Claude Fable Latestvs Anthropic: Claude Opus Latest