Auto-generated comparison

Anthropic: Claude 3.5 Sonnet vs OpenAI: GPT-5

OpenAI: GPT-5 wins on 4 of 6 axes — pricing and capability skew in its favour for most workloads.

Side-by-side comparison

CapabilityAnthropic: Claude 3.5 SonnetOpenAI: GPT-5Winner
Context window
Maximum number of input tokens the model can attend to in a single request.
200K400K🏆 OpenAI: GPT-5
Input price (per 1M)
Cost per million input tokens billed by the provider.
$6.00$1.25🏆 OpenAI: GPT-5
Output price (per 1M)
Cost per million output tokens billed by the provider.
$30.00$10.00🏆 OpenAI: GPT-5
Tool / function calling
First-class support for emitting structured tool calls.
YesYesTie
Vision input
Accepts image inputs alongside text.
YesYesTie
Reasoning mode
Internal chain-of-thought / extended-thinking support.
Yes🏆 OpenAI: GPT-5

Frequently asked questions

Is Anthropic: Claude 3.5 Sonnet better than OpenAI: GPT-5?

OpenAI: GPT-5 wins on 4 of 6 axes — pricing and capability skew in its favour for most workloads.

What's the price difference between Anthropic: Claude 3.5 Sonnet and OpenAI: GPT-5?

Input: $6.00 vs $1.25 per 1M tokens. Output: $30.00 vs $10.00 per 1M tokens.

What context windows do Anthropic: Claude 3.5 Sonnet and OpenAI: GPT-5 support?

Anthropic: Claude 3.5 Sonnet supports up to 200K tokens. OpenAI: GPT-5 supports up to 400K tokens.

Do both Anthropic: Claude 3.5 Sonnet and OpenAI: GPT-5 support tool calling?

Anthropic: Claude 3.5 Sonnet: yes. OpenAI: GPT-5: yes.

Compare Anthropic: Claude 3.5 Sonnet with other models

Compare OpenAI: GPT-5 with other models