SpaceXAI: Grok 4.6 vs MoonshotAI: Kimi K2.7 Code
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-09-27.
| SpaceXAI: Grok 4.6 | MoonshotAI: Kimi K2.7 Code | |
|---|---|---|
| Vendor | x-ai | moonshotai |
| Quality Score | 100 | 100 |
| Benchmark Score | 75.3 | 40.9 |
| Input Price | $2.00/M | $0.66/M |
| Output Price | $6.00/M | $3.30/M |
| Context Window | 500,000 | 262,144 |
| Max Output | 450,000 | 235,929 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
| Benchmark Scores | ||
| ai_index | 73.1 | 42.6 |
The verdict
For a sample job of 1 million input tokens and 250,000 output tokens, Kimi K2.7 Code costs $1.48 and Grok 4.6 costs $3.50, so Kimi K2.7 Code is about 2.4 times cheaper for the same work.
Grok 4.6 reads up to 500,000 tokens at once, roughly 750 pages of text, against about 393 pages for Kimi K2.7 Code.
On our blended benchmark score Grok 4.6 leads 75.3 to 40.9.
Across the 20 tasks where they differ, Grok 4.6 scores higher on 16 (SQL Generation, Code Review, Code Refactoring and others), Kimi K2.7 Code on 4 (Code Completion, JSON Extraction, Bulk Data Labeling and others).
Grok 4.6 was released in August 2026 and Kimi K2.7 Code in June 2026.
Pick Grok 4.6 if you need long documents, benchmark performance or the stronger all-round task scores; pick Kimi K2.7 Code if you need lower cost.
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 | SpaceXAI: Grok 4.6 | MoonshotAI: Kimi K2.7 Code |
|---|---|---|
| SQL Generation | 142 | 136 |
| Code Review | 145 | 134 |
| Code Completion | 119 | 129 |
| Code Refactoring | 147 | 134 |
| Bug Fixing | 149 | 138 |
| Unit Test Generation | 132 | 126 |
| Code Documentation | 137 | 129 |
| Regex Writing | 125 | 123 |
| CI/CD Pipelines | 128 | 122 |
| Frontend Component Design | 130 | 127 |
| Data Analysis | 135 | 130 |
| CSV / Spreadsheet Cleanup | 136 | 129 |
| ETL Scripting | 138 | 128 |
| JSON Extraction | 122 | 131 |
| Bulk Data Labeling | 119 | 128 |
| OCR / Document Parsing | 134 | 130 |
| Table Extraction from PDFs | 134 | 130 |
| Long-Document Summarization | 148 | 136 |
| Short-Form Summarization | 118 | 125 |
| Blog Post Writing | 130 | 124 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →