Skip to main content

text model comparison

Claude Sonnet 5 vs GPT-5.4

Claude Sonnet 5 and GPT-5.4 are both current text models, from Anthropic and OpenAI. Claude Sonnet 5 is 20% cheaper per 1M input tokens than GPT-5.4, $2 vs $2.50. On Arena Text, Claude Sonnet 5 scores 1462 Elo and GPT-5.4 1475 Elo (Arena, measured October 28, 2026). GPT-5.4 has the larger context window, 1,050,000 vs 1,000,000 tokens.

Higher Arena Text
GPT-5.41475 Elo against 1462 Elo
Lower price per 1M input tokens
Claude Sonnet 5$2 against $2.50
Longer context window
GPT-5.41.05M tokens against 1M tokens
Newer release
Claude Sonnet 5Jun 2026 against Mar 2026

Data verified November 3, 2026 · Dataset 2026-11-06

Share this

Side by side

Claude Sonnet 5 and GPT-5.4, line by line

Prices in effect today, compared at the same tier wherever both list one. The better value in each row is highlighted.

FactClaude Sonnet 5GPT-5.4
Price
Price per 1M input tokens$2 (better)$2.50
Price per 1M output tokens$10 (better)$15
Independent benchmarks
Arena Text1462 Elo (#30 of 52)1475 Elo (#24 of 52) (better)
Arena WebDev1540 Elo (#34 of 46) (better)1401 Elo (#41 of 46)
GPQA Diamond90.5% (#26 of 41)93.3% (#14 of 41) (better)
FrontierMath Tiers 1-3 (v2)65.6% (#28 of 41)78.6% (#18 of 41) (better)
SimpleQA Verified33.7% (#31 of 38)45.1% (#25 of 38) (better)
LiveBench Overall74.85 points (#4 of 4)77.97 points (#3 of 4) (better)
Specs
ProviderAnthropicOpenAI
Release dateJune 30, 2026March 5, 2026
AccessAPI onlyAPI only
Context window1,000,000 tokens1,050,000 tokens
Max output128,000 tokens128,000 tokens
Inputtexttext, image
Outputtexttext

Scores:Arena · 2026-11-03Epoch AI · 2026-11-03LiveBench · 2026-06-25

Open both in the interactive comparison

Charts

Against every current text model

Where Claude Sonnet 5 and GPT-5.4 land among the current models of their task, on every independent benchmark, on price and on context.

Where each stands

On Arena Text, Claude Sonnet 5 ranks #30 and GPT-5.4 #24 of 52 current models. Each bar is the share of current models it beats: on score, price and context.

Claude Sonnet 5 and GPT-5.4 among the current text models, one row per benchmark, price and context window.

Independent benchmarks

Arena Text

Claude Sonnet 5:#30of 52

1,462 Elo · ahead of 43%

GPT-5.4:#24of 52

1,475 Elo · ahead of 55%

Arena WebDev

Claude Sonnet 5:#34of 46

1,540 Elo · ahead of 27%

GPT-5.4:#41of 46

1,401 Elo · ahead of 11%

GPQA Diamond

Claude Sonnet 5:#26of 41

90.5% · ahead of 35%

GPT-5.4:#14of 41

93.3% · ahead of 65%

FrontierMath Tiers 1-3 (v2)

Claude Sonnet 5:#28of 41

65.6% · ahead of 33%

GPT-5.4:#18of 41

78.6% · ahead of 57%

SimpleQA Verified

Claude Sonnet 5:#31of 38

33.7% · ahead of 19%

GPT-5.4:#25of 38

45.1% · ahead of 35%

Price and context

Price per 1M input tokens

Claude Sonnet 5:#31of 58

$2 · cheaper than 26%

GPT-5.4:#44of 58

$2.50 · cheaper than 25%

Price per 1M output tokens

Claude Sonnet 5:#36of 58

$10 · cheaper than 28%

GPT-5.4:#44of 58

$15 · cheaper than 23%

Context window

Claude Sonnet 5:#27of 67

1M tokens · longer than 24%

GPT-5.4:#1of 67

1.05M tokens · longer than 85%

Quality against price

Arena Text · measured October 28, 2026

Claude Sonnet 5 scores 1,462 at $4; GPT-5.4 scores 1,475 at $5.63 (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 priceArena Text score against price for 44 text models, Claude Sonnet 5 and GPT-5.4 marked.1,2501,3001,3501,4001,4501,5001,550$0.30$1$3$10MOST ATTRACTIVE QUADRANTMedian price $3Median 1,476Blended price per 1M tokens (3 input : 1 output), log scaleArena Text (Elo)GPT-5.4Claude Sonnet 5
Quality against price: the data
Arena Text score against price for 44 text models, Claude Sonnet 5 and GPT-5.4 marked.
ModelProviderBlended price per 1M tokensArena Text (Elo)
Gemini 4 CarbonGoogle$41,528
Gemini 4 ArgonGoogle$41,520
Claude Opus 5.5Anthropic$81,509
Muse WonderMeta$81,507
Claude Fable 5Anthropic$201,504
Claude Fable 5.1Anthropic$201,504
Gemini 3.8 FlashGoogle$1.501,496
Muse Spark 1.3Meta$21,495
Claude Opus 5Anthropic$101,492
Kimi K3Moonshot Kimi$61,488
GPT-5.6 SolOpenAI$81,485
Gemini 3.6 FlashGoogle$31,483
GPT-5.5OpenAI$111,482
Claude Opus 4.8Anthropic$101,482
Qwen3.8-MaxAlibaba Qwen$31,482
GPT-6.1 SolOpenAI$41,481
GLM-5.3Z.ai$2.151,481
MiMo-V2.6-ProXiaomi MiMo$0.541,480
Claude Sonnet 5.5Anthropic$41,477
GLM-5.3-FlashZ.ai$0.241,477
GPT-6 AstraOpenAI$201,476
DeepSeek-V4.1-FlashDeepSeek$0.521,476
GPT-5.4OpenAI$5.631,475
Gemini 3 Flash PreviewGoogle$1.131,473
Grok 4.20xAI$1.561,472
GPT-5.6 TerraOpenAI$4.501,467
Grok 4.5xAI$31,465
DeepSeek-V4-ProDeepSeek$1.981,465
Claude Sonnet 5Anthropic$41,462
GPT-6 SolOpenAI$41,458
Gemini 3.5 Flash-LiteGoogle$0.851,456
Grok 4.6xAI$31,455
GPT-5.6 LunaOpenAI$0.451,453
MiMo-V2.6-FlashXiaomi MiMo$0.181,448
Step 5 PreviewStepFun$1.431,448
Grok 4.3xAI$1.561,442
GPT-6 LunaOpenAI$0.201,441
Grok 4.7xAI$31,441
Mistral Large 4Mistral AI$1.051,432
Claude Haiku 5.5Anthropic$0.201,425
GPT-4.1OpenAI$3.501,415
Solar Pro 4Upstage$0.521,388
GPT-4.1 miniOpenAI$0.701,383
GPT-4.1 nanoOpenAI$0.181,322

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, GPT-5.4 costs 1.4 times as much as Claude Sonnet 5, at each provider's listed rates.

What Claude Sonnet 5 and GPT-5.4 cost for the same work, at the rates each provider lists.
  • 10M input and 2M output tokens

    GPT-5.4 costs 1.4× as much

    Claude Sonnet 5
    $40
    GPT-5.4
    $55
  • The same, with 9M of the input tokens cached

    GPT-5.4 costs 1.5× as much

    Claude Sonnet 5
    $23.80
    GPT-5.4
    $34.75
Workload or rateClaude Sonnet 5GPT-5.4
Example workloads
10M input and 2M output tokens$40 (better)$55
The same, with 9M of the input tokens cached$23.80 (better)$34.75
Other listed rates
1M input tokens, cached$0.20 (better)$0.25

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

Book the cost audit

Verdict

When to choose each

Claude Sonnet 5

Where it leads

  • Lower input and output prices, $2 and $10 vs $2.50 and $15 per 1M tokens
  • Higher Arena WebDev score, 1540 Elo vs 1401 Elo
  • Cheaper cached input, $0.20 vs $0.25 per 1M tokens

Best for

  • Agentic coding evaluations with current introductory API pricing

Watch out for

  • The launch price is introductory through 2026-08-31; refresh pricing before evaluating workloads after that date

GPT-5.4

Where it leads

  • Higher Arena Text score, 1475 Elo vs 1462 Elo
  • Higher GPQA Diamond score, 93.3% vs 90.5%
  • Higher FrontierMath Tiers 1-3 (v2) score, 78.6% vs 65.6%
  • Higher SimpleQA Verified score, 45.1% vs 33.7%
  • Higher LiveBench Overall score, 77.97 points vs 74.85 points
  • Larger context window 1,050,000 vs 1,000,000 tokens
  • Accepts image input

Best for

  • Long-context coding and professional-work evaluations

Watch out for

  • Prompts above the provider long-context threshold use higher token rates; reproduce cost and quality on the target workload

From benchmark to production

Building on Claude Sonnet 5 or GPT-5.4?

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 $150What the audit includes

FAQ

Claude Sonnet 5 vs GPT-5.4 FAQ

Which is cheaper, Claude Sonnet 5 or GPT-5.4?

Claude Sonnet 5 is 20% cheaper per 1M input tokens than GPT-5.4, $2 vs $2.50. For 10M input and 2M output tokens, Claude Sonnet 5 costs $40 and GPT-5.4 $55 at standard rates.

Which is cheaper with prompt caching, Claude Sonnet 5 or GPT-5.4?

Claude Sonnet 5 charges $0.20 per 1M cached input tokens, 90% below its standard input rate, and GPT-5.4 $0.25, 90% below. With 9M of 10M input tokens cached and 2M output tokens, Claude Sonnet 5 costs $23.80 and GPT-5.4 $34.75.

Which scores higher on independent benchmarks, Claude Sonnet 5 or GPT-5.4?

GPT-5.4 leads on Arena Text, 1475 Elo to 1462 Elo; Claude Sonnet 5 leads on Arena WebDev, 1540 Elo to 1401 Elo; GPT-5.4 leads on GPQA Diamond, 93.3% to 90.5%. Scores are independent evaluations, not either vendor's launch figures.

Which has the larger context window, Claude Sonnet 5 or GPT-5.4?

GPT-5.4 has the larger context window, 1,050,000 vs 1,000,000 tokens. Both return up to 128,000 tokens per response.

How do Claude Sonnet 5 and GPT-5.4 differ in features?

Claude Sonnet 5 takes text input; GPT-5.4 takes text and image.

Production evaluation

Choosing between Claude Sonnet 5 and GPT-5.4?

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