Best LLM for Coding in 2026
Models from the last 12 months, ranked by the average of their SWE-bench Verified and LiveCodeBench scores. Scores without a traceable source are left out.
Updated automatically as new models release. Full benchmark leaderboard →
How we rank coding models
We average two benchmarks:
- SWE-bench Verified: real GitHub issues from popular open-source repos. It tests autonomous software engineering: read the issue, write a fix, pass the test suite.
- LiveCodeBench: competitive programming problems from LeetCode, Codeforces and AtCoder, collected after model training cutoffs to limit contamination.
Each score links to its source on the benchmarks leaderboard; scores from independent evaluators (Vals AI, Artificial Analysis) and from developers' own announcements are both used, and developers' figures are often higher. Rankings update as new scores are added.
Also see: Best Reasoning LLM, Best Cheap LLM, Compare any two models.