The 2024-08-06 version of GPT-4o offers improved performance in structured outputs, with the ability to supply a JSON schema in the respone_format. Read more [here](https://openai.com/index/introducing-structured-outputs-in-the-api/). GPT-4…
Model details →OpenAI: GPT-4o (2024-08-06) vs Anthropic Claude Sonnet Latest
Anthropic Claude Sonnet Latest wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
This model always redirects to the latest model in the Anthropic Claude Sonnet family.
Model details →Side-by-side comparison
| Capability | OpenAI: GPT-4o (2024-08-06) | Anthropic Claude Sonnet Latest | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 128K | 1M | 🏆 Anthropic Claude Sonnet Latest |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $2.50 | $2.00 | 🏆 Anthropic Claude Sonnet Latest |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $10.00 | $10.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 Latest |
Frequently asked questions
Is OpenAI: GPT-4o (2024-08-06) better than Anthropic Claude Sonnet Latest?
Anthropic Claude Sonnet Latest wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
What's the price difference between OpenAI: GPT-4o (2024-08-06) and Anthropic Claude Sonnet Latest?
Input: $2.50 vs $2.00 per 1M tokens. Output: $10.00 vs $10.00 per 1M tokens.
What context windows do OpenAI: GPT-4o (2024-08-06) and Anthropic Claude Sonnet Latest support?
OpenAI: GPT-4o (2024-08-06) supports up to 128K tokens. Anthropic Claude Sonnet Latest supports up to 1M tokens.
Do both OpenAI: GPT-4o (2024-08-06) and Anthropic Claude Sonnet Latest support tool calling?
OpenAI: GPT-4o (2024-08-06): yes. Anthropic Claude Sonnet Latest: yes.
Compare OpenAI: GPT-4o (2024-08-06) with other models
vs Anthropic Claude Haiku Latestvs Anthropic Claude Sonnet Latestvs Anthropic: Claude Fable Latestvs Anthropic: Claude Opus Latest