The AI arena is free today

Open Superagent

Claude 3.5 Sonnet vs GPT-4.1

Claude 3.5 Sonnet and GPT-4.1 are closely matched at 19.4 and 18.4 on the LLM Stats Score. GPT-4.1 is 1.7x cheaper per token.

Anthropic · OpenAI · Updated for 2026

Which is better?

Claude 3.5 Sonnet and GPT-4.1 are closely matched on the overall LLM Stats Score at 19.4 and 18.4.

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

On price, GPT-4.1 is roughly 1.7x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

GPT-4.1 also accepts a larger context window (1,047,576 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 3.5 Sonnet

  • you want predictable pricing at $3.00/M input and $15.00/M output

Choose GPT-4.1

  • you value its reported benchmark strengths — it wins 4 of 7 exact shared results
  • cost matters — it's about 1.7x cheaper per token
  • you process long inputs — it offers a 1,047,576 token context window
  • you want the most recent training data — it shipped Apr 2025

At a glance

The differences that matter most.

Core performance indexes
19.4
#189
18.4
#194
20.4
#171
18.8
#188
11.6
#141
5.3
#185
Cost, coverage & limits
Benchmark wins
3 of 7
4 of 7
Input price
$3.00 / M
$2.00 / M
Output price
$15.00 / M
$8.00 / M
Context window
200,000
1,047,576

Capability indexes

Additional strengths measured across groups of related public benchmarks

5 shared
Index
Claude 3.5 Sonnet
GPT-4.1
23.4#120
16.5#192
15.1#82
9.9#118
8.6#125
11.8#102
9.5#73
9.3#74
18.3#65
15.8#78
Conservative TrueSkill rating · higher is betterHow scores work

Individual benchmarks

19 reported for Claude 3.5 Sonnet · 29 for GPT-4.1

7 shared

Claude 3.5 Sonnet outperforms in 3 benchmarks (GPQA, MMLU, TAU-bench Retail), while GPT-4.1 is better at 4 benchmarks (MathVista, MMMU, SWE-Bench Verified, TAU-bench Airline).

GPT-4.1 has a slight edge in benchmark performance.

Fri Aug 28 2026 • llm-stats.com

Human preference

Blind head-to-head votes and playground preference scores

Pricing Analysis

Price comparison per million tokens

GPT-4.1 costs less

For input processing, Claude 3.5 Sonnet ($3.00/1M tokens) is 1.5x more expensive than GPT-4.1 ($2.00/1M tokens).

For output processing, Claude 3.5 Sonnet ($15.00/1M tokens) is 1.9x more expensive than GPT-4.1 ($8.00/1M tokens).

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

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

Lowest available price from all providers
Fri Aug 28 2026 • llm-stats.com
Anthropic
Claude 3.5 Sonnet
Input tokens$3.00
Output tokens$15.00
Best providerAnthropic
OpenAI
GPT-4.1
Input tokens$2.00
Output tokens$8.00
Best providerOpenAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

GPT-4.1 accepts 1,047,576 input tokens compared to Claude 3.5 Sonnet's 200,000 tokens. Claude 3.5 Sonnet can generate longer responses up to 200,000 tokens, while GPT-4.1 is limited to 32,768 tokens.

Anthropic
Claude 3.5 Sonnet
Input200,000 tokens
Output200,000 tokens
OpenAI
GPT-4.1
Input1,047,576 tokens
Output32,768 tokens
Fri Aug 28 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

Both Claude 3.5 Sonnet and GPT-4.1 support multimodal inputs.

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

Claude 3.5 Sonnet

Text
Images
Audio
Video

GPT-4.1

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 3.5 Sonnet

Proprietary

Closed source

GPT-4.1

Proprietary

Closed source

Release Timeline

When each model was launched

Claude 3.5 Sonnet was released on 2024-10-22, while GPT-4.1 was released on 2025-04-14.

GPT-4.1 is 6 months newer than Claude 3.5 Sonnet.

Claude 3.5 Sonnet

Oct 22, 2024

1.8 years ago

GPT-4.1

Apr 14, 2025

1.4 years ago

5mo newer

Knowledge Cutoff

When training data ends

GPT-4.1 has a documented knowledge cutoff of 2024-06-01, while Claude 3.5 Sonnet's cutoff date is not specified.

We can confirm GPT-4.1's training data extends to 2024-06-01, but cannot make a direct comparison without Claude 3.5 Sonnet's cutoff date.

Claude 3.5 Sonnet

GPT-4.1

Jun 2024

Provider Availability

Claude 3.5 Sonnet is available from Anthropic, Bedrock, Google. GPT-4.1 is available from OpenAI.

Claude 3.5 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

GPT-4.1

openai logo
OpenAI
Input Price:Input: $2.00/1MOutput Price:Output: $8.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 3.5 Sonnet and GPT-4.1 side-by-side, then vote on the output you prefer.

Claude 3.5 Sonnet
✓ Preferred
GPT-4.1
Open in Playground

FAQ

Common questions about Claude 3.5 Sonnet vs GPT-4.1.

Which is better, Claude 3.5 Sonnet or GPT-4.1?

Claude 3.5 Sonnet and GPT-4.1 are closely matched on the LLM Stats Score at 19.4 and 18.4. Claude 3.5 Sonnet is made by Anthropic and GPT-4.1 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 3.5 Sonnet compare to GPT-4.1 in benchmarks?

Claude 3.5 Sonnet scores GSM8k: 96.4%, DocVQA: 95.2%, AI2D: 94.7%, HumanEval: 93.7%, BIG-Bench Hard: 93.1%. GPT-4.1 scores MMLU: 90.2%, CharXiv-D: 87.9%, IFEval: 87.4%, MMMLU: 87.3%, MMMU: 74.8%.

Is Claude 3.5 Sonnet cheaper than GPT-4.1?

GPT-4.1 is 1.5x cheaper for input tokens. Claude 3.5 Sonnet costs $3.00/M input and $15.00/M output via anthropic. GPT-4.1 costs $2.00/M input and $8.00/M output via openai.

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

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

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

Key differences include LLM Stats Score (19.4 vs 18.4), context window (200K vs 1.0M), input pricing ($3.00 vs $2.00/M). See the full comparison above for benchmark-by-benchmark results.

Who makes Claude 3.5 Sonnet and GPT-4.1?

Claude 3.5 Sonnet is developed by Anthropic and GPT-4.1 is developed by OpenAI.