head-to-head

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

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

MoonshotAI: Kimi K2.7 Code Google: Gemma 4 31B (free)
Vendormoonshotaigoogle
Quality Score100100
Benchmark Score73.456.9
Input Price$0.73/MFree
Output Price$3.50/MFree
Context Window262,144262,144
Max Output262,14432,768
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 (free)
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 132
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 151
Short-Form Summarization 130 130
Blog Post Writing 134 134

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

Related comparisons

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