text model comparison
Claude Sonnet 5 vs GPT-4.1
Claude Sonnet 5 and GPT-4.1 are text models, from Anthropic and OpenAI. Claude Sonnet 5 is now listed as a legacy model. Both cost $2 per 1M input tokens. On Arena Text, Claude Sonnet 5 scores 1442 Elo and GPT-4.1 1383 Elo (Arena, measured November 22, 2026). On the Epoch Capabilities Index, which combines more than 50 benchmarks, Claude Sonnet 5 scores 156.9 and GPT-4.1 136.1, a gap wider than their 90% credible intervals. Both accept about 1.05M tokens of context (1,000,000 and 1,047,576).
- Higher Arena Text
- Claude Sonnet 51442 Elo against 1383 Elo
- Longer context window
- GPT-4.11.05M tokens against 1M tokens
- Newer release
- Claude Sonnet 5Jun 2026 against Apr 2025
Data verified November 23, 2026 · Dataset 2026-11-26
Side by side
Claude Sonnet 5 and GPT-4.1, line by line
Prices in effect today, compared at the same tier wherever both list one. The better value in each row is highlighted.
| Fact | Claude Sonnet 5 | GPT-4.1 |
|---|---|---|
| Price | ||
| Price per 1M input tokens | $2 | $2 |
| Price per 1M output tokens | $10 | $8 (better) |
| Independent benchmarks | ||
| Arena Text | 1442 Elo (better)Range 1438 to 1446 | 1383 Elo (#50 of 58)Range 1379 to 1387 |
| Epoch Capabilities Index | 156.9 points (better)Range 154.9 to 159.1 | 136.1 points (#45 of 47)Range 134.2 to 138 |
| GPQA Diamond | 90.5% (better) | 66.9% (#43 of 45) |
| FrontierMath Tiers 1-3 (v2) | 65.6% (better) | 6% (#42 of 42) |
| SimpleQA Verified | 33.7% (better) | 31.1% (#34 of 40) |
| Arena WebDev | 1540 EloRange 1534 to 1545 | Not measured |
| LiveBench Overall | 74.85 points | Not measured |
| Specs | ||
| Provider | Anthropic | OpenAI |
| Release date | June 30, 2026 | April 14, 2025 |
| Access | API only | API only |
| Context window | 1,000,000 tokens | 1,047,576 tokens |
| Max output | 128,000 tokens | 32,768 tokens |
| Input | text | text, image |
| Output | text | text |
Ranges under the scores are the publishers' own: published rating ranges from Arena and 90% credible intervals from Epoch AI. Where two ranges overlap, the gap is inside the measurement's own uncertainty, so the row says too close to call and neither score is highlighted or counted as a lead.
Scores:Arena · 2026-11-23Epoch AI · 2026-11-23LiveBench · 2026-06-25
Charts
Against every current text model
Where Claude Sonnet 5 and GPT-4.1 land among the current models of their task, on every independent benchmark, on price and on context.
Where each stands
Claude Sonnet 5 is no longer a current model, so it is not ranked. On Arena Text, GPT-4.1 ranks #50 of 58 current models. Each bar is the share of current models it beats.
Independent benchmarks
Arena Text
Claude Sonnet 5:Not rankedno longer current
1,442 Elo · ahead of 47%
Published rating range 1,438 to 1,446
GPT-4.1:#50of 58
1,383 Elo · ahead of 14%
Published rating range 1,379 to 1,387
Arena WebDev
Claude Sonnet 5:Not rankedno longer current
1,540 Elo · ahead of 25%
Published rating range 1,534 to 1,545
GPT-4.1: Not scored
Epoch Capabilities Index
Claude Sonnet 5:Not rankedno longer current
156.9 · ahead of 47%
90% credible interval 154.9 to 159.1
GPT-4.1:#45of 47
136.1 · ahead of 4%
90% credible interval 134.2 to 138
GPQA Diamond
Claude Sonnet 5:Not rankedno longer current
90.5% · ahead of 33%
GPT-4.1:#43of 45
66.9% · ahead of 5%
FrontierMath Tiers 1-3 (v2)
Claude Sonnet 5:Not rankedno longer current
65.6% · ahead of 31%
GPT-4.1:#42of 42
6% · ahead of 0%
Price and context
Price per 1M input tokens
Claude Sonnet 5:Not rankedno longer current
$2 · cheaper than 22%
GPT-4.1:#40of 67
$2 · cheaper than 23%
Price per 1M output tokens
Claude Sonnet 5:Not rankedno longer current
$10 · cheaper than 24%
GPT-4.1:#44of 67
$8 · cheaper than 35%
Context window
Claude Sonnet 5:Not rankedno longer current
1M tokens · longer than 23%
GPT-4.1:#37of 83
1.05M tokens · longer than 54%
Quality against price
Claude Sonnet 5 scores 1,442 at $4; GPT-4.1 scores 1,383 at $3.50 (blended price per 1M tokens). The line joins the current models no other beats on both price and Arena Text score; hover any point to name it.
Quality against price: the data
| Model | Provider | Blended price per 1M tokens | Arena Text (Elo) |
|---|---|---|---|
| Gemini 4 Carbon | $4 | 1,539 | |
| Gemini 4 Argon | $4 | 1,528 | |
| Gemini 4 Neon | $6 | 1,523 | |
| Claude Opus 5.5 | Anthropic | $8 | 1,514 |
| Muse Wonder | Meta | $8 | 1,504 |
| Gemini 4 Hydrogen | $3 | 1,502 | |
| Gemini 3.8 Flash | $1.50 | 1,501 | |
| Muse Spark 1.3 | Meta | $2 | 1,493 |
| MiMo-V2.6-Pro | Xiaomi MiMo | $0.54 | 1,493 |
| Qwen3.8-Max | Alibaba Qwen | $3 | 1,485 |
| Gemini 3.6 Flash | $3 | 1,479 | |
| Claude Fable 5.2 | Anthropic | $16 | 1,477 |
| Kimi K3 | Moonshot Kimi | $6 | 1,475 |
| GLM-5.3 | Z.ai | $2.15 | 1,475 |
| GLM-5.3-Flash | Z.ai | $0.24 | 1,472 |
| GPT-5.5 | OpenAI | $11 | 1,471 |
| GPT-5.4 | OpenAI | $5.63 | 1,469 |
| Claude Sonnet 5.5 | Anthropic | $4 | 1,469 |
| Gemini 3 Flash Preview | $1.13 | 1,466 | |
| DeepSeek-V4.1-Flash | DeepSeek | $0.52 | 1,463 |
| Kimi K3.1 Pro | Moonshot Kimi | $4 | 1,459 |
| GPT-5.6 Sol | OpenAI | $8 | 1,457 |
| Grok 4.20 | xAI | $1.56 | 1,451 |
| MiMo-V2.6-Flash | Xiaomi MiMo | $0.18 | 1,450 |
| GPT-5.6 Terra | OpenAI | $4.50 | 1,449 |
| Grok 4.5 | xAI | $3 | 1,448 |
| GPT-6.1 Sol | OpenAI | $4 | 1,446 |
| DeepSeek-V4-Pro | DeepSeek | $1.98 | 1,445 |
| Step 5 Preview | StepFun | $1.43 | 1,444 |
| Claude Sonnet 5 | Anthropic | $4 | 1,442 |
| GPT-6 Astra | OpenAI | $20 | 1,441 |
| Gemini 3.5 Flash-Lite | $0.85 | 1,435 | |
| GPT-5.6 Luna | OpenAI | $0.45 | 1,431 |
| Grok 4.6 | xAI | $3 | 1,430 |
| Mistral Large 4 | Mistral AI | $1.05 | 1,414 |
| GPT-6.2 Sol | OpenAI | $4 | 1,414 |
| GPT-6.2 Astra | OpenAI | $16 | 1,413 |
| Inkling 2 Small | Thinking Machines Lab | $0.47 | 1,403 |
| Grok 4.7 | xAI | $3 | 1,401 |
| Claude Haiku 5.5 | Anthropic | $0.20 | 1,398 |
| GPT-6 Sol | OpenAI | $4 | 1,398 |
| Grok 4.3 | xAI | $1.56 | 1,397 |
| GPT-6 Luna | OpenAI | $0.20 | 1,391 |
| Solar Pro 4 | Upstage | $0.52 | 1,388 |
| GPT-4.1 | OpenAI | $3.50 | 1,383 |
| Inkling 2 Mini | Thinking Machines Lab | $0.24 | 1,344 |
| GPT-4.1 mini | OpenAI | $0.70 | 1,340 |
| GPT-4.1 nano | OpenAI | $0.18 | 1,285 |
Cost
What each costs
Example workloads at each provider's listed rates, then every other rate either one lists. The cheaper figure in each row is highlighted.
The same work, priced
For 10M input and 2M output tokens, Claude Sonnet 5 costs 1.1 times as much as GPT-4.1, at each provider's listed rates.
10M input and 2M output tokens
Claude Sonnet 5 costs 1.1× as much
- Claude Sonnet 5
- $40
- GPT-4.1
- $36
The same, with 9M of the input tokens cached
Claude Sonnet 5 costs 1.1× as much
- Claude Sonnet 5
- $23.80
- GPT-4.1
- $22.50
| Workload or rate | Claude Sonnet 5 | GPT-4.1 |
|---|---|---|
| Example workloads | ||
| 10M input and 2M output tokens | $40 | $36 (better) |
| The same, with 9M of the input tokens cached | $23.80 | $22.50 (better) |
| Other listed rates | ||
| 1M input tokens, cached | $0.20 (better) | $0.50 |
Your own bill will differ. These figures use list prices and example workloads. The AI Model Cost Audit reviews your real usage, shortlists models that score as well for each task for less, and estimates the savings.
Launch price $100, regular price $150
Verdict
When to choose each
Claude Sonnet 5
Where it leads
- Higher Arena Text score, 1442 Elo vs 1383 Elo
- Higher Epoch Capabilities Index score, 156.9 points vs 136.1 points
- Higher GPQA Diamond score, 90.5% vs 66.9%
- Higher FrontierMath Tiers 1-3 (v2) score, 65.6% vs 6%
- Higher SimpleQA Verified score, 33.7% vs 31.1%
- Longer responses, up to 128,000 vs 32,768 output tokens
- Cheaper cached input, $0.20 vs $0.50 per 1M tokens
Best for
- Agentic coding evaluations with current introductory API pricing
Watch out for
- Anthropic now lists it as a legacy model, still available until a retirement not sooner than June 30, 2027; its current models are Claude Fable 5.2, Claude Opus 5.5, Claude Sonnet 5.5 and Claude Haiku 5.5
- The launch price is introductory through 2026-08-31; refresh pricing before evaluating workloads after that date
GPT-4.1
Where it leads
- Lower price per 1M output tokens, $8 vs $10
- Accepts image input
Best for
- Long-context API trials using text and image inputs
Watch out for
- Not in the pinned LiveBench snapshot; its independent scores here come from Epoch AI's own GPQA Diamond, FrontierMath and SimpleQA Verified runs
From benchmark to production
Building on Claude Sonnet 5 or GPT-4.1?
Public scores rarely hold on your own data. We test both models on your real tasks, then build the agent or pipeline around the one that wins.
AI Model Cost AuditLaunch price $100, regular price $150
FAQ
Claude Sonnet 5 vs GPT-4.1 FAQ
Which is cheaper, Claude Sonnet 5 or GPT-4.1?
Both cost $2 per 1M input tokens. For 10M input and 2M output tokens, Claude Sonnet 5 costs $40 and GPT-4.1 $36 at standard rates.
Which is cheaper with prompt caching, Claude Sonnet 5 or GPT-4.1?
Claude Sonnet 5 charges $0.20 per 1M cached input tokens, 90% below its standard input rate, and GPT-4.1 $0.50, 75% below. With 9M of 10M input tokens cached and 2M output tokens, Claude Sonnet 5 costs $23.80 and GPT-4.1 $22.50.
Which scores higher on independent benchmarks, Claude Sonnet 5 or GPT-4.1?
Claude Sonnet 5 leads on Arena Text, 1442 Elo to 1383 Elo; Claude Sonnet 5 leads on the Epoch Capabilities Index, 156.9 points to 136.1 points; Claude Sonnet 5 leads on GPQA Diamond, 90.5% to 66.9%. Scores are independent evaluations, not either vendor's launch figures.
Which has the larger context window, Claude Sonnet 5 or GPT-4.1?
Both accept about 1.05M tokens of context (1,000,000 and 1,047,576). Claude Sonnet 5 returns up to 128,000 tokens per response, GPT-4.1 32,768.
How do Claude Sonnet 5 and GPT-4.1 differ in features?
Claude Sonnet 5 takes text input; GPT-4.1 takes text and image.
AI Model Brief
The AI models worth knowing, once a week
What shipped, how it scores on independent benchmarks, what it costs per million tokens and what was deprecated, from the data behind our AI model benchmarks.
We use your address only to send the brief. See our privacy policy.
See this week’s briefFurther reading
More on Claude Sonnet 5 and GPT-4.1
Articles on Claude Sonnet 5 and GPT-4.1
Related comparisons
- Claude Sonnet 5 vs GPT-5.4
- Gemini 4 Carbon vs GPT-4.1
- Claude Sonnet 5 vs Gemini 4 Carbon
- GPT-4.1 vs Kimi K3.1 Pro
- Claude Sonnet 5 vs Kimi K3.1 Pro
- Claude Haiku 5.5 vs GPT-4.1
- Claude Haiku 5.5 vs Claude Sonnet 5
- Gemini 4 Argon vs GPT-4.1
- Claude Sonnet 5 vs Gemini 4 Argon
- GPT-4.1 vs GPT-6.1 Sol
- Claude Sonnet 5 vs GPT-6.1 Sol
- Claude Sonnet 5.5 vs GPT-4.1
Production evaluation
Choosing between Claude Sonnet 5 and GPT-4.1?
Public benchmarks narrow the shortlist. We run both on your own tasks, data and cost limits, then build the routing and review controls to run the winner in production.
- A head-to-head evaluation on your real workload
- Routing between models by cost and difficulty
