Price Per TokenPrice Per Token
Anthropic
Anthropic
vs
OpenAI
OpenAI

Claude Sonnet 4.5 vs GPT-5

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Deploy OpenClaw in Under 1 Minute We handle hosting, scaling, and maintenance

114 out of our 303 tracked models have had a price change in February.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

Claude Sonnet 4.5 wins:

  • Larger context window
  • Has reasoning mode

GPT-5 wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
Price Advantage
GPT-5
Benchmark Advantage
GPT-5
Context Window
Claude Sonnet 4.5
Speed
GPT-5

Pricing Comparison

Price Comparison

MetricClaude Sonnet 4.5GPT-5Winner
Input (per 1M tokens)$3.00$1.25 GPT-5
Output (per 1M tokens)$15.00$10.00 GPT-5
Cache Read (per 1M)$0.30$0.13 GPT-5
Cache Write (per 1M)$3.75N/A Claude Sonnet 4.5
Using a 3:1 input/output ratio, GPT-5 is 43% cheaper overall.

Claude Sonnet 4.5 Providers

Amazon Bedrock $3.00 (Cheapest)
Google $3.00 (Cheapest)
Anthropic $3.00 (Cheapest)

GPT-5 Providers

OpenAI $1.25 (Cheapest)
Azure $1.25 (Cheapest)

Benchmark Comparison

8
Benchmarks Compared
0
Claude Sonnet 4.5 Wins
6
GPT-5 Wins

Benchmark Scores

BenchmarkClaude Sonnet 4.5GPT-5Winner
Intelligence Index
Overall intelligence score
37.144.6
Coding Index
Code generation & understanding
33.536.0
Math Index
Mathematical reasoning
37.094.3
MMLU Pro
Academic knowledge
86.087.1
GPQA
Graduate-level science
72.785.4
LiveCodeBench
Competitive programming
59.084.6
Aider
Real-world code editing
-88.0-
AIME
Competition math
-95.7-
GPT-5 shows stronger mathematical reasoning abilities.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Claude Sonnet 4.5
Other models

Context & Performance

Context Window

Claude Sonnet 4.5
1,000,000
tokens
Max output: 64,000 tokens
GPT-5
400,000
tokens
Max output: 128,000 tokens
Claude Sonnet 4.5 has a 60% larger context window.

Speed Performance

MetricClaude Sonnet 4.5GPT-5Winner
Tokens/second70.4 tok/s94.0 tok/s
Time to First Token1.07s102.36s
GPT-5 responds 33% faster on average.

Capabilities

Feature Comparison

FeatureClaude Sonnet 4.5GPT-5
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyClaude Sonnet 4.5GPT-5
LicenseProprietaryProprietary
AuthorAnthropicOpenAI
ReleasedSep 2025Aug 2025

Claude Sonnet 4.5 Modalities

Input
textimagefile
Output
text

GPT-5 Modalities

Input
textimagefile
Output
text

Related Comparisons

Compare Claude Sonnet 4.5 with:

Compare GPT-5 with:

Frequently Asked Questions

GPT-5 has cheaper input pricing at $1.25/M tokens. GPT-5 has cheaper output pricing at $10.00/M tokens.
GPT-5 scores higher on coding benchmarks with a score of 36.0, compared to Claude Sonnet 4.5's score of 33.5.
Claude Sonnet 4.5 has a 1,000,000 token context window, while GPT-5 has a 400,000 token context window.
Claude Sonnet 4.5 supports vision. GPT-5 supports vision.