Claude Opus 5 lifts its test pass rate to 88.6% — and writes 2.3x more code

Share
Claude Opus 5 lifts its test pass rate to 88.6% — and writes 2.3x more code

Code-analysis firm Sonar put Anthropic's Claude Opus 5 through its standard LLM evaluation and found the model passes more of the tests it's given — hitting 88.6% on executable coding tasks versus 82.9% for the Opus 4.8 it replaces — while generating more than twice as much code along the way.

The pass-rate gain is the headline. Across 544 HumanEval and MBPP tasks with executable tests, Opus 5 landed at 88.6%, a 5.7-point step up from Opus 4.8's 82.9%. The three Opus releases before it all clustered within a single percentage point (82.72%–83.66%), so this is a genuine jump rather than drift, and the model also finishes what it starts more reliably — missing completions fell from 1.22% to 0.83%.

On a per-line basis, the code got cleaner. Bug density dropped 14% and vulnerability density fell 20%, with Sonar reporting its most striking figure yet: blocker-level, security-impact findings tumbled 75%, from 77 to 19 per million lines of code. Exception-handling bugs fell 52% and control-flow mistakes 51%. Anthropic has framed Opus 5 as unusually good at verifying its own work while it plans; Sonar's numbers are broadly consistent with that claim.

The wrinkle is volume. For the same 4,441 tasks, Opus 5 produced 916,813 lines of code against Opus 4.8's 391,456 — a 2.3× jump — and 3.6× the output tokens (21.7 million versus 6.0 million). It split that into 2.5× as many functions, each slightly tighter, which Sonar reads as decomposition rather than sprawl. The catch is that cleaner-per-line still scales up: 2.3× more code translates to roughly 2.7× the total issues, with code-smell density up 17% and the collections-and-generics smell category more than doubling. Concurrency and threading bugs nearly doubled to become the top bug category — the same pattern Sonar saw in every GPT model it evaluated this month.

Both readings are true, and the practical takeaway is that verification load doesn't shrink — it shifts. Teams adopting Opus 5 should point automated checks where Sonar's data points: threading, cryptography configuration (its top vulnerability category, which jumped from 43 to 103 per million lines), and untyped collection handling. The volume tradeoff also complicates the model's core pitch as a cheaper alternative to Claude Fable 5 — more output means more code to review even when that output is denser with fixes. We saw the cost calculus already pulling buyers toward Opus 5 in Anthropic's Opus 5 overtakes flagship Fable 5 as buyers trade down.

What to watch: Whether Anthropic trims Opus 5's verbosity in a point release, and whether rival benchmarks start scoring code volume the way Sonar now does.

Which tradeoff matters more to your workflow — cleaner code or less of it? Tell us in the comments.

Read more

Akhetonics says its all-optical CPU reaches a customer in 2026

Akhetonics says its all-optical CPU reaches a customer in 2026

Light-based computing keeps promising more than it delivers — but one Munich startup has just put a date on its bet, and the interview laying it out is doing the rounds on Hacker News this week. Akhetonics says it will deploy its first commercial machine with a major customer by the end of 2026, with several more planned for 2027. The company, founded by Michael Kissner and Leonardo Del Bino, is building a computer where data enters as light, is switched as light, and circulates through memory

The Week in AI — October 5–11, 2026

The Week in AI — October 5–11, 2026

Every big claim this week turned out to rest on fine print more interesting than the headline: revenue only the company reporting it can define, safety tests sandboxed while the product keeps the web, and a Pentagon phase-out nobody would confirm until reporters kept asking. The week's top 5 1. OpenAI's revenue was $20 billion below the numbers everyone quoted — and the gap was definitional. The Financial Times reported Thursday that OpenAI's annualized revenue runs roughly $20 billion unde

Drone strike shuts a third Yandex data center, taking YandexGPT offline

Drone strike shuts a third Yandex data center, taking YandexGPT offline

Russia's largest tech company is learning what the AI era's infrastructure war looks like from the receiving end — three data centers in four days, and with them much of the cloud layer Russian businesses run on. A Ukrainian drone strike knocked out Yandex's data center in Vladimir early Sunday morning, the third of the company's facilities hit since October 8. The site — reported at roughly 50 MW and designed for about 2,880 server racks — stopped operating completely after the attack, Yandex

Agent teams cost up to 5x more, barely score higher

Agent teams cost up to 5x more, barely score higher

The multi-agent hype train hit a benchmark this weekend — and the grid and the trucking regulators had quiet weeks of their own. Vals AI put agent teams head-to-head with single agents on its Vibe Code Bench, and the teams cost between 1.8 and 5.1 times more for almost no extra quality. The evals company ran GPT-6 Sol and Claude Opus 5.5 solo and in teams across 50 apps at two reasoning efforts; out of four comparisons, only one was statistically significant — Sol at medium effort, where the t