head-to-head

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

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

MoonshotAI: Kimi K2.7 Code SpaceXAI: Grok 4.20
Vendormoonshotaix-ai
Quality Score100100
Benchmark Score40.950.6
Input Price$0.71/M$1.25/M
Output Price$3.30/M$2.50/M
Context Window262,1442,000,000
Max Output235,9291,800,000
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index42.642.3
eqbench-55.8

Who wins by task?

TaskMoonshotAI: Kimi K2.7 CodeSpaceXAI: Grok 4.20
SQL Generation 136 142
Code Review 134 146
Code Completion 129 121
Code Refactoring 134 150
Bug Fixing 138 150
Unit Test Generation 126 133
Code Documentation 129 139
Regex Writing 123 125
CI/CD Pipelines 122 129
Frontend Component Design 127 129
Data Analysis 130 133
CSV / Spreadsheet Cleanup 129 138
ETL Scripting 128 139
JSON Extraction 131 123
Bulk Data Labeling 128 120
OCR / Document Parsing 130 134
Table Extraction from PDFs 130 134
Long-Document Summarization 136 151
Short-Form Summarization 125 118
Blog Post Writing 124 130

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

Related comparisons

Anthropic: Claude Haiku Latest vs SpaceXAI: Grok 4.20 Anthropic: Claude Opus 5 (batch) vs MoonshotAI: Kimi K2.7 Code Anthropic: Claude Sonnet 5 vs MoonshotAI: Kimi K2.7 Code Anthropic: Claude Sonnet 5 vs SpaceXAI: Grok 4.20 Anthropic: Claude Sonnet Latest vs SpaceXAI: Grok 4.20 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.