Claude Opus 4.7 tops SWE-bench

Anthropic’s models have held the record on the real-world coding test for most of its history. Claude Opus 4.7 takes it to 84%.

SWE-bench Verified is the most practical test we track: fix real bugs in open-source Python projects so that the project’s own tests pass. It is the benchmark closest to what a working programmer does.

One company’s record

In late 2024 the best score was 31%, from GPT-4o. In February 2025 Claude 3.7 Sonnet nearly doubled it, to 61%, and Anthropic has held the record ever since, with one gap: GPT-5 edged ahead in August 2025, at 74%, until Claude Opus 4.5 took it back in November at 77%.

Claude Opus 4.6 reached 79% in February, and Claude Opus 4.7, released on 16 April, now scores 84%, at its highest reasoning setting. The gains are smaller than on the maths and puzzle tests, which is what you would expect of a test where the remaining failures are real, messy software problems.

A caveat on the line

OpenAI stopped reporting on SWE-bench Verified in February, citing flawed tasks and training leakage, and recommends a successor. The page’s caveats say more. A record that one of the main contenders has stopped contesting is still a record, but read the next quarter’s line with that in mind. The explorer has every reported score.