head-to-head

MoonshotAI: Kimi K2.7 Code vs Google: Gemma 4 31B

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

MoonshotAI: Kimi K2.7 Code Google: Gemma 4 31B
Vendormoonshotaigoogle
Quality Score100100
Benchmark Score73.456.9
Input Price$0.73/M$0.14/M
Output Price$3.50/M$0.40/M
Context Window262,144262,144
Max Output262,144262,144
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index69.248.4
ai_index_agentic48.823.8
ai_index_coding100.071.7
eqbench-70.8

Who wins by task?

TaskMoonshotAI: Kimi K2.7 CodeGoogle: Gemma 4 31B
SQL Generation 163 157
Code Review 155 154
Code Completion 129 132
Code Refactoring 151 152
Bug Fixing 165 161
Unit Test Generation 147 143
Code Documentation 135 138
Regex Writing 133 131
CI/CD Pipelines 138 136
Frontend Component Design 142 138
Data Analysis 162 152
CSV / Spreadsheet Cleanup 147 146
ETL Scripting 144 144
JSON Extraction 147 143
Bulk Data Labeling 134 133
OCR / Document Parsing 142 140
Table Extraction from PDFs 142 140
Long-Document Summarization 147 150
Short-Form Summarization 130 129
Blog Post Writing 134 134

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

Related comparisons

Qwen: Qwen3.7 Flash vs MoonshotAI: Kimi K2.7 Code Qwen: Qwen3.7 Flash vs Google: Gemma 4 31B Google: Gemini 3.6 Flash vs MoonshotAI: Kimi K2.7 Code Google: Gemini 3.6 Flash vs Google: Gemma 4 31B Google: Gemini 3.5 Flash Lite vs MoonshotAI: Kimi K2.7 Code Google: Gemini 3.5 Flash Lite vs Google: Gemma 4 31B Thinking Machines: Inkling vs MoonshotAI: Kimi K2.7 Code Thinking Machines: Inkling vs Google: Gemma 4 31B