← All Comparisons

GPT-5 vs Claude Sonnet 4.5

A detailed comparison of GPT-5 (OpenAI) and Claude Sonnet 4.5 (Anthropic) across pricing, performance, and features.

Pricing Comparison

MetricGPT-5Claude Sonnet 4.5Difference
Input / 1M tokens$1.25$3.00+140%
Output / 1M tokens$10.00$15.00+50%
Context window128K200K
Max output16.384K16K

Benchmark Comparison

BenchmarkGPT-5Claude Sonnet 4.5
MMLU-Pro88.5%84.5%
HumanEval95%93%
GPQA73.5%68.2%

Capabilities

CapabilityGPT-5Claude Sonnet 4.5
audio
code
reasoning
text
tool-use
vision

GPT-5 Strengths

  • Strong all-around performance
  • Good price for flagship tier
  • Multimodal including audio

GPT-5 Weaknesses

  • 128K context vs 200K+ for newer models
  • Codex variants better for pure coding

Claude Sonnet 4.5 Strengths

  • Well-tested and stable
  • Strong coding and analysis

Claude Sonnet 4.5 Weaknesses

  • Superseded by Sonnet 4.6
  • Same price as the newer model

Quick Verdict

Best value: GPT-5 is the more affordable option at $1.25/$10 per 1M tokens.

Higher benchmarks: GPT-5 scores higher on average across available benchmarks (85.7% avg).

Larger context: Claude Sonnet 4.5 supports 200K tokens.

Choose GPT-5 if cost matters most. Choose Claude Sonnet 4.5 if you need the best possible quality for complex tasks.

More Comparisons