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-06-16.
| MoonshotAI: Kimi K2.7 Code | Google: Gemma 4 31B (free) | |
|---|---|---|
| Vendor | moonshotai | |
| Quality Score | 100 | 100 |
| Input Price | $0.75/M | Free |
| Output Price | $3.50/M | Free |
| Context Window | 262,144 | 262,144 |
| Max Output | 262,144 | 32,768 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
Who wins by task?
| Task | MoonshotAI: Kimi K2.7 Code | Google: Gemma 4 31B (free) |
|---|---|---|
| SQL Generation | 130 | 131 |
| Code Completion | 128 | 129 |
| Code Documentation | 125 | 126 |
| Regex Writing | 119 | 120 |
| CSV / Spreadsheet Cleanup | 128 | 128 |
| JSON Extraction | 131 | 132 |
| Bulk Data Labeling | 128 | 130 |
| Long-Document Summarization | 129 | 129 |
| Short-Form Summarization | 123 | 124 |
| Blog Post Writing | 118 | 119 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
MoonshotAI: Kimi K2.7 Code vs Qwen: Qwen3.7 Plus
MoonshotAI: Kimi K2.7 Code vs MiniMax: MiniMax M3
MoonshotAI: Kimi K2.7 Code vs StepFun: Step 3.7 Flash
MoonshotAI: Kimi K2.7 Code vs xAI: Grok Build 0.1
MoonshotAI: Kimi K2.7 Code vs Google: Gemini 3.5 Flash
MoonshotAI: Kimi K2.7 Code vs Google: Gemini 3.1 Flash Lite
MoonshotAI: Kimi K2.7 Code vs xAI: Grok 4.3
MoonshotAI: Kimi K2.7 Code vs Mistral: Mistral Medium 3.5