The AI arena is free today

Open Superagent

Claude Sonnet 4 vs GPT-4

Claude Sonnet 4 leads the LLM Stats Score 24.4 to 3.3. Claude Sonnet 4 is 6.3x cheaper per token.

Anthropic · OpenAI · Updated for 2026

Which is better?

Claude Sonnet 4 leads the overall LLM Stats Score 24.4 to 3.3, ranking #152 overall.

In the 1 individual benchmarks reported for both models, Claude Sonnet 4 wins 1; this is a narrower head-to-head signal than the composite indexes.

On price, Claude Sonnet 4 is roughly 6.3x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Claude Sonnet 4 also accepts a larger context window (200,000 input tokens), making it the stronger choice for long documents and large codebases.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose Claude Sonnet 4

  • overall performance matters — it scores 24.4 and ranks #152 on LLM Stats
  • your work emphasizes reasoning and coding — it leads those capability indexes
  • you value its reported benchmark strengths — it wins 1 of 1 exact shared results
  • cost matters — it's about 6.3x cheaper per token
  • you process long inputs — it offers a 200,000 token context window
  • you want the most recent training data — it shipped May 2025

Choose GPT-4

  • you want predictable pricing at $30.00/M input and $60.00/M output

At a glance

The differences that matter most.

Core performance indexes
24.4
#152
3.3
#293
24.5
#145
3.4
#285
17.0
#111
-5.1
#246
Cost, coverage & limits
Benchmark wins
1 of 1
0 of 1
Input price
$3.00 / M
$30.00 / M
Output price
$15.00 / M
$60.00 / M
Context window
200,000
32,768

Capability indexes

Additional strengths measured across groups of related public benchmarks

1 shared
Index
Claude Sonnet 4
GPT-4
16.1#201
8.8#249
Conservative TrueSkill rating · higher is betterHow scores work

Individual benchmarks

8 reported for Claude Sonnet 4 · 12 for GPT-4

1 shared

Claude Sonnet 4 outperforms in 1 benchmarks (GPQA), while GPT-4 is better at 0 benchmarks.

Claude Sonnet 4 significantly outperforms across most benchmarks.

Mon Aug 31 2026 • llm-stats.com

Human preference

Blind head-to-head votes and playground preference scores

Pricing Analysis

Price comparison per million tokens

Claude Sonnet 4 costs less

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

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

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

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

Lowest available price from all providers
Mon Aug 31 2026 • llm-stats.com
Anthropic
Claude Sonnet 4
Input tokens$3.00
Output tokens$15.00
Best providerAnthropic
OpenAI
GPT-4
Input tokens$30.00
Output tokens$60.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-4's 32,768 tokens. Claude Sonnet 4 can generate longer responses up to 64,000 tokens, while GPT-4 is limited to 32,768 tokens.

Anthropic
Claude Sonnet 4
Input200,000 tokens
Output64,000 tokens
OpenAI
GPT-4
Input32,768 tokens
Output32,768 tokens
Mon Aug 31 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

Both Claude Sonnet 4 and GPT-4 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-4

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-4

Proprietary

Closed source

Release Timeline

When each model was launched

Claude Sonnet 4 was released on 2025-05-22, while GPT-4 was released on 2023-06-13.

Claude Sonnet 4 is 24 months newer than GPT-4.

Claude Sonnet 4

May 22, 2025

1.3 years ago

1.9yr newer
GPT-4

Jun 13, 2023

3.2 years ago

Knowledge Cutoff

When training data ends

GPT-4 has a documented knowledge cutoff of 2022-12-31, while Claude Sonnet 4'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 Sonnet 4's cutoff date.

Claude Sonnet 4

GPT-4

Dec 2022

Provider Availability

Claude Sonnet 4 is available from Anthropic, Bedrock, Google. GPT-4 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-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
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

Run your own prompts against Claude Sonnet 4 and GPT-4 side-by-side, then vote on the output you prefer.

Claude Sonnet 4
✓ Preferred
GPT-4
Open in Playground

FAQ

Common questions about Claude Sonnet 4 vs GPT-4.

Which is better, Claude Sonnet 4 or GPT-4?

Claude Sonnet 4 leads the LLM Stats Score 24.4 to 3.3. Claude Sonnet 4 is made by Anthropic and GPT-4 is made by OpenAI. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does Claude Sonnet 4 compare to GPT-4 in benchmarks?

Claude Sonnet 4 scores MMMLU: 86.5%, TAU-bench Retail: 80.5%, GPQA: 75.4%, MMMU: 74.4%, SWE-Bench Verified: 72.7%. GPT-4 scores AI2 Reasoning Challenge (ARC): 96.3%, HellaSwag: 95.3%, Uniform Bar Exam: 90.0%, SAT Math: 89.0%, LSAT: 88.0%.

Is Claude Sonnet 4 cheaper than GPT-4?

Claude Sonnet 4 is 10.0x cheaper for input tokens. Claude Sonnet 4 costs $3.00/M input and $15.00/M output via anthropic. GPT-4 costs $30.00/M input and $60.00/M output via azure.

What are the context window sizes for Claude Sonnet 4 and GPT-4?

Claude Sonnet 4 supports 200K tokens and GPT-4 supports 33K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Claude Sonnet 4 and GPT-4?

Key differences include LLM Stats Score (24.4 vs 3.3), context window (200K vs 33K), input pricing ($3.00 vs $30.00/M). See the full comparison above for benchmark-by-benchmark results.

Who makes Claude Sonnet 4 and GPT-4?

Claude Sonnet 4 is developed by Anthropic and GPT-4 is developed by OpenAI.