Model Comparison

Claude Sonnet 4 vs GPT-4o

Claude Sonnet 4 significantly outperforms across most benchmarks. GPT-4o is 1.4x cheaper per token.

Performance Benchmarks

Comparative analysis across standard metrics

6 benchmarks

Claude Sonnet 4 outperforms in 6 benchmarks (GPQA, MMMLU, MMMU, SWE-Bench Verified, TAU-bench Airline, TAU-bench Retail), while GPT-4o is better at 0 benchmarks.

Claude Sonnet 4 significantly outperforms across most benchmarks.

Wed Apr 29 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

GPT-4o costs less

For input processing, Claude Sonnet 4 ($3.00/1M tokens) is 1.2x more expensive than GPT-4o ($2.50/1M tokens).

For output processing, Claude Sonnet 4 ($15.00/1M tokens) is 1.5x more expensive than GPT-4o ($10.00/1M tokens).

In conclusion, Claude Sonnet 4 is more expensive than GPT-4o.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Wed Apr 29 2026 • llm-stats.com
Anthropic
Claude Sonnet 4
Input tokens$3.00
Output tokens$15.00
Best providerAnthropic
OpenAI
GPT-4o
Input tokens$2.50
Output tokens$10.00
Best providerAzure
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Claude Sonnet 4 accepts 200,000 input tokens compared to GPT-4o's 128,000 tokens. Claude Sonnet 4 can generate longer responses up to 64,000 tokens, while GPT-4o is limited to 16,384 tokens.

Anthropic
Claude Sonnet 4
Input200,000 tokens
Output64,000 tokens
OpenAI
GPT-4o
Input128,000 tokens
Output16,384 tokens
Wed Apr 29 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Both Claude Sonnet 4 and GPT-4o support multimodal inputs.

They are both capable of processing various types of data, offering versatility in application.

Claude Sonnet 4

Text
Images
Audio
Video

GPT-4o

Text
Images
Audio
Video

License

Usage and distribution terms

Both models are licensed under proprietary licenses.

Both models have usage restrictions defined by their respective organizations.

Claude Sonnet 4

Proprietary

Closed source

GPT-4o

Proprietary

Closed source

Release Timeline

When each model was launched

Claude Sonnet 4 was released on 2025-05-22, while GPT-4o was released on 2024-08-06.

Claude Sonnet 4 is 10 months newer than GPT-4o.

Claude Sonnet 4

May 22, 2025

11 months ago

9mo newer
GPT-4o

Aug 6, 2024

1.7 years ago

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

Provider Availability

Claude Sonnet 4 is available from Anthropic, Bedrock, Google. GPT-4o is available from Azure, OpenAI.

Claude Sonnet 4

anthropic logo
Anthropic
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M
bedrock logo
AWS Bedrock
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M
google logo
Google
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M

GPT-4o

azure logo
Azure
Input Price:Input: $2.50/1MOutput Price:Output: $10.00/1M
openai logo
OpenAI
Input Price:Input: $2.50/1MOutput Price:Output: $10.00/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Larger context window (200,000 tokens)
Higher GPQA score (75.4% vs 70.1%)
Higher MMMLU score (86.5% vs 81.4%)
Higher MMMU score (74.4% vs 72.2%)
Higher SWE-Bench Verified score (72.7% vs 33.2%)
Higher TAU-bench Airline score (60.0% vs 42.8%)
Higher TAU-bench Retail score (80.5% vs 60.3%)
Less expensive input tokens
Less expensive output tokens
AnthropicClaude Sonnet 4
OpenAIGPT-4o

Detailed Comparison

AI Model Comparison Table
Feature
Anthropic
Claude Sonnet 4
OpenAI
GPT-4o

FAQ

Common questions about Claude Sonnet 4 vs GPT-4o

Claude Sonnet 4 significantly outperforms across most benchmarks. Claude Sonnet 4 is made by Anthropic and GPT-4o is made by OpenAI. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.
Claude Sonnet 4 scores MMMLU: 86.5%, TAU-bench Retail: 80.5%, GPQA: 75.4%, MMMU: 74.4%, SWE-Bench Verified: 72.7%. GPT-4o scores AI2D: 94.2%, DocVQA: 92.8%, ChartQA: 85.7%, MMLU: 85.7%, CharXiv-D: 85.3%.
GPT-4o is 1.2x cheaper for input tokens. Claude Sonnet 4 costs $3.00/M input and $15.00/M output via anthropic. GPT-4o costs $2.50/M input and $10.00/M output via azure.
Claude Sonnet 4 supports 200K tokens and GPT-4o supports 128K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.
Key differences include context window (200K vs 128K), input pricing ($3.00 vs $2.50/M). See the full comparison above for benchmark-by-benchmark results.
Claude Sonnet 4 is developed by Anthropic and GPT-4o is developed by OpenAI.