All modelsAnthropic
Claude Sonnet 4.7
Best price-to-capability ratio in the Claude lineup for everyday coding.
MidProprietary1M contextReleased Feb 2026textvisioncode
API price · per 1M tokens
$3/$15
input / output
≈ $6.00/M blended
Benchmarks
Bar shows this model's score; tick shows the best score across all tracked models for context.
SWE-bench VerifiedReal GitHub issues, human-verified patches. The standard coding-agent benchmark.
77.5/ best 90.1SWE-bench Pro2,294 harder real-world GitHub issues. Where the frontier separates now.
51.0/ best 69.2Terminal-Bench 2.xAgentic command-line workflows — planning, iteration, tool coordination.
58.0/ best 84.0GPQA DiamondGoogle-proof graduate-level science Q&A. General reasoning proxy.
83.5/ best 94.4MMLU-ProMulti-task language understanding across 120+ academic subjects.
78.0/ best 93.0HumanEval+Functional code generation from docstrings.
92.0/ best 96.0MATH-500Competition-style math problems.
88.0/ best 97.8Humanity's Last ExamHardest reasoning benchmark (with tools). ~50% = near frontier.
45.0/ best 57.9AIME 2025American Invitational Mathematics Examination.
84.0/ best 96.5