head-to-head

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

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

Anthropic: Claude Sonnet 5 (batch) MoonshotAI: Kimi K2.7 Code
Vendoranthropicmoonshotai
Quality Score100100
Benchmark Score90.473.4
Input Price$1.00/M$0.73/M
Output Price$5.00/M$3.50/M
Context Window1,000,000262,144
Max Output128,000262,144
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index88.069.2
ai_index_agentic77.048.8
ai_index_coding100.0100.0

Who wins by task?

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

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

Related comparisons

Qwen: Qwen3.7 Flash vs Anthropic: Claude Sonnet 5 (batch) Qwen: Qwen3.7 Flash vs MoonshotAI: Kimi K2.7 Code Google: Gemini 3.6 Flash vs Anthropic: Claude Sonnet 5 (batch) Google: Gemini 3.6 Flash vs MoonshotAI: Kimi K2.7 Code Google: Gemini 3.6 Flash (batch) vs Anthropic: Claude Sonnet 5 (batch) Google: Gemini 3.6 Flash (batch) vs MoonshotAI: Kimi K2.7 Code Google: Gemini 3.5 Flash Lite vs Anthropic: Claude Sonnet 5 (batch) Google: Gemini 3.5 Flash Lite vs MoonshotAI: Kimi K2.7 Code