head-to-head

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

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

Anthropic: Claude Sonnet 5 (batch) MoonshotAI: Kimi K2.7 Code (batch)
Vendoranthropicmoonshotai
Quality Score100100
Benchmark Score91.673.5
Input Price$1.00/M$0.47/M
Output Price$5.00/M$2.00/M
Context Window1,000,000262,144
Max Output128,000-
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index91.271.0
ai_index_agentic82.050.0
ai_index_coding100.0100.0

Who wins by task?

TaskAnthropic: Claude Sonnet 5 (batch)MoonshotAI: Kimi K2.7 Code (batch)
SQL Generation 172 163
Code Review 168 156
Code Completion 120 130
Code Refactoring 165 151
Bug Fixing 182 166
Unit Test Generation 155 147
Code Documentation 143 135
Regex Writing 136 133
CI/CD Pipelines 145 138
Frontend Component Design 147 143
Data Analysis 172 162
CSV / Spreadsheet Cleanup 154 147
ETL Scripting 155 144
JSON Extraction 140 148
Bulk Data Labeling 126 134
OCR / Document Parsing 147 142
Table Extraction from PDFs 147 142
Long-Document Summarization 160 147
Short-Form Summarization 123 130
Blog Post Writing 141 134

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

Related comparisons

ByteDance Seed: Seed 2.1 Turbo vs Anthropic: Claude Sonnet 5 (batch) ByteDance Seed: Seed 2.1 Turbo vs MoonshotAI: Kimi K2.7 Code (batch) ByteDance Seed: Seed-2.0-Code vs Anthropic: Claude Sonnet 5 (batch) ByteDance Seed: Seed-2.0-Code vs MoonshotAI: Kimi K2.7 Code (batch) SpaceXAI: Grok 4.6 vs Anthropic: Claude Sonnet 5 (batch) SpaceXAI: Grok 4.6 vs MoonshotAI: Kimi K2.7 Code (batch) Sakana: Sakana Namazu vs Anthropic: Claude Sonnet 5 (batch) Sakana: Sakana Namazu vs MoonshotAI: Kimi K2.7 Code (batch)