AI Rankings
Best LLM for Coding: Ranked by People Who Judge the Code
Data updated
Top 20 at a glance
Bars start at 1515, not zero, so differences are easier to see.
Full ranking
| Rank and model | Arena coding rating | Likely range | Votes | Epoch index | Price per 1M tokens (in / out) |
|---|---|---|---|---|---|
1Gemini 4 ArgonGoogle | 1552 | 1539 to 1564 | 2,385 | 166.4 | $2.00 / $10.00 |
2Claude Fable 5Anthropic | 1551 | 1544 to 1557 | 11,336 | 163.4 | $10.00 / $50.00 |
3Claude Opus 4.7Anthropic | 1551 | 1545 to 1556 | 18,580 | 156.8 | $5.00 / $25.00 |
4Claude Opus 5.5Anthropic | 1548 | 1535 to 1561 | 2,314 | 168.8 | $4.00 / $20.00 |
5Claude Opus 4.6Anthropic | 1547 | 1542 to 1552 | 24,319 | 155.7 | $5.00 / $25.00 |
6Muse WonderMeta | 1545 | 1529 to 1560 | 1,469 | 161.8 | Not measured |
7GPT-6 AstraOpenAI | 1543 | 1532 to 1554 | 3,156 | 168.8 | $10.00 / $50.00 |
8Muse Spark 1.2Meta | 1541 | 1529 to 1553 | 2,687 | 155.1 | $1.25 / $4.25 |
9Kimi K3Moonshot AI · Open weights | 1539 | 1532 to 1546 | 8,871 | 157.9 | $3.00 / $15.00 |
10MiMo-V2.6-ProXiaomi · Open weights | 1538 | 1520 to 1555 | 1,102 | Not measured | $0.43 / $0.87 |
11Claude Fable 5.1Anthropic | 1538 | 1527 to 1548 | 3,237 | 166.5 | $10.00 / $50.00 |
12GPT-6.1 SolOpenAI | 1537 | 1522 to 1552 | 1,641 | 168.4 | $2.00 / $10.00 |
13Muse Spark 1.3Meta | 1536 | 1527 to 1545 | 5,259 | 157.2 | $1.25 / $4.25 |
14Claude Opus 5Anthropic | 1534 | 1528 to 1540 | 18,182 | 163.9 | $5.00 / $25.00 |
15GPT-5.6 SolOpenAI | 1534 | 1527 to 1540 | 11,350 | 162.8 | $4.00 / $20.00 |
16Claude Opus 4.8Anthropic | 1533 | 1528 to 1539 | 17,411 | 159.0 | $5.00 / $25.00 |
17Muse Spark 1.1Meta | 1533 | 1526 to 1539 | 12,696 | 154.1 | $1.25 / $4.25 |
18Claude Opus 4.5Anthropic | 1530 | 1523 to 1538 | 7,783 | 150.1 | $5.00 / $25.00 |
19Muse SparkMeta | 1529 | 1519 to 1539 | 3,942 | 152.0 | Not measured |
20Claude Sonnet 4.6Anthropic | 1528 | 1523 to 1534 | 19,726 | 152.8 | $3.00 / $15.00 |
21Gemini 3.8 FlashGoogle | 1528 | 1521 to 1535 | 11,350 | 157.4 | $0.75 / $3.75 |
22Claude Sonnet 5.5Anthropic | 1528 | 1515 to 1541 | 2,117 | 166.2 | $2.00 / $10.00 |
23GLM-5.3-FlashZ.ai · Open weights | 1525 | 1518 to 1532 | 9,720 | 153.1 | $0.15 / $0.50 |
24Qwen 3.8 MaxAlibaba | 1524 | 1517 to 1532 | 8,333 | 157.4 | $2.00 / $6.00 |
24Qwen3.7-MaxAlibaba | 1524 | 1506 to 1542 | 1,165 | 154.0 | $2.50 / $7.50 |
26DeepSeek V4.1 FlashDeepSeek · Open weights | 1523 | 1513 to 1533 | 3,760 | 155.9 | $0.30 / $1.20 |
27Gemini 3.1 ProGoogle | 1522 | 1517 to 1526 | 35,768 | 155.3 | $2.00 / $12.00 |
28GLM-5.3Z.ai · Open weights | 1521 | 1513 to 1529 | 5,965 | 156.0 | $1.40 / $4.40 |
29GPT-5.4OpenAI | 1521 | 1515 to 1526 | 17,590 | 157.3 | $2.50 / $15.00 |
30MiMo-V2.5-ProXiaomi · Open weights | 1521 | 1515 to 1526 | 20,881 | Not measured | $0.52 / $1.04 |
31Gemini 3.7 FlashGoogle | 1520 | 1513 to 1528 | 8,211 | 158.0 | $0.75 / $3.75 |
32Claude Sonnet 5Anthropic | 1520 | 1514 to 1526 | 13,777 | 156.9 | $2.00 / $10.00 |
33GPT-6 SolOpenAI | 1519 | 1509 to 1530 | 3,371 | 163.7 | $2.00 / $10.00 |
34GPT-5.5OpenAI | 1519 | 1513 to 1525 | 19,144 | 159.7 | $5.00 / $30.00 |
35Claude Sonnet 4.5Anthropic | 1519 | 1514 to 1524 | 19,932 | 146.7 | $3.00 / $15.00 |
36Gemini 3.6 FlashGoogle | 1518 | 1511 to 1525 | 10,357 | 154.5 | $0.75 / $3.75 |
37GPT-5.6 TerraOpenAI | 1518 | 1511 to 1524 | 12,237 | 160.1 | $2.00 / $12.00 |
38Gemini 3 ProGoogle | 1517 | 1510 to 1524 | 8,807 | 153.1 | $2.00 / $12.00 |
39Kimi K2.6Moonshot AI · Open weights | 1516 | 1509 to 1523 | 11,097 | 150.9 | $0.95 / $4.00 |
40GPT-5.2 ChatOpenAI | 1515 | 1508 to 1521 | 9,626 | Not measured | $1.75 / $14.00 |
41GLM-5.2Z.ai · Open weights | 1514 | 1508 to 1520 | 13,954 | 151.9 | $1.40 / $4.40 |
42Grok 4.5xAI | 1514 | 1507 to 1520 | 11,106 | 154.1 | $2.00 / $6.00 |
43GPT-5.5 InstantOpenAI | 1513 | 1506 to 1521 | 7,912 | 142.4 | Not measured |
44Qwen3.5-Max-PreviewAlibaba | 1513 | 1505 to 1521 | 6,364 | Not measured | Not measured |
45GLM-5.1Z.ai · Open weights | 1513 | 1507 to 1518 | 17,686 | 149.8 | $1.40 / $4.40 |
46Qwen 3.6 Max (Preview)Alibaba | 1512 | 1497 to 1527 | 1,617 | 149.4 | $1.27 / $7.61 |
47ERNIE 5.1Baidu | 1512 | 1505 to 1519 | 10,918 | Not measured | $0.56 / $2.54 |
48Claude Opus 4.1Anthropic | 1511 | 1505 to 1518 | 9,918 | 144.1 | $15.00 / $75.00 |
| 1511 | 1505 to 1516 | 18,360 | Not measured | $1.25 / $2.50 | |
50Grok 4.6xAI | 1510 | 1502 to 1517 | 7,973 | 156.6 | $2.00 / $6.00 |
| 1508 | 1503 to 1514 | 18,012 | Not measured | $1.25 / $2.50 | |
52Gemini 3.5 FlashGoogle | 1508 | 1502 to 1514 | 13,851 | 154.9 | $1.50 / $9.00 |
53Grok 4.20 Beta 1xAI | 1508 | 1500 to 1515 | 7,489 | Not measured | Not measured |
54GPT-6 LunaOpenAI | 1507 | 1501 to 1513 | 16,451 | 156.8 | $0.10 / $0.50 |
55Gemini 3 FlashGoogle | 1506 | 1498 to 1513 | 6,587 | 151.9 | $0.50 / $3.00 |
56DeepSeek V4 Pro 0813DeepSeek · Open weights | 1505 | 1493 to 1516 | 2,804 | 155.6 | $1.32 / $3.96 |
57Kimi K2.5Moonshot AI · Open weights | 1504 | 1491 to 1518 | 1,870 | 148.1 | $0.60 / $3.00 |
58GPT-5.6 LunaOpenAI | 1502 | 1495 to 1509 | 11,215 | 156.5 | $0.20 / $1.20 |
59Gemini 3.5 Flash-LiteGoogle | 1502 | 1495 to 1509 | 9,922 | 144.9 | $0.30 / $2.50 |
60DeepSeek-V4-ProDeepSeek · Open weights | 1501 | 1495 to 1507 | 17,142 | 149.1 | $1.32 / $3.96 |
61Qwen3.7-PlusAlibaba | 1501 | 1494 to 1507 | 12,179 | 147.0 | $0.36 / $1.44 |
62Grok 4.1xAI | 1500 | 1494 to 1505 | 15,412 | Not measured | Not measured |
63Qwen 3.8 27BAlibaba · Open weights | 1499 | 1492 to 1507 | 7,134 | 151.7 | $0.45 / $3.00 |
64Claude Opus 4Anthropic | 1498 | 1491 to 1506 | 6,595 | 142.5 | $15.00 / $75.00 |
65Mistral Large 4Mistral AI | 1498 | 1485 to 1510 | 2,345 | 150.0 | $0.68 / $2.09 |
66GLM-5Z.ai · Open weights | 1498 | 1491 to 1505 | 7,627 | 145.8 | $1.00 / $3.20 |
67Qwen 3.6 PlusAlibaba | 1496 | 1490 to 1502 | 14,679 | 147.3 | $0.50 / $3.00 |
68MiniMax-M3MiniMax · Open weights | 1496 | 1490 to 1501 | 18,951 | 146.9 | $0.30 / $1.20 |
69GPT-5.4 MiniOpenAI | 1495 | 1489 to 1500 | 17,237 | 148.7 | $0.75 / $4.50 |
70InklingThinking Machines · Open weights | 1493 | 1487 to 1500 | 11,839 | 148.4 | $1.00 / $4.05 |
71Grok 4.7xAI | 1493 | 1482 to 1504 | 3,213 | 154.4 | $2.00 / $6.00 |
72GPT-5.1OpenAI | 1492 | 1485 to 1499 | 8,408 | 149.8 | $1.25 / $10.00 |
73Qwen3.5 397B-A17BAlibaba · Open weights | 1492 | 1487 to 1496 | 27,099 | 146.8 | $0.60 / $3.60 |
74GPT-5.2OpenAI | 1489 | 1483 to 1495 | 12,235 | 153.7 | $1.75 / $14.00 |
75Claude Haiku 5.5Anthropic | 1485 | 1469 to 1502 | 1,370 | 159.3 | $0.10 / $0.50 |
76DeepSeek-V4-FlashDeepSeek · Open weights | 1484 | 1478 to 1490 | 15,295 | 146.1 | $0.30 / $1.20 |
77GLM-4.7Z.ai · Open weights | 1484 | 1472 to 1496 | 2,481 | 143.6 | $0.60 / $2.20 |
78Gemma 4 26B A4BGoogle · Open weights | 1483 | 1468 to 1497 | 1,443 | 141.9 | $0.15 / $0.60 |
79Claude Haiku 4.5Anthropic | 1482 | 1478 to 1486 | 39,183 | 142.2 | $1.00 / $5.00 |
80Qwen3-MaxAlibaba | 1480 | 1472 to 1489 | 5,366 | 142.3 | $1.66 / $7.22 |
81MiniMax-M2.7MiniMax · Open weights | 1480 | 1475 to 1485 | 24,774 | 145.8 | $0.30 / $1.19 |
82Mistral Medium 3.5Mistral AI · Open weights | 1478 | 1467 to 1489 | 3,297 | 141.4 | $1.50 / $7.50 |
83DeepSeek-V3.2DeepSeek · Open weights | 1476 | 1469 to 1482 | 8,880 | 146.1 | $0.28 / $0.40 |
84DeepSeek-V3.2-ExpDeepSeek · Open weights | 1475 | 1461 to 1488 | 1,929 | 144.9 | $0.27 / $0.41 |
85Claude Sonnet 4Anthropic | 1474 | 1466 to 1482 | 6,344 | 141.6 | $3.00 / $15.00 |
86Qwen3-235B-A22B-Instruct (Jul 2025)Alibaba · Open weights | 1472 | 1467 to 1476 | 21,728 | 138.8 | $0.22 / $0.88 |
87GPT-5OpenAI | 1471 | 1463 to 1479 | 6,398 | 150.0 | $1.25 / $10.00 |
88Inkling-SmallThinking Machines · Open weights | 1471 | 1464 to 1478 | 9,560 | 150.3 | $0.47 / $1.20 |
89Gemini 2.5 Pro (Jun 2025)Google | 1464 | 1460 to 1469 | 26,939 | 145.1 | $1.25 / $10.00 |
90DeepSeek-R1 (May 2025)DeepSeek · Open weights | 1464 | 1453 to 1475 | 2,690 | 141.1 | $0.75 / $2.45 |
91GPT-5.4 NanoOpenAI | 1460 | 1454 to 1466 | 17,657 | 146.0 | $0.20 / $1.25 |
91o3OpenAI | 1460 | 1454 to 1467 | 11,581 | 146.7 | $2.00 / $8.00 |
93Kimi K2 (Jul 2025)Moonshot AI · Open weights | 1460 | 1451 to 1468 | 5,193 | 140.0 | $0.55 / $2.20 |
94GPT-4.5OpenAI | 1458 | 1445 to 1471 | 1,939 | 136.7 | $75.00 / $150 |
95Gemini 3.1 Flash-LiteGoogle | 1458 | 1452 to 1463 | 17,850 | 144.3 | $0.25 / $1.50 |
96Grok 4 FastxAI | 1457 | 1440 to 1474 | 1,183 | 144.1 | Not measured |
97GPT-4.1OpenAI | 1456 | 1449 to 1462 | 9,245 | 136.7 | $2.00 / $8.00 |
98DeepSeek-V3.1DeepSeek · Open weights | 1455 | 1442 to 1469 | 1,874 | 139.8 | $0.56 / $1.68 |
99Claude 3.7 SonnetAnthropic | 1452 | 1444 to 1460 | 6,135 | 141.0 | $3.00 / $15.00 |
100MiniMax-M2.5MiniMax · Open weights | 1446 | 1440 to 1453 | 11,339 | 146.6 | $0.30 / $1.20 |
How to read this leaderboard
Higher is better, and only the gaps between models matter. Votes are not test results: a model can look good to a reader and still produce code that fails. For tests that run the code against real projects, see the SWE-bench Verified, Aider Polyglot and Terminal-Bench leaderboards where they are available. Likely ranges that overlap mean a tie.
Questions people ask
How is the coding rating measured?
It uses the coding category of Arena's blind votes. Voters see two anonymous answers to a programming question and choose the better one. The rating comes from how often each model wins.
Does a high rating mean the code always runs?
No. People judge the answer they read. Benchmarks such as SWE-bench Verified run the code against real project tests, which is a different and stricter kind of check. Looking at both gives a fuller picture.
Does the top model suit my work best?
Not always. A leaderboard compares models on one kind of test. Price, speed, privacy rules, the apps you already use and the type of work you do all matter. Use the rank as a starting point, then try two or three models on your own tasks.
Why is a model I know missing?
A model appears only when an open source has published results for it. New models can take days or weeks to be measured, and models with no published score are left out rather than guessed.
Where does the data come from?
Ratings come from the open leaderboard dataset published by Arena (arena.ai), licensed CC BY 4.0. We keep the latest published ratings, match models to our other sources and rank them. Arena does not endorse this site. Prices and context windows come from the open-source LiteLLM price list (MIT licence), which records each model maker's own price page. Prices change often, so confirm on the maker's site before you buy.
How often is this leaderboard updated?
We check our open data sources every day and show the date of the data at the top of the page. A model only moves when its source publishes new results, so a number can stay the same for weeks.
More leaderboards
- Overall intelligenceWhich AI model is the smartest overall?Leads: Claude Opus 5.5 (168.8)270 models ranked
- Human preferenceWhich AI do people prefer in blind tests?Leads: Gemini 4 Argon (1517)166 models ranked
- Web developmentWhich AI model builds the best websites and apps?Leads: Claude Opus 5.5 (1807)85 models ranked
- Image understandingWhich AI model understands images best?Leads: Claude Fable 5 (1309)85 models ranked
- Open-weights modelsWhich open-source AI model is best?Leads: Kimi K3 (157.9)123 models ranked
- Cheapest strong modelsWhat is the cheapest AI model that is still good?Cheapest: gpt-oss-20b ($0.10)119 models ranked
- Best valueWhich AI models give the most intelligence for the money?Line starts at: gpt-oss-20b ($0.10)7 models ranked
- Context windowWhich AI model can read the most text at once?Leads: GPT-5.4 (1.1M tokens)193 models ranked
- GPQA DiamondWhich AI model scores highest on GPQA Diamond?Leads: Gemini 4 Argon (96.4%)183 models ranked
- Humanity's Last ExamWhich AI model scores highest on Humanity's Last Exam?Leads: GPT-6 Astra (54.8%)41 models ranked
- SWE-bench VerifiedWhich AI model scores highest on SWE-bench Verified?Leads: Claude Opus 4.7 (83.5%)32 models ranked
- Aider PolyglotWhich AI model scores highest on Aider Polyglot?Leads: GPT-5 (88.0%)46 models ranked
- Terminal-BenchWhich AI model scores highest on Terminal-Bench?Leads: GPT-5.3 Codex (64.7%)25 models ranked
- FrontierMath (Tiers 1-3)Which AI model scores highest on FrontierMath (Tiers 1-3)?Leads: GPT-6 Astra (93.7%)87 models ranked
- ARC-AGI-2Which AI model scores highest on ARC-AGI-2?Leads: GPT-6 Astra (95.0%)86 models ranked
- SimpleQA VerifiedWhich AI model scores highest on SimpleQA Verified?Leads: Gemini 4 Argon (76.0%)82 models ranked
- SimpleBenchWhich AI model scores highest on SimpleBench?Leads: Claude Fable 5 (81.9%)80 models ranked
- DeepSWEWhich AI model scores highest on DeepSWE?Leads: GPT-6 Astra (74.1%)26 models ranked
Where this data comes from
- Arena (formerly LMArena): Human-preference ratings: Arena (arena.ai) leaderboard dataset, CC BY 4.0. We keep the latest published ratings, match them to models from other sources and rank them. Ratings are not changed. Arena does not endorse this site.
- Epoch AI: Benchmark data: Epoch AI, 'Capabilities & benchmarking', epoch.ai/benchmarks (CC BY 4.0). We match models across sources, rank them and show them in charts. Scores are not changed. Epoch AI does not endorse this site.
- LiteLLM model price list: Prices and context windows: LiteLLM model price list (github.com/BerriAI/litellm, MIT licence). We use the model maker's own price entry when there is one. Prices change often, so always confirm on the maker's site before you buy.
Newest data on this page: 26 Oct 2026. Prices are list prices and change often, so confirm on the maker's site before you buy. Sponsors never change a score or an order. How we calculate this · Report a mistake