// head_to_head

Claude Sonnet 5 vs GPT-4o (2024-08-06)

Published LiveBench scores across all seven categories, live list pricing, context windows, and the measured cost of a point of capability — for both models, side by side.

OpenRouter + LiveBenchAll comparisonsFull leaderboard

Claude Sonnet 5 and GPT-4o (2024-08-06) are priced within ~10% of each other.

GPT-4o (2024-08-06) does not have a published LiveBench run, so this comparison covers price, context and declared capabilities only. A missing score means "not evaluated", not "worse" — the right way to separate these two is an eval on your own workload.

anthropic

Claude Sonnet 5

Blended / 1M
$4.00
Context
1M
Released
Jun 30, 2026
Overall score
76.0
reasoningtool callingimage inputfile inputprompt caching

openai

GPT-4o (2024-08-06)

Blended / 1M
$4.38
Context
128K
Released
Aug 6, 2024
Overall score
Not evaluated
tool callingimage inputfile inputprompt caching

Specs and pricing

MetricClaude Sonnet 5GPT-4o (2024-08-06)
LiveBench overall

Mean of the seven LiveBench category scores, 0–100. Higher is better.

76.0
Cost per point

Measured benchmark spend divided by overall score — dollars per point of capability.

$0.2691
Blended price / 1M

3:1 input:output mix, the usual shape of production traffic.

$4.00$4.38
Input price / 1M$2.00win$2.50
Output price / 1M$10.00$10.00
Cached input / 1M

Price of an input token served from the prompt cache, where the provider publishes one.

$0.200win$1.25
Context window1Mwin128K
Max output tokens128Kwin16K

Benchmarks by category

An overall score averages away the thing you probably care about. These are the seven LiveBench categories scored separately — Claude Sonnet 5 on top, GPT-4o (2024-08-06) below, both out of 100.

Agentic coding
59.4
Coding
80.7
Reasoning
88.7
Mathematics
92.9
Data analysis
71.7
Language
75.0
Instruction following
63.9

What each one costs to run

Per-token prices are hard to feel. These are monthly list costs for both models across five workload shapes, using each provider's published cached-input rate where there is one.

WorkloadClaude Sonnet 5GPT-4o (2024-08-06)
Support chatbot

1.2K in / 400 out × 200K requests

$1,150/mo$1,310/mo
RAG assistant

8K in / 600 out × 100K requests

$1,480/mo$2,100/mo
Coding agent

40K in / 4K out × 20K requests

$1,392/mo$2,100/mo
Document extraction

20K in / 1.5K out × 50K requests

$2,660/mo$3,188/mo
Bulk classification

500 in / 20 out × 5M requests

$5,100/mo$6,625/mo
Run these two through the cost calculator

Which should you pick?

You need to fit large documents in one call

Claude Sonnet 5

Wider context window — 1M against 128K.

Claude Sonnet 5 vs GPT-4o (2024-08-06) FAQ

Which is better, Claude Sonnet 5 or GPT-4o (2024-08-06)?

Claude Sonnet 5 and GPT-4o (2024-08-06) are priced within ~10% of each other. GPT-4o (2024-08-06) does not have a published LiveBench run, so this comparison covers price, context and declared capabilities only. A missing score means "not evaluated", not "worse" — the right way to separate these two is an eval on your own workload.

Is Claude Sonnet 5 cheaper than GPT-4o (2024-08-06)?

They cost about the same. Both land near $4.00 per million tokens on a 3:1 input:output blend, so price is unlikely to be the deciding factor between them.

Does Claude Sonnet 5 or GPT-4o (2024-08-06) have a bigger context window?

Claude Sonnet 5 has the larger context window: 1M for Claude Sonnet 5 against 128K for GPT-4o (2024-08-06). Note that a window you can fill is not a window you should fill — retrieval quality usually degrades well before the limit, and you pay for every token you put in it.

Do Claude Sonnet 5 and GPT-4o (2024-08-06) support prompt caching?

Both publish a cached-input rate: $0.200 per million for Claude Sonnet 5 and $1.25 for GPT-4o (2024-08-06), against full input rates of $2.00 and $2.50. On a workload with a long stable prefix — a system prompt, a tool schema, a retrieved corpus — that changes the economics more than the headline price does.

Related comparisons

How these numbers are produced

  • Price — provider list price from OpenRouter, refreshed every 15 minutes. “Blended” is a 3:1 input:output mix.
  • ScoresLiveBench release 2026-06-25, using their own category map. Each model shows its strongest published run. A blank means “not evaluated”, never “bad”.
  • Cost per point — the measured dollars LiveBench spent on the run, divided by the score it earned.
  • “Win” — awarded only past a threshold: one full point on a benchmark score, 10% on a price, 25% on a context window. Anything tighter reports as a tie, because effort settings alone move a LiveBench score by more than that.

Published benchmarks rank models on someone else's tasks. Before committing, see LLM & agent evaluation for building an eval on your own.