Compare · Side-by-side

Claude Sonnet 4.6 vs GPT-5

Detailed comparisons of token costs, context window limits, benchmark performance, and speed.

Last reviewed: June 6, 2026 Sourced from official docs
Dimension Claude Sonnet 4.6 GPT-5
ProviderAnthropicOpenAI
Input Tokens Cost / 1M$3.000$1.250
Output Tokens Cost / 1M$15.000$10.000
Cached Input / 1M$0.300
Max Context Window1,000,000 tokens400,000 tokens
SWE-bench Verified79.6%74.9%
GPQA Diamond89.9%

Summary Recommendations

Choose Claude Sonnet 4.6 if you need: Production default.

Choose GPT-5 if you need: Production workhorse at a rational price.

← Back to comparison tool