head-to-head

SpaceXAI: Grok 4.6 vs MoonshotAI: Kimi K2.7 Code

Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-11-12.

SpaceXAI: Grok 4.6 MoonshotAI: Kimi K2.7 Code
Vendorx-aimoonshotai
Quality Score100100
Input Price$2.00/M$0.60/M
Output Price$6.00/M$3.50/M
Context Window500,000262,144
Max Output450,000235,929
Tool Calling✓✓
Structured Output✓✓
Reasoning Mode✓✓
Vision✓✓
Audio--

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.

Across the 18 tasks where they differ, Grok 4.6 scores higher on 13 (SQL Generation, Code Review, Code Refactoring and others), Kimi K2.7 Code on 5 (Code Completion, Regex Writing, JSON Extraction 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 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?

TaskSpaceXAI: Grok 4.6MoonshotAI: Kimi K2.7 Code
SQL Generation 133 130
Code Review 132 126
Code Completion 118 128
Code Refactoring 136 127
Bug Fixing 136 130
Unit Test Generation 124 121
Code Documentation 130 125
Regex Writing 118 119
CI/CD Pipelines 120 117
CSV / Spreadsheet Cleanup 133 128
ETL Scripting 128 122
JSON Extraction 122 131
Bulk Data Labeling 119 128
OCR / Document Parsing 131 128
Table Extraction from PDFs 131 128
Long-Document Summarization 137 129
Short-Form Summarization 114 123
Blog Post Writing 121 118

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

Related comparisons

Anthropic: Claude Opus 5 (batch) vs MoonshotAI: Kimi K2.7 Code Anthropic: Claude Sonnet 5 vs MoonshotAI: Kimi K2.7 Code ByteDance Seed: Seed 2.1 Turbo vs MoonshotAI: Kimi K2.7 Code ByteDance Seed: Seed 2.1 Turbo vs SpaceXAI: Grok 4.6 DeepSeek: DeepSeek Flash Latest vs SpaceXAI: Grok 4.6 DeepSeek: DeepSeek V4.1 Flash vs SpaceXAI: Grok 4.6 DeepSeek: DeepSeek V4 Flash Vision Exp vs MoonshotAI: Kimi K2.7 Code DeepSeek: DeepSeek V4 Flash Vision Exp vs SpaceXAI: Grok 4.6

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.