MoonshotAI: Kimi K2.7 Code vs Google: Gemini 3.1 Flash Lite Preview
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-11-07.
| MoonshotAI: Kimi K2.7 Code | Google: Gemini 3.1 Flash Lite Preview | |
|---|---|---|
| Vendor | moonshotai | |
| Quality Score | 100 | 100 |
| Benchmark Score | 74.1 | - |
| Input Price | $0.60/M | $0.25/M |
| Output Price | $3.50/M | $1.50/M |
| Context Window | 262,144 | 1,048,576 |
| Max Output | 235,929 | 65,536 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | ✓ |
| Benchmark Scores | ||
| ai_index | 69.2 | - |
| ai_index_agentic | 48.8 | - |
| ai_index_coding | 100.0 | - |
The verdict
For a sample job of 1 million input tokens and 250,000 output tokens, Gemini 3.1 Flash Lite Preview costs $0.62 and Kimi K2.7 Code costs $1.48, so Gemini 3.1 Flash Lite Preview is about 2.4 times cheaper for the same work.
Gemini 3.1 Flash Lite Preview reads up to 1,048,576 tokens at once, roughly 1,573 pages of text, against about 393 pages for Kimi K2.7 Code.
Only Gemini 3.1 Flash Lite Preview offers audio input and video input.
Across the 20 tasks where they differ, Kimi K2.7 Code scores higher on 19 (SQL Generation, Code Review, Code Refactoring and others), Gemini 3.1 Flash Lite Preview on 1 (Code Completion).
Kimi K2.7 Code was released in June 2026 and Gemini 3.1 Flash Lite Preview in March 2026.
Pick Kimi K2.7 Code if you need the stronger all-round task scores; pick Gemini 3.1 Flash Lite Preview if you need lower cost, long documents, audio input or video input.
Costs use current list prices per million tokens; page counts assume about 0.75 words per token and 500 words per page.
Who wins by task?
| Task | MoonshotAI: Kimi K2.7 Code | Google: Gemini 3.1 Flash Lite Preview |
|---|---|---|
| SQL Generation | 163 | 133 |
| Code Review | 155 | 132 |
| Code Completion | 129 | 131 |
| Code Refactoring | 151 | 136 |
| Bug Fixing | 165 | 136 |
| Unit Test Generation | 147 | 124 |
| Code Documentation | 135 | 131 |
| Regex Writing | 133 | 119 |
| CI/CD Pipelines | 138 | 120 |
| Frontend Component Design | 142 | 122 |
| Data Analysis | 162 | 124 |
| CSV / Spreadsheet Cleanup | 147 | 133 |
| ETL Scripting | 144 | 128 |
| JSON Extraction | 147 | 131 |
| Bulk Data Labeling | 134 | 129 |
| OCR / Document Parsing | 142 | 131 |
| Table Extraction from PDFs | 142 | 131 |
| Long-Document Summarization | 147 | 137 |
| Short-Form Summarization | 130 | 123 |
| Blog Post Writing | 134 | 121 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →