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

MoonshotAI: Kimi K2.7 Code Google: Gemma 4 31B (free)
Vendormoonshotaigoogle
Quality Score100100
Benchmark Score40.953.7
Input Price$0.71/MFree
Output Price$3.30/MFree
Context Window262,144262,144
Max Output235,92932,768
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 (free)
SQL Generation 136 140
Code Review 134 140
Code Completion 129 132
Code Refactoring 134 141
Bug Fixing 138 144
Unit Test Generation 126 130
Code Documentation 129 135
Regex Writing 123 126
CI/CD Pipelines 122 126
Frontend Component Design 127 128
Data Analysis 130 132
CSV / Spreadsheet Cleanup 129 134
ETL Scripting 128 133
JSON Extraction 131 132
Bulk Data Labeling 128 130
OCR / Document Parsing 130 131
Table Extraction from PDFs 130 131
Long-Document Summarization 136 143
Short-Form Summarization 125 127
Blog Post Writing 124 128

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

Related comparisons

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