Part of Best LLM for Coding

Best LLM for Code Completion

Claude Sonnet 5.5 ranks first for Code Completion as of November 14, 2026.[1][2][3] It scores 91.37% on LiveBench Coding (#1 of 59), an objective evaluation of code generation and completion. Claude Opus 5.5 is the next-ranked alternative. It ranks #2 on LMArena WebDev coding arena with Elo 1815 and scores 89.25% on LiveBench Coding (#2 of 59), trading slight objective performance for higher human preference ratings.

About this recommendation

Updated
Evidence through
Sources
9
Revision
v139

Decision audit

Why this result

Inspect the inputs and the computed order behind the recommendation.

Models screened

24

live candidates

Evaluation feeds

4

task-weighted

Winner coverage

83%

intended feed weight

Largest provider share

3 of 8

Z.ai

Established source breadth. 2 citation families and 0 practitioner families provide attributed capability reports; 0 cautionary threads retained. The largest citation family contributes 70%.

Anthropic: Claude Sonnet 5.5 leads the measured task comparison with 2 independent evaluation families. Community volume, release age and usage popularity add no ranking points. This category also weights its stated price or context criteria.

Real-world track record is still developing. The recommendation can lead on independent measurements while practitioner reports accumulate.

Sources evaluated

These are the weights used in scoring. Missing measurements are omitted from each model’s average. A feed with no result for any model released in the last 60 days is stale and does not score until it catches up.

winner: Claude Sonnet 5.5
Evaluation feedWeightWinner resultField measured
LiveBench Coding (2026-06-25)Observed 2026-10-18 · evaluation date not supplied · claude-sonnet-5-5-max-effortfailing; last successful check 2026-10-18
40%
#124/24
LMArena WebDevObserved 2026-11-11 · evaluation date not supplied · xhigh effort
33%
#324/24
price weight
27%
34/10024/24
Aider Polyglotstale
0%
no current result0/24

Provider concentration

Each exact model is scored separately; provider identity is not a ranking input.

Z.ai38%
  • Z.ai3 models
  • Anthropic2 models
  • deepseek1 model
  • Moonshot AI1 model
  • OpenAI1 model

Decision table

Every published model is shown in computed order. Practitioner sources are distinct community threads, not the citations repeated in the prose below.

  1. Anthropic · coverage 83%

    #1 LiveBench Coding · #3 LMArena WebDev

  2. Anthropic · coverage 83%

    #2 LiveBench Coding · #2 LMArena WebDev

  3. Z.ai · coverage 83%

    #19 LiveBench Coding · #30 LMArena WebDev

  4. Moonshot AI · coverage 83%

    #12 LiveBench Coding · #16 LMArena WebDev

  5. deepseek · coverage 83%

    #18 LiveBench Coding · #26 LMArena WebDev

  6. Z.ai · coverage 83%

    #22 LiveBench Coding · #28 LMArena WebDev

  7. Z.ai · coverage 83%

    #22 LiveBench Coding · #25 LMArena WebDev

  8. OpenAI · coverage 83%

    #6 LMArena WebDev · #16 LiveBench Coding

Task score averages the available, task-weighted measurements. Benchmark positions compare models matched to our catalog. Models measured by at least two independent evaluator families are considered first. Missing tests, practitioner report counts, popularity and release age add no points. Coverage describes evidence breadth, not a probability of correctness. Scores within two points are shown as close under this policy; this is not a statistical confidence interval. When the leading scores are that close, the model measured by more evaluator families ranks first.

  1. 01

    Claude Sonnet 5.5Anthropic · $2 in / $10 out per M tokens · 1M context

    Claude Sonnet 5.5 scores 91.37% on LiveBench Coding (#1 of 59), an objective evaluation of code generation and completion.

    Best when: Its strongest result for this task is on LiveBench Coding, which measures code generation and completion.
    Source 1
    “Within the 59 catalog models matched to this evaluation: Scores 91.37% on LiveBench Coding (#1 of 59), an objective evaluation of code generation and completion.”
    LiveBench CodingOpen original ↗

    No practitioner reports are linked yet, so no cautions are listed. Absence of reports is not evidence of reliability.

  2. 02

    Claude Opus 5.5Anthropic · $4 in / $20 out per M tokens · 1M context

    Claude Opus 5.5 ranks #2 on LMArena WebDev coding arena with Elo 1815 and scores 89.25% on LiveBench Coding (#2 of 59), trading slight objective performance for higher human preference ratings.

    Best when: Use when human preference alignment matters more than raw benchmark scores, as its Elo 1815 on LMArena WebDev exceeds Sonnet's 1772.
    Source 2
    “Within the 102 catalog models matched to this evaluation: Ranks #2 of 102 on LMArena's WebDev coding arena (Elo 1815), a leaderboard built from blind human preference votes on coding tasks.”
    LMArena WebDev (coding) arenaOpen original ↗

    No practitioner reports are linked yet, so no cautions are listed. Absence of reports is not evidence of reliability.

  3. 03

    GLM 5.2Z.ai · $0.007 in / $6.80 out per M tokens · 1.0M context · open-weight

    GLM 5.2 scores 79.65% on LiveBench Coding (#19 of 59), an objective evaluation of code generation and completion.

    Best when: Its strongest result for this task is on LiveBench Coding, which measures code generation and completion.
    Source 4
    “Within the 59 catalog models matched to this evaluation: Scores 79.65% on LiveBench Coding (#19 of 59), an objective evaluation of code generation and completion.”
    LiveBench CodingOpen original ↗

    No practitioner reports are linked yet, so no cautions are listed. Absence of reports is not evidence of reliability.

  4. 04

    Kimi K3Moonshot AI · $0.19 in / $16 out per M tokens · 1.0M context · open-weight

    Kimi K3 ranks #16 on LMArena WebDev coding arena with Elo 1658 and scores 81.45% on LiveBench Coding (#12 of 59), delivering open-weight code completion with competitive objective scores.

    Best when: Use as an open-weight alternative where LiveBench Coding #12 ranking (81.45%) outperforms several closed-weight options.
    Source 5
    “Within the 59 catalog models matched to this evaluation: Scores 81.45% on LiveBench Coding (#12 of 59), an objective evaluation of code generation and completion.”
    LiveBench CodingOpen original ↗

    No practitioner reports are linked yet, so no cautions are listed. Absence of reports is not evidence of reliability.

  5. 05

    DeepSeek V4.1 Flashdeepseek · $0.051 in / $0.20 out per M tokens · 1.0M context · open-weight

    DeepSeek V4.1 Flash scores 80.04% on LiveBench Coding (#18 of 59), an objective evaluation of code generation and completion.

    Best when: Its strongest result for this task is on LiveBench Coding, which measures code generation and completion.
    Source 6
    “Within the 59 catalog models matched to this evaluation: Scores 80.04% on LiveBench Coding (#18 of 59), an objective evaluation of code generation and completion.”
    LiveBench CodingOpen original ↗

    No practitioner reports are linked yet, so no cautions are listed. Absence of reports is not evidence of reliability.

  6. 06

    GLM 5.3 FlashZ.ai · $0.040 in / $0.078 out per M tokens · 1.0M context · open-weight

    GLM 5.3 Flash scores 78.95% on LiveBench Coding (#22 of 59), an objective evaluation of code generation and completion.

    Best when: Its strongest result for this task is on LiveBench Coding, which measures code generation and completion.
    Source 7
    “Within the 59 catalog models matched to this evaluation: Scores 78.95% on LiveBench Coding (#22 of 59), an objective evaluation of code generation and completion.”
    LiveBench CodingOpen original ↗

    No practitioner reports are linked yet, so no cautions are listed. Absence of reports is not evidence of reliability.

  7. 07

    GLM 5.3Z.ai · $0.084 in / $3.60 out per M tokens · 1.0M context · open-weight

    GLM 5.3 scores 78.95% on LiveBench Coding (#22 of 59), an objective evaluation of code generation and completion.

    Best when: Its strongest result for this task is on LiveBench Coding, which measures code generation and completion.
    Source 8
    “Within the 59 catalog models matched to this evaluation: Scores 78.95% on LiveBench Coding (#22 of 59), an objective evaluation of code generation and completion.”
    LiveBench CodingOpen original ↗

    No practitioner reports are linked yet, so no cautions are listed. Absence of reports is not evidence of reliability.

  8. 08

    GPT-6.1 SolOpenAI · $2 in / $10 out per M tokens · 1.1M context

    GPT-6.1 Sol ranks #6 of 102 on LMArena's WebDev coding arena (Elo 1743), a leaderboard built from blind human preference votes on coding tasks.

    Best when: Its strongest result for this task is on LMArena WebDev, which measures practical, real-world coding quality.
    Source 9
    “Within the 102 catalog models matched to this evaluation: Ranks #6 of 102 on LMArena's WebDev coding arena (Elo 1743), a leaderboard built from blind human preference votes on coding tasks.”
    LMArena WebDev (coding) arenaOpen original ↗

    No practitioner reports are linked yet, so no cautions are listed. Absence of reports is not evidence of reliability.

Frequently asked

What is the best model for Code Completion?
Claude Sonnet 5.5 ranks first as of November 14, 2026. Claude Sonnet 5.5 scores 91.37% on LiveBench Coding (#1 of 59), an objective evaluation of code generation and completion.[1]
What is the best alternative to Claude Sonnet 5.5?
Claude Opus 5.5 ranks second. Claude Opus 5.5 ranks #2 on LMArena WebDev coding arena with Elo 1815 and scores 89.25% on LiveBench Coding (#2 of 59), trading slight objective performance for higher human preference ratings.[2][3]
Which open-weight model ranks highest for Code Completion?
GLM 5.2 is the highest-ranked open-weight model, at #3. GLM 5.2 scores 79.65% on LiveBench Coding (#19 of 59), an objective evaluation of code generation and completion.[4]

Sources

  1. 1

    “Within the 59 catalog models matched to this evaluation: Scores 91.37% on LiveBench Coding (#1 of 59), an objective evaluation of code generation and completion.”

    LiveBench Coding · Benchmark · Oct 18, 2026
  2. 2

    “Within the 102 catalog models matched to this evaluation: Ranks #2 of 102 on LMArena's WebDev coding arena (Elo 1815), a leaderboard built from blind human preference votes on coding tasks.”

    LMArena WebDev (coding) arena · Benchmark · Nov 11, 2026
  3. 3

    “Within the 59 catalog models matched to this evaluation: Scores 89.25% on LiveBench Coding (#2 of 59), an objective evaluation of code generation and completion.”

    LiveBench Coding · Benchmark · Oct 18, 2026
  4. 4

    “Within the 59 catalog models matched to this evaluation: Scores 79.65% on LiveBench Coding (#19 of 59), an objective evaluation of code generation and completion.”

    LiveBench Coding · Benchmark · Oct 18, 2026
  5. 5

    “Within the 59 catalog models matched to this evaluation: Scores 81.45% on LiveBench Coding (#12 of 59), an objective evaluation of code generation and completion.”

    LiveBench Coding · Benchmark · Oct 18, 2026
  6. 6

    “Within the 59 catalog models matched to this evaluation: Scores 80.04% on LiveBench Coding (#18 of 59), an objective evaluation of code generation and completion.”

    LiveBench Coding · Benchmark · Oct 18, 2026
  7. 7

    “Within the 59 catalog models matched to this evaluation: Scores 78.95% on LiveBench Coding (#22 of 59), an objective evaluation of code generation and completion.”

    LiveBench Coding · Benchmark · Oct 18, 2026
  8. 8

    “Within the 59 catalog models matched to this evaluation: Scores 78.95% on LiveBench Coding (#22 of 59), an objective evaluation of code generation and completion.”

    LiveBench Coding · Benchmark · Oct 18, 2026
  9. 9

    “Within the 102 catalog models matched to this evaluation: Ranks #6 of 102 on LMArena's WebDev coding arena (Elo 1743), a leaderboard built from blind human preference votes on coding tasks.”

    LMArena WebDev (coding) arena · Benchmark · Nov 11, 2026

Rankings synthesized from community evidence and open benchmarks. See methodology. Not driven by vendor marketing.