Skip to content

Best AI Models for Coding

AI models ranked by coding ability using SWE-bench Verified, HumanEval, and BigCodeBench scores. Fallback to Arena Elo for unbenched models.

Last updated: 57m ago
#1 Model

Claude Opus 4.6

Score: 83.9

Average Score

58.2

Across all ranked models

Models Ranked

45

With benchmark data

Weights:SWE-bench Verified (40%)HumanEval (30%)BigCodeBench (30%)Fallback: Arena Elo

Top Best for Coding Models by Weighted Score

Top 15 models by weighted score

LMMarketCap.com

Benchmark Breakdown

Per-benchmark scores for top 10 models

SWE-bench Verified
HumanEval
BigCodeBench
LMMarketCap.com
#ModelScore
1Claude Opus 4.6Anthropic83.9
2Claude Sonnet 4.6Anthropic80.9
3GPT-5.4OpenAI78.7
4Claude Opus 4.5Anthropic78.3
5GPT-5.2OpenAI77.5
6GPT-5.1OpenAI76.7
7Claude Sonnet 4.5Anthropic76.2
8Claude Fable 5Anthropic76
9GPT-5OpenAI75.8
10Gemini 3 Flash PreviewGoogle75.6
11o3OpenAI74.3
12Claude Haiku 4.5Anthropic71.8
13GPT-5.5OpenAI71
14GPT-5.5 ProOpenAI71
15Claude Opus 4.8Anthropic70.9
16Claude Opus 4.7Anthropic70.1
17GPT-4o-miniOpenAI69.8
18Gemini 2.5 FlashGoogle65.8
19Gemini 3.1 Pro PreviewGoogle64.5
20Llama 4 MaverickMeta62.6
21Llama 3.3 70B InstructMeta60.9
22GPT-4OpenAI60.5
23Command A(fallback)Cohere60
24DeepSeek V3.2(fallback)DeepSeek60
25Gemini 3.5 Flash(fallback)Google60
26GPT-4.1OpenAI58.8
27Phi 4Microsoft57.6
28Llama 3.1 70B InstructMeta57
29DeepSeek V3DeepSeek56.6
30Gemma 2 27BGoogle55.6
31Mistral LargeMistral AI54.9
32GPT-4oOpenAI54.7
33DeepSeek V3 0324DeepSeek50.5
34R1 0528DeepSeek46.1
35Llama 3.1 8B InstructMeta46
36Gemini 2.5 ProGoogle44.3
37Llama 4 ScoutMeta40.9
38GPT-4.1 MiniOpenAI39.1
39GPT-4o (2024-11-20)OpenAI38.4
40GPT-4o-mini (2024-07-18)OpenAI36.9
41Qwen2.5 7B InstructAlibaba30.1
42Command R+ (08-2024)Cohere29.7
43GPT-4.1 NanoOpenAI22.7
44Llama 3.2 3B InstructMeta18.7
45Llama 3.2 1B InstructMeta6.6

How scores are calculated

Each model's score is a weighted average of its available benchmark results. When a model is missing some benchmarks, the weights are re-normalized across the benchmarks that are available. Models without any primary benchmark data fall back to Arena Elo (normalized to 0-100) and are marked accordingly. All scores are on a 0-100 scale. Data sourced from official model cards, published papers, and third-party evaluation platforms.

Frequently Asked Questions

Based on our benchmark analysis, Claude Opus 4.6 by Anthropic is currently the #1 ranked model for coding, with a weighted score of 83.9/100.

Models are ranked using a weighted average of SWE-bench Verified, HumanEval, BigCodeBench benchmark scores. Models without primary benchmark data fall back to Arena Elo. All scores are normalized to a 0-100 scale.

We currently rank 45 models that have relevant benchmark data for coding tasks.

Best AI Models for Coding (2026) | LM Market Cap