Price Per TokenPrice Per Token
Anthropic
Anthropic
vs
OpenAI
OpenAI

Claude 3.5 Sonnet vs ChatGPT-4o

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Best LLMs for OpenClaw Vote for which model works best with OpenClaw

112 out of our 301 tracked models have had a price change in February.

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

Key Takeaways

Claude 3.5 Sonnet wins:

  • Larger context window
  • Better at coding

ChatGPT-4o wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Faster response time
  • Higher intelligence benchmark
  • Better at math
Price Advantage
ChatGPT-4o
Benchmark Advantage
ChatGPT-4o
Context Window
Claude 3.5 Sonnet
Speed
ChatGPT-4o

Pricing Comparison

Price Comparison

MetricClaude 3.5 SonnetChatGPT-4oWinner
Input (per 1M tokens)$6.00$5.00 ChatGPT-4o
Output (per 1M tokens)$30.00$15.00 ChatGPT-4o
Using a 3:1 input/output ratio, ChatGPT-4o is 38% cheaper overall.

Claude 3.5 Sonnet Providers

Vercel $3.00 (Cheapest)
Amazon Bedrock $6.00

ChatGPT-4o Providers

OpenAI $5.00 (Cheapest)
Azure $5.00 (Cheapest)

Benchmark Comparison

8
Benchmarks Compared
1
Claude 3.5 Sonnet Wins
5
ChatGPT-4o Wins

Benchmark Scores

BenchmarkClaude 3.5 SonnetChatGPT-4oWinner
Intelligence Index
Overall intelligence score
15.918.6
Coding Index
Code generation & understanding
30.2--
Math Index
Mathematical reasoning
-25.7-
MMLU Pro
Academic knowledge
77.280.3
GPQA
Graduate-level science
59.965.5
LiveCodeBench
Competitive programming
38.142.5
Aider
Real-world code editing
84.272.2
AIME
Competition math
15.732.7
Claude 3.5 Sonnet significantly outperforms in coding benchmarks.

Cost vs Quality

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

Context & Performance

Context Window

Claude 3.5 Sonnet
200,000
tokens
Max output: 8,192 tokens
ChatGPT-4o
128,000
tokens
Max output: 16,384 tokens
Claude 3.5 Sonnet has a 36% larger context window.

Speed Performance

MetricClaude 3.5 SonnetChatGPT-4oWinner
Tokens/second0.0 tok/s180.3 tok/s
Time to First Token0.00s0.42s
ChatGPT-4o responds Infinity% faster on average.

Capabilities

Feature Comparison

FeatureClaude 3.5 SonnetChatGPT-4o
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyClaude 3.5 SonnetChatGPT-4o
LicenseProprietaryProprietary
AuthorAnthropicOpenAI
ReleasedOct 2024Aug 2024

Claude 3.5 Sonnet Modalities

Input
textimagefile
Output
text

ChatGPT-4o Modalities

Input
textimage
Output
text

Related Comparisons

Compare Claude 3.5 Sonnet with:

Compare ChatGPT-4o with:

Frequently Asked Questions

ChatGPT-4o has cheaper input pricing at $5.00/M tokens. ChatGPT-4o has cheaper output pricing at $15.00/M tokens.
Claude 3.5 Sonnet scores higher on coding benchmarks with a score of 30.2, compared to ChatGPT-4o's score of N/A.
Claude 3.5 Sonnet has a 200,000 token context window, while ChatGPT-4o has a 128,000 token context window.
Claude 3.5 Sonnet supports vision. ChatGPT-4o supports vision.