← All posts
·3 min readModel Performance

Claude Sonnet 5 Beats Opus 4.8 on Terminal-Bench. Read That Again.

Queen and king chess pieces facing each other on a chessboard
Photo by Shirly Niv Marton on Unsplash

Anthropic shipped Claude Sonnet 5 on June 30, and buried in the benchmark table is a first: the mid-tier model beats the flagship. On Terminal-Bench 2.1 — agentic terminal work, the bread and butter of coding agents — Sonnet 5 scores 80.4% against Opus 4.8's 74.6%. Not "closes the gap." Beats it, by nearly six points, at 40% lower price.

That's worth sitting with, because most model-selection heuristics quietly assume the price ladder and the capability ladder are the same ladder. This release says they aren't.

The numbers, honestly

Cherry-picking one benchmark would be malpractice, so here's the fuller picture from llm-stats and MarkTechPost:

Where Sonnet 5 wins or ties:

Benchmark Sonnet 5 Opus 4.8
Terminal-Bench 2.1 80.4% 74.6%
GDPval-AA v2 (knowledge work, Elo) 1618 1603
Humanity's Last Exam (with tools) 57.4% 57.9% (effectively tied)

Where Opus 4.8 still leads:

Benchmark Sonnet 5 Opus 4.8
SWE-bench Pro 63.2% 69.2%
SWE-bench Verified 85.2% 88.6%
OSWorld-Verified 81.2% 83.4%
USAMO 2026 79.5% 96.7%

Pricing: Sonnet 5 is $3 / $15 per 1M tokens (with introductory $2 / $10 through August 31), Opus 4.8 is $5 / $25. Both have 1M-token context windows.

So no, Sonnet 5 is not "better than Opus." Opus 4.8 keeps a real six-point lead on SWE-bench Pro — the harder deep-coding benchmark — and it isn't close on olympiad math (a 17-point USAMO gap). If your workload is genuinely at the frontier of multi-file repository surgery or formal reasoning, the flagship still earns its premium.

But look at what Sonnet 5 wins: terminal-driven agentic work and knowledge-work evals. That's not a niche. For a lot of teams, that's the whole production workload.

Why the cheap model can beat the big one

The pattern isn't magic, and it's worth understanding because it will recur. Flagships are trained to maximize peak capability; mid-tier models get trained later in the cycle, on better data recipes and post-training techniques, often distilled from lessons the flagship taught. Sonnet 5 jumped 13 points over Sonnet 4.6 on Terminal-Bench (80.4 vs 67.0) — that's a generation of post-training progress landing in the cheap tier a month after the flagship shipped. Benchmarks that reward reliability over many small steps — which is what agentic terminal work is — favor exactly the fast, consistent behavior mid-tier models are optimized for. Raw depth matters less than not fumbling step 37 of 50.

What this breaks in your model selection

The comfortable heuristic — "prototype on the cheap model, ship on the flagship when quality matters" — is now backwards for some workloads. If you're running coding agents and defaulting to Opus 4.8 because it's the flagship, the benchmark says you're paying 67% more per token for a worse result on that task shape.

Three practical moves:

  1. Re-run your own evals on every release, including the "lesser" models. The June 30 release made "which Claude is best for agents" an empirical question with a surprising answer. It will change again.
  2. Stop selecting by tier prestige; select by task shape. Terminal agents → Sonnet 5. Deep repository refactors, hard math → Opus 4.8. Same vendor, opposite answers.
  3. Price the delta. Where Opus leads by 2–3 points (OSWorld, SWE-bench Verified), ask whether those points are worth 67% more spend at your volume. Sometimes yes. Usually not.

The uncomfortable meta-lesson: "flagship" is a pricing tier, not a performance guarantee, and the mapping from price to quality now shifts per-task and per-release. Keeping that mapping current across vendors is real, recurring work — it's the exact problem tier-based routing exists to absorb, and (disclosure) the one we work on at TierUp.

Until your own evals say otherwise, the defensible default for agentic coding just got cheaper.

Sources

Featured on Fazier