specs at a glance

Leaderboard rank#15 of 28
SWE-bench Verified85.2%
SWE-bench Pro63.2%
Terminal-Bench80.4% (TB2.1)
Input price / 1M$2
Output price / 1M$10
Context window1M
Open weightsNo
AccessAPI · Claude Code · claude.ai (Free/Pro default)
MakerAnthropic

how good is Claude Sonnet 5 at coding?

Claude Sonnet 5 sits at #15 of 28 ranked models, posting 85.2% on SWE-bench Verified — 11.8 points behind #1 Claude Opus 5. On the harder SWE-bench Pro it scores 63.2%. Terminal-Bench (agentic terminal work): 80.4% (TB2.1).

Score provenance: Vendor-reported (Anthropic), on Anthropic's own scaffold. Independent comparison: vals.ai's bash-only harness measures Sonnet 5 at 79.6% ±1.80, 5.6 points lower — a gap that reflects the harness as much as the model, so treat the 85.2% as a best-case number. Re-confirmed 2026-08-13: vals.ai still carries Sonnet 5 at 79.60% ±1.80, unchanged, so the 5.6-point vendor-versus-independent gap stands. Per this board's standing rule we keep the maker's figure as the ranked score and disclose the independent one here rather than rebasing. Intro pricing $2/$10 per 1M through Aug 31, 2026, then $3/$15.

what does Claude Sonnet 5 cost?

$2 per 1M input tokens and $10 per 1M output — #19 cheapest of the 26 models we track. Coding workloads are output-heavy, so weight the output rate when budgeting. Run your own volume through the AI API cost calculator for a monthly estimate.

where can you use it?

Available via API · Claude Code · claude.ai (Free/Pro default). As a proprietary model, you're on the maker's infrastructure and release schedule.

Full storyClaude Sonnet 5: Near-Opus Coding at Half the Price

Ranked on our AI Coding Leaderboard — scores confirmed against primary sources only, updated 2026-08-20.