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 | |
|---|---|---|
| Vendor | anthropic | moonshotai |
| Quality Score | 100 | 100 |
| Benchmark Score | 90.4 | 73.4 |
| Input Price | $1.00/M | $0.73/M |
| Output Price | $5.00/M | $3.50/M |
| Context Window | 1,000,000 | 262,144 |
| Max Output | 128,000 | 262,144 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
| Benchmark Scores | ||
| ai_index | 88.0 | 69.2 |
| ai_index_agentic | 77.0 | 48.8 |
| ai_index_coding | 100.0 | 100.0 |
Who wins by task?
| Task | Anthropic: 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