Sonnet 5 vs Opus 4.8 in Coding Benchmarks
bisonbear2 · reddit · 2026-07-15
The author tested Sonnet 5 and Opus 4.8 using 24 real-world open-source repository tasks in Claude Code, running a head-to-head comparison across five reasoning effort levels. Patch quality was evaluated using GPT-5.4 as a pointwise judge.
Key Findings
- At high reasoning efforts, Sonnet generates patches with more checks and longer paths; the judge frequently rates them as "clear and explicit in intent."
- Opus tends to output "simple, robust, minimal diff" patches, resulting in smaller diffs in most cases.
- Cost differences are also notable: Sonnet is cheaper at low/medium tiers, but at the max tier, it becomes more expensive than Opus.
More from coding & agent
- GPT-6 Astra beats Factorio with enemies in 44 in-game hours at ~$4,500 API cost — liminal_bardo · 2026-09-11
- Investment Analyst Asks How to Build a Claude-Based Diligence Agent Stack — Careless_Tie2286 · 2026-09-11
- Treating agents like 50 First Dates: a 3-layer context system so every conversation doesn't start from zero — evielync · 2026-09-11
- Running the Firefox MCP on Android via Termux, ngrok, and mcp-proxy — Nervous-Strain7544 · 2026-09-11
- SmolVM open-sources persistent computer infrastructure for agents that outlive chat sessions — aniketmaurya · 2026-09-11
- ARRM targets silent economic regressions in AI agents that functional tests miss — Beautiful_Belt_601 · 2026-09-11