head-to-head

Anthropic: Claude Sonnet 5 vs MoonshotAI: Kimi K2.7 Code

Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-09-29.

Anthropic: Claude Sonnet 5 MoonshotAI: Kimi K2.7 Code
Vendoranthropicmoonshotai
Quality Score100100
Benchmark Score63.940.9
Input Price$2.00/M$0.66/M
Output Price$10.00/M$3.30/M
Context Window1,000,000262,144
Max Output128,000235,929
Tool Calling✓✓
Structured Output✓✓
Reasoning Mode✓✓
Vision✓✓
Audio--
Benchmark Scores
ai_index63.042.6

The verdict

For a sample job of 1 million input tokens and 250,000 output tokens, Kimi K2.7 Code costs $1.48 and Claude Sonnet 5 costs $4.50, so Kimi K2.7 Code is about 3.0 times cheaper for the same work.

Claude Sonnet 5 reads up to 1,000,000 tokens at once, roughly 1,500 pages of text, against about 393 pages for Kimi K2.7 Code.

On our blended benchmark score Claude Sonnet 5 leads 63.9 to 40.9.

Across the 20 tasks where they differ, Claude Sonnet 5 scores higher on 16 (SQL Generation, Code Review, Code Refactoring and others), Kimi K2.7 Code on 4 (Code Completion, JSON Extraction, Bulk Data Labeling and others).

Pick Claude Sonnet 5 if you need long documents, benchmark performance or the stronger all-round task scores; pick Kimi K2.7 Code if you need lower cost.

Costs use current list prices per million tokens; page counts assume about 0.75 words per token and 500 words per page.

Who wins by task?

TaskAnthropic: Claude Sonnet 5MoonshotAI: Kimi K2.7 Code
SQL Generation 140 136
Code Review 144 134
Code Completion 118 129
Code Refactoring 146 134
Bug Fixing 148 138
Unit Test Generation 131 126
Code Documentation 135 129
Regex Writing 123 123
CI/CD Pipelines 127 122
Frontend Component Design 129 127
Data Analysis 133 130
CSV / Spreadsheet Cleanup 135 129
ETL Scripting 136 128
JSON Extraction 121 131
Bulk Data Labeling 118 128
OCR / Document Parsing 134 130
Table Extraction from PDFs 134 130
Long-Document Summarization 146 136
Short-Form Summarization 116 125
Blog Post Writing 128 124

Scores reflect capability match + benchmark data + pricing for each task. Methodology →

Related comparisons

Anthropic: Claude Opus 5 (batch) vs Anthropic: Claude Sonnet 5 Anthropic: Claude Opus 5 (batch) vs MoonshotAI: Kimi K2.7 Code Anthropic: Claude Sonnet 5 vs Anthropic: Claude Haiku Latest Anthropic: Claude Sonnet 5 vs Anthropic: Claude Opus 4.8 (batch) Anthropic: Claude Sonnet 5 vs Anthropic: Claude Sonnet 5 (batch) Anthropic: Claude Sonnet 5 vs Anthropic: Claude Sonnet Latest Anthropic: Claude Sonnet 5 vs ByteDance Seed: Seed-2.0-Lite Anthropic: Claude Sonnet 5 vs ByteDance Seed: Seed-2.0-Mini

The Model Movers Report

One email every Friday, built from this site's own rankings: the current top five by benchmark score, every model released in the last seven days, and one note worked out from that week's numbers. You can unsubscribe from any issue with one click.