head-to-head

MoonshotAI: Kimi K2.7 Code vs Mistral: Mistral Small 4

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

MoonshotAI: Kimi K2.7 Code Mistral: Mistral Small 4
Vendormoonshotaimistralai
Quality Score100100
Benchmark Score74.16.1
Input Price$0.60/M$0.15/M
Output Price$3.50/M$0.60/M
Context Window262,144262,144
Max Output235,929209,715
Tool Calling✓✓
Structured Output✓✓
Reasoning Mode✓✓
Vision✓✓
Audio--
Benchmark Scores
ai_index69.27.7
ai_index_agentic48.8-
ai_index_coding100.0-

The verdict

For a sample job of 1 million input tokens and 250,000 output tokens, Mistral Small 4 costs $0.30 and Kimi K2.7 Code costs $1.48, so Mistral Small 4 is about 4.9 times cheaper for the same work.

Both read up to 262,144 tokens at once, roughly 393 pages of text.

On our blended benchmark score Kimi K2.7 Code leads 74.1 to 6.1.

Across the 20 tasks where they differ, Kimi K2.7 Code scores higher on 20 (SQL Generation, Code Review, Code Completion and others).

Kimi K2.7 Code was released in June 2026 and Mistral Small 4 in March 2026.

Pick Kimi K2.7 Code if you need benchmark performance or the stronger all-round task scores; pick Mistral Small 4 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?

TaskMoonshotAI: Kimi K2.7 CodeMistral: Mistral Small 4
SQL Generation 163 132
Code Review 155 127
Code Completion 129 129
Code Refactoring 151 129
Bug Fixing 165 131
Unit Test Generation 147 122
Code Documentation 135 127
Regex Writing 133 120
CI/CD Pipelines 138 118
Frontend Component Design 142 122
Data Analysis 162 125
CSV / Spreadsheet Cleanup 147 128
ETL Scripting 144 123
JSON Extraction 147 131
Bulk Data Labeling 134 129
OCR / Document Parsing 142 128
Table Extraction from PDFs 142 128
Long-Document Summarization 147 130
Short-Form Summarization 130 124
Blog Post Writing 134 120

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

Related comparisons

Anthropic: Claude Haiku Latest vs Mistral: Mistral Small 4 Anthropic: Claude Opus 5 (batch) vs MoonshotAI: Kimi K2.7 Code Anthropic: Claude Sonnet 5 vs Mistral: Mistral Small 4 Anthropic: Claude Sonnet 5 vs MoonshotAI: Kimi K2.7 Code Anthropic: Claude Sonnet Latest vs Mistral: Mistral Small 4 ByteDance Seed: Seed-2.0-Code vs MoonshotAI: Kimi K2.7 Code ByteDance Seed: Seed 2.1 Turbo vs MoonshotAI: Kimi K2.7 Code DeepSeek: DeepSeek V4 Flash Vision Exp vs MoonshotAI: Kimi K2.7 Code

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.