Kimi-K2.7-Code vs Grok 4.20

API pricing, benchmark indices and specs — updated 19 October 2026.

moonshotai · A · Open weights
Params
1,026.9 B
Context
—
30d
89 K
x-ai · B · API-only
Input / 1M
$1.25
Output / 1M
$2.50
AA index
25.7
proprietary · 2M context

Specification comparison

Differences are highlighted; identical values are muted.

Specification Kimi-K2.7-Code Grok 4.20
Deployment Open weights · also via API API-only (closed weights)
Parameters 1,026.9 B n/a — API-only
Architecture KimiK25ForConditionalGeneration n/a — API-only
Context length 262,144 2,000,000
Licence other Proprietary
Commercial use Unknown Per API terms
Languages — n/a — API-only
Downloads 30d 89,102 n/a — API-only
Downloads all time 2.0 M n/a — API-only
Quantizations on the Hub SAFETENSORS n/a — API-only
Gated No n/a — API-only
First seen on the Hub 2026-06-11 n/a — API-only
API input price / 1M tokens $0.67 $1.25
API output price / 1M tokens $3.35 $2.50
Est. cost per 1M input + 1M output tokens $4.02 $3.75
Cached input / 1M tokens $0.15 $0.20
AA Intelligence Index 25.8 25.7
AA Coding Index 60.8 —
AA Agentic Index 21 —
Max output tokens 235,929 1,800,000
API providers 11 1
Tool calling Yes Yes
Reasoning mode Yes Yes

API cost

Estimated cost of 1M input + 1M output tokens via OpenRouter

Kimi-K2.7-Code $4.02
Grok 4.20 $3.75

Grok 4.20 is 1.1× cheaper at list price.

VRAM side by side

On RTX 4090 · 24 GB · 8K context unless noted

Kimi-K2.7-Code · fp16 809.2 GB / 24 GB
❌ Won’t fit

Adjacent comparisons