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-09-23.

MoonshotAI: Kimi K2.7 Code Google: Gemma 4 31B
Vendormoonshotaigoogle
Quality Score100100
Benchmark Score40.953.7
Input Price$0.71/M$0.09/M
Output Price$3.30/M$0.34/M
Context Window262,144262,144
Max Output235,92916,384
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index42.631.3
eqbench-70.8

Who wins by task?

TaskMoonshotAI: Kimi K2.7 CodeGoogle: Gemma 4 31B
SQL Generation 136 139
Code Review 134 140
Code Completion 129 131
Code Refactoring 134 141
Bug Fixing 138 144
Unit Test Generation 126 130
Code Documentation 129 134
Regex Writing 123 125
CI/CD Pipelines 122 126
Frontend Component Design 127 128
Data Analysis 130 132
CSV / Spreadsheet Cleanup 129 133
ETL Scripting 128 133
JSON Extraction 131 131
Bulk Data Labeling 128 129
OCR / Document Parsing 130 131
Table Extraction from PDFs 130 131
Long-Document Summarization 136 143
Short-Form Summarization 125 126
Blog Post Writing 124 127

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

Related comparisons

Anthropic: Claude Haiku Latest vs Google: Gemma 4 31B Anthropic: Claude Opus 5 (batch) vs MoonshotAI: Kimi K2.7 Code Anthropic: Claude Sonnet 5 vs Google: Gemma 4 31B Anthropic: Claude Sonnet 5 vs MoonshotAI: Kimi K2.7 Code Anthropic: Claude Sonnet Latest vs Google: Gemma 4 31B 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.