GPT-4 vs Claude 3 Sonnet Comparison

Comparing GPT-4 and Claude 3 Sonnet across benchmarks, pricing, and capabilities.

Performance Benchmarks

Comparative analysis across standard metrics

7 benchmarks

GPT-4 outperforms in 3 benchmarks (DROP, HellaSwag, MMLU), while Claude 3 Sonnet is better at 4 benchmarks (GPQA, HumanEval, MATH, MGSM).

Claude 3 Sonnet has a slight edge in benchmark performance.

Fri Mar 20 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Claude 3 Sonnet costs less

For input processing, GPT-4 ($30.00/1M tokens) is 10.0x more expensive than Claude 3 Sonnet ($3.00/1M tokens).

For output processing, GPT-4 ($60.00/1M tokens) is 4.0x more expensive than Claude 3 Sonnet ($15.00/1M tokens).

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

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

Lowest available price from all providers
Fri Mar 20 2026 • llm-stats.com
OpenAI
GPT-4
Input tokens$30.00
Output tokens$60.00
Best providerAzure
Anthropic
Claude 3 Sonnet
Input tokens$3.00
Output tokens$15.00
Best providerAnthropic
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Claude 3 Sonnet accepts 200,000 input tokens compared to GPT-4's 32,768 tokens. Claude 3 Sonnet can generate longer responses up to 200,000 tokens, while GPT-4 is limited to 32,768 tokens.

OpenAI
GPT-4
Input32,768 tokens
Output32,768 tokens
Anthropic
Claude 3 Sonnet
Input200,000 tokens
Output200,000 tokens
Fri Mar 20 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

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

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

GPT-4

Text
Images
Audio
Video

Claude 3 Sonnet

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.

GPT-4

Proprietary

Closed source

Claude 3 Sonnet

Proprietary

Closed source

Release Timeline

When each model was launched

GPT-4 was released on 2023-06-13, while Claude 3 Sonnet was released on 2024-02-29.

Claude 3 Sonnet is 9 months newer than GPT-4.

GPT-4

Jun 13, 2023

2.8 years ago

Claude 3 Sonnet

Feb 29, 2024

2.1 years ago

8mo newer

Knowledge Cutoff

When training data ends

GPT-4 has a documented knowledge cutoff of 2022-12-31, while Claude 3 Sonnet's cutoff date is not specified.

We can confirm GPT-4's training data extends to 2022-12-31, but cannot make a direct comparison without Claude 3 Sonnet's cutoff date.

GPT-4

Dec 2022

Claude 3 Sonnet

Provider Availability

GPT-4 is available from Azure, OpenAI. Claude 3 Sonnet is available from Anthropic, Bedrock, Google. The availability of providers can affect quality of the model and reliability.

GPT-4

azure logo
Azure
Input Price:Input: $30.00/1MOutput Price:Output: $60.00/1M
openai logo
OpenAI
Input Price:Input: $30.00/1MOutput Price:Output: $60.00/1M

Claude 3 Sonnet

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
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Higher DROP score (80.9% vs 78.9%)
Higher HellaSwag score (95.3% vs 89.0%)
Higher MMLU score (86.4% vs 79.0%)
Larger context window (200,000 tokens)
Less expensive input tokens
Less expensive output tokens
Higher GPQA score (40.4% vs 35.7%)
Higher HumanEval score (73.0% vs 67.0%)
Higher MATH score (43.1% vs 42.0%)
Higher MGSM score (83.5% vs 74.5%)

Detailed Comparison

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