Claude Sonnet 5 vs Kimi K2.7 Code
Updated October 21, 2026. 48 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick Claude Sonnet 5 for coding: it scores 63.5 on the Vibe Coding Index against 39.1 for Kimi K2.7 Code.
Pick Kimi K2.7 Code when output tokens cost 3.0x less, or when a solved task costs $0.35 against $1.87.
- Shared results
- 48
- Claude Sonnet 5 only
- 72
- Kimi K2.7 Code only
- 3
- Like-for-like categories
- 8 of 9
Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, four public coding benchmarks
Claude Sonnet 5
Claude Sonnet 5 scores 63.5 against 39.1.
2 and 1 benchmarks behind the scores
Intelligence
AA Intelligence Index
Claude Sonnet 5
Claude Sonnet 5 leads, 38.2 against 25.8.
Same board, both measured
Agentic work
AA Agentic Index
Claude Sonnet 5
Claude Sonnet 5 leads, 43.6 against 21.0.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only Claude Sonnet 5 has a GPQA Diamond result, 88.9%.
Directional only
Knowledge
MMLU Pro
No call
Only Claude Sonnet 5 has a MMLU Pro result, 87.5%.
Directional only
Web design
Design Arena: websites
Claude Sonnet 5
Claude Sonnet 5 leads, 1274 against 1264.
Same board, both measured
Long documents
Listed context window
Claude Sonnet 5
Claude Sonnet 5 takes 1M tokens against 262K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Kimi K2.7 Code
Claude Sonnet 5 $0.0070, Kimi K2.7 Code $0.0023 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Kimi K2.7 Code
Claude Sonnet 5 $1.87, Kimi K2.7 Code $0.35.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Sonnet 5 63.5 from 2 benchmarks, Kimi K2.7 Code 39.1 from 1 benchmark.
- Widest category
- Agentic work, 10.7 points apart on average over 11 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): Claude Sonnet 5 81.3% against Kimi K2.7 Code 47.2%, 34.1 points apart on a 0 to 100 scale.
- Output price
- Claude Sonnet 5 $10.00 against Kimi K2.7 Code $3.35 per million output tokens, 3.0x apart.
- Context window
- Claude Sonnet 5 takes 1M tokens, Kimi K2.7 Code 262K.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | Claude Sonnet 5 | Bars | Kimi K2.7 Code | Ties |
|---|---|---|---|---|
| Coding | 14 | 1 | 1 tie | |
| Intelligence | 2 | 0 | ||
| Agentic work | 11 | 0 | ||
| Reasoning | 5 | 0 | ||
| Math | 2 | 1 | ||
| Knowledge | 0 | 1 | ||
| Web design | 8 | 0 | ||
| General | 2 | 0 | ||
| All shared boards | 44 | 3 | 1 tie |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index141
| Benchmark | Claude Sonnet 5 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| LiveBench coding | 74.7% | Not measured | Only Claude Sonnet 5 measured |
| LMArena WebDev | 1540 | 1474 | Claude Sonnet 5 |
| AA Coding Index | 71.5 | 60.8 | Claude Sonnet 5 |
| LiveCodeBench (Vals AI) | 82.4% | 82.0% | Claude Sonnet 5 |
| SWE-bench Verified (Vals AI) | 79.6% | 78.2% | Claude Sonnet 5 |
| Terminal-Bench 4 (Vals AI) | 10.6% | Not measured | Only Claude Sonnet 5 measured |
| Vibe Code Bench (Vals AI) | 81.3% | 47.2% | Claude Sonnet 5 |
| Code migration (Vals AI) | 44.4% | 25.4% | Claude Sonnet 5 |
| ProgramBench (Vals AI) | 0.0% | 0.0% | Tie |
| IOI (Vals AI) | 45.0% | Not measured | Only Claude Sonnet 5 measured |
| Terminal-Bench 2.1 (Vals AI) | 74.5% | 67.0% | Claude Sonnet 5 |
| Vibe Code Bench 1-100 (Vals AI) | 13.8% | Not measured | Only Claude Sonnet 5 measured |
| SkillsBench (Vals AI) | 46.5% | 50.0% | Kimi K2.7 Code |
| CyberBench (Vals AI) | 70.3% | Not measured | Only Claude Sonnet 5 measured |
| SciCode | 54.3% | 47.8% | Claude Sonnet 5 |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 44.7% | Only Kimi K2.7 Code measured |
| FrontierCode | 42.7% | 30.1% | Claude Sonnet 5 |
| GSO-Bench | 37.3% | Not measured | Only Claude Sonnet 5 measured |
| WeirdML | 68.8% | 54.1% | Claude Sonnet 5 |
| ALE-Bench | 1463.1 | 886.2 | Claude Sonnet 5 |
| LMArena Text: coding | 1483 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: software and IT | 1474 | Not measured | Only Claude Sonnet 5 measured |
| LMArena WebDev: React | 1541 | 1475 | Claude Sonnet 5 |
| LMArena WebDev: HTML | 1527 | 1451 | Claude Sonnet 5 |
| LMArena WebDev: from an image | 1540 | 1513 | Claude Sonnet 5 |
| Neither model has a result on the other 13 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Sonnet 5 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| AA Intelligence Index | 38.2 | 25.8 | Claude Sonnet 5 |
| Epoch Capabilities Index | 156.9 | 150.1 | Claude Sonnet 5 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index110
| Benchmark | Claude Sonnet 5 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| AA Agentic Index | 43.6 | 21.0 | Claude Sonnet 5 |
| Design Arena: agents building web apps | 1245 | 1176 | Claude Sonnet 5 |
| Design Arena: agents building full-stack apps | 1249 | 1175 | Claude Sonnet 5 |
| Design Arena: agents building mobile apps | 1215 | 1143 | Claude Sonnet 5 |
| Design Arena: agents building Android apps | 1231 | 1143 | Claude Sonnet 5 |
| Design Arena: agents building Godot games | 1225 | 1147 | Claude Sonnet 5 |
| Design Arena: agents building games | 1227 | 1130 | Claude Sonnet 5 |
| Design Arena: HTML slides | 1218 | 1201 | Claude Sonnet 5 |
| Design Arena: PowerPoint slides | 1216 | 1154 | Claude Sonnet 5 |
| Design Arena: spreadsheets | 1004 | Not measured | Only Claude Sonnet 5 measured |
| LiveBench research | 82.8% | Not measured | Only Claude Sonnet 5 measured |
| LiveBench browser | 72.0% | Not measured | Only Claude Sonnet 5 measured |
| LiveBench long agentic | 39.0% | Not measured | Only Claude Sonnet 5 measured |
| SREBench (Vals AI) | 0.4% | Not measured | Only Claude Sonnet 5 measured |
| Finance Agent (Vals AI) | 53.9% | Not measured | Only Claude Sonnet 5 measured |
| Tax Agent Bench (Vals AI) | 29.4% | Not measured | Only Claude Sonnet 5 measured |
| Legal Research Bench (Vals AI) | 41.8% | Not measured | Only Claude Sonnet 5 measured |
| Excel Modeling Benchmark (Vals AI) | 66.3% | Not measured | Only Claude Sonnet 5 measured |
| Terminal-Bench-Science (Vals AI) | 5.7% | Not measured | Only Claude Sonnet 5 measured |
| τ²-Bench Telecom | Not measured | 90.1% | Only Kimi K2.7 Code measured |
| APEX-Agents | 54.5% | 37.6% | Claude Sonnet 5 |
| Vending-Bench 2 | $6,378 | $5,083 | Claude Sonnet 5 |
| Neither model has a result on the other 17 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | Claude Sonnet 5 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| GPQA Diamond | 88.9% | Not measured | Only Claude Sonnet 5 measured |
| LiveBench reasoning | 88.7% | Not measured | Only Claude Sonnet 5 measured |
| MMMU Pro (Vals AI) | 83.0% | Not measured | Only Claude Sonnet 5 measured |
| GPQA Diamond (Artificial Analysis run) | 91.1% | 89.6% | Claude Sonnet 5 |
| Humanity's Last Exam (Artificial Analysis run) | 41.3% | 35.0% | Claude Sonnet 5 |
| GPQA Diamond (Epoch AI run) | 90.5% | 87.9% | Claude Sonnet 5 |
| SimpleBench | 60.6% | 57.9% | Claude Sonnet 5 |
| Chess puzzles | 45.0% | 14.0% | Claude Sonnet 5 |
| Mystery game puzzles | 35.0% | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: hard prompts | 1461 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: expert | 1489 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: hard prompts in English | 1464 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Vision: diagrams | 1293 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Vision: homework | 1311 | Not measured | Only Claude Sonnet 5 measured |
| Neither model has a result on the other 7 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index21
| Benchmark | Claude Sonnet 5 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| OTIS Mock AIME | 94.7% | 95.6% | Kimi K2.7 Code |
| FrontierMath, tiers 1 to 3 | 65.6% | 54.0% | Claude Sonnet 5 |
| FrontierMath, tier 4 | 29.3% | 12.2% | Claude Sonnet 5 |
| ProofBench | 77.0% | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: math | 1467 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: mathematical work | 1481 | Not measured | Only Claude Sonnet 5 measured |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Claude Sonnet 5 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| MMLU Pro | 87.5% | Not measured | Only Claude Sonnet 5 measured |
| LegalBench (Vals AI) | 83.9% | Not measured | Only Claude Sonnet 5 measured |
| CorpFin (Vals AI) | 67.0% | Not measured | Only Claude Sonnet 5 measured |
| TaxEval (Vals AI) | 75.6% | Not measured | Only Claude Sonnet 5 measured |
| MortgageTax (Vals AI) | 70.0% | Not measured | Only Claude Sonnet 5 measured |
| MedCode (Vals AI) | 47.5% | Not measured | Only Claude Sonnet 5 measured |
| SimpleQA Verified | 33.7% | 36.5% | Kimi K2.7 Code |
| LMArena Text: science | 1460 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: medicine and healthcare | 1442 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: legal and government | 1454 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: business and finance | 1436 | Not measured | Only Claude Sonnet 5 measured |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index80
| Benchmark | Claude Sonnet 5 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| Design Arena: websites | 1274 | 1264 | Claude Sonnet 5 |
| Design Arena: UI components | 1279 | 1259 | Claude Sonnet 5 |
| Design Arena: game dev | 1278 | 1220 | Claude Sonnet 5 |
| Design Arena: data viz | 1251 | 1226 | Claude Sonnet 5 |
| Design Arena: 3D | 1261 | 1241 | Claude Sonnet 5 |
| Design Arena: all code categories | 1276 | 1253 | Claude Sonnet 5 |
| Design Arena: SVG | 1193 | 1176 | Claude Sonnet 5 |
| Design Arena: ASCII art | 1207 | 1196 | Claude Sonnet 5 |
| LiveBench design | 82.0% | Not measured | Only Claude Sonnet 5 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Sonnet 5 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| LiveBench data analysis | 71.7% | Not measured | Only Claude Sonnet 5 measured |
| Public Benefits Bench (Vals AI) | 66.0% | Not measured | Only Claude Sonnet 5 measured |
| SAGE (Vals AI) | 48.9% | Not measured | Only Claude Sonnet 5 measured |
| MedScribe (Vals AI) | 76.0% | Not measured | Only Claude Sonnet 5 measured |
| Vals Multimodal Index | 68.8% | Not measured | Only Claude Sonnet 5 measured |
| IFBench | Not measured | 63.1% | Only Kimi K2.7 Code measured |
| Long context reasoning (AA-LCR) | 82.0% | 79.3% | Claude Sonnet 5 |
| DTBench | 92.5% | Not measured | Only Claude Sonnet 5 measured |
| LMCA | 50.0% | Not measured | Only Claude Sonnet 5 measured |
| Surface Evolver Bench | 60.0% | 48.8% | Claude Sonnet 5 |
| LMArena Text | 1442 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: instruction following | 1452 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: creative writing | 1416 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Vision | 1273 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: English | 1450 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: non-English | 1431 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: Chinese | 1478 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: German | 1442 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: Japanese | 1422 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: Korean | 1412 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: French | 1463 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: Spanish | 1438 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: Russian | 1450 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: Polish | 1425 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: multi-turn | 1453 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: longer queries | 1462 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: writing and language | 1436 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Text: entertainment and media | 1411 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Vision: English | 1275 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Vision: Chinese | 1331 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Vision: reading text | 1288 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Vision: humor | 1261 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Vision: creative writing | 1246 | Not measured | Only Claude Sonnet 5 measured |
| LMArena Document | 1466 | Not measured | Only Claude Sonnet 5 measured |
| Neither model has a result on the other 12 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Sonnet 5 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
Kimi K2.7 Code costs less
Repository review
50K input + 3K output tokens
Kimi K2.7 Code costs less
Agent loop
200K input + 10K output tokens
Kimi K2.7 Code costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | Anthropic Claude Sonnet 5 | MoonshotAI Kimi K2.7 Code |
|---|---|---|
| Maker | Anthropic | Moonshot AI |
| Weights | No public weights listed | Open weights |
| Released | June 30, 2026 | June 12, 2026 |
| Context window | 1M | 262K |
| Input $/Mtok | $2.00 | $0.6712 |
| Output $/Mtok | $10.00 | $3.35 |
| Coding index | 63.5 | 39.1 |
| Independent measurements behind it | 2 | 1 |
| Cost per solved task | $1.87 | $0.35 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Sonnet 5 better than Kimi K2.7 Code for coding?
Pick Claude Sonnet 5 for coding: it scores 63.5 on the Vibe Coding Index against 39.1 for Kimi K2.7 Code. Pick Kimi K2.7 Code when output tokens cost 3.0x less, or when a solved task costs $0.35 against $1.87.
Which is cheaper, Claude Sonnet 5 or Kimi K2.7 Code?
Claude Sonnet 5 costs $2.00 per million input tokens and $10.00 per million output tokens; Kimi K2.7 Code costs $0.6712 and $3.35. Per solved SWE-bench Verified task, Claude Sonnet 5 costs $1.87 and Kimi K2.7 Code $0.35.
Which has the bigger context window, Claude Sonnet 5 or Kimi K2.7 Code?
Claude Sonnet 5, with 1M tokens against 262K.
How many benchmarks is the Claude Sonnet 5 vs Kimi K2.7 Code comparison based on?
48 benchmarks have a result for both models as of October 21, 2026. Claude Sonnet 5's coding index rests on 2 independent benchmarks and Kimi K2.7 Code's on 1. Where only one model has a result, the page says so instead of naming a winner.