Enter opens the highlighted result. Esc closes.

Grok 4.20 vs Kimi K2.7 Code

Updated October 21, 2026. 29 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Grok 4.20xAI
Coding
33.3
Overall
25.7
Output $/M
$2.50
5
Kimi K2.7 CodeMoonshot AI
Coding
53.4
Overall
25.8
Output $/M
$4.00
24
vs boards won of 29 shared

Decision reading

Pick Kimi K2.7 Code for coding: it scores 53.4 on the Vibe Coding Index against 33.3 for Grok 4.20.

Pick Grok 4.20 when output tokens cost 1.6x less, or when the context window is larger, 2M against 262K tokens.

Shared results
29
Grok 4.20 only
25
Kimi K2.7 Code only
22
Like-for-like categories
6 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
Grok 4.20 33.3 from 2 benchmarks, Kimi K2.7 Code 53.4 from 4 benchmarks.
Widest category
Coding, 15.4 points apart on average over 7 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Grok 4.20 4.1% against Kimi K2.7 Code 47.2%, 43.1 points apart on a 0 to 100 scale.
Output price
Grok 4.20 $2.50 against Kimi K2.7 Code $4.00 per million output tokens, 1.6x apart.
Context window
Grok 4.20 takes 2M tokens, Kimi K2.7 Code 262K.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryGrok 4.20BarsKimi K2.7 CodeTies
Coding16
Intelligence11
Agentic work17
Reasoning11
Web design08
General11
All shared boards524
CodingLike-for-likeSix of these boards feed the Vibe Coding Index16
Coding benchmarks for Grok 4.20 and Kimi K2.7 Code
BenchmarkGrok 4.20Kimi K2.7 CodeLeader
LMArena WebDevNot measured1474Only Kimi K2.7 Code measured
AA Coding IndexNot measured60.8Only Kimi K2.7 Code measured
LiveCodeBench (Vals AI)84.3%82.0%Grok 4.20
SWE-bench Verified (Vals AI)72.2%78.2%Kimi K2.7 Code
Vibe Code Bench (Vals AI)4.1%47.2%Kimi K2.7 Code
Code migration (Vals AI)0.3%25.4%Kimi K2.7 Code
ProgramBench (Vals AI)Not measured0.0%Only Kimi K2.7 Code measured
Terminal-Bench 2.1 (Vals AI)44.2%67.0%Kimi K2.7 Code
SkillsBench (Vals AI)Not measured50.0%Only Kimi K2.7 Code measured
SciCodeNot measured47.8%Only Kimi K2.7 Code measured
Terminal-Bench Hard (Artificial Analysis run)37.9%44.7%Kimi K2.7 Code
Terminal-Bench57.3%Not measuredOnly Grok 4.20 measured
FrontierCodeNot measured30.1%Only Kimi K2.7 Code measured
WeirdML52.3%54.1%Kimi K2.7 Code
ALE-BenchNot measured886.2Only Kimi K2.7 Code measured
LMArena WebDev: ReactNot measured1475Only Kimi K2.7 Code measured
LMArena WebDev: HTMLNot measured1451Only Kimi K2.7 Code measured
LMArena WebDev: from an imageNot measured1513Only Kimi K2.7 Code measured
Neither model has a result on the other 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for Grok 4.20 and Kimi K2.7 Code
BenchmarkGrok 4.20Kimi K2.7 CodeLeader
AA Intelligence Index25.725.8Kimi K2.7 Code
Epoch Capabilities Index152.1150.1Grok 4.20
Agentic workLike-for-likePublic boards, shown as published, kept out of the index17
Agentic work benchmarks for Grok 4.20 and Kimi K2.7 Code
BenchmarkGrok 4.20Kimi K2.7 CodeLeader
AA Agentic IndexNot measured21.0Only Kimi K2.7 Code measured
Design Arena: agents building web apps11441176Kimi K2.7 Code
Design Arena: agents building full-stack apps10541175Kimi K2.7 Code
Design Arena: agents building mobile apps10901143Kimi K2.7 Code
Design Arena: agents building Android apps10521143Kimi K2.7 Code
Design Arena: agents building Godot games10891147Kimi K2.7 Code
Design Arena: agents building gamesNot measured1131Only Kimi K2.7 Code measured
Design Arena: HTML slides11801201Kimi K2.7 Code
Design Arena: PowerPoint slidesNot measured1154Only Kimi K2.7 Code measured
Finance Agent (Vals AI)28.5%Not measuredOnly Grok 4.20 measured
Tax Agent Bench (Vals AI)7.0%Not measuredOnly Grok 4.20 measured
Legal Research Bench (Vals AI)13.9%Not measuredOnly Grok 4.20 measured
Excel Modeling Benchmark (Vals AI)11.7%Not measuredOnly Grok 4.20 measured
τ²-Bench Telecom93.0%90.1%Grok 4.20
APEX-AgentsNot measured37.6%Only Kimi K2.7 Code measured
Vending-Bench 2$4,663$5,083Kimi K2.7 Code
Neither model has a result on the other 23 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index11
Reasoning benchmarks for Grok 4.20 and Kimi K2.7 Code
BenchmarkGrok 4.20Kimi K2.7 CodeLeader
GPQA Diamond88.6%Not measuredOnly Grok 4.20 measured
MMMU Pro (Vals AI)83.5%Not measuredOnly Grok 4.20 measured
GPQA Diamond (Artificial Analysis run)91.1%89.6%Grok 4.20
Humanity's Last Exam (Artificial Analysis run)34.5%35.0%Kimi K2.7 Code
GPQA Diamond (Epoch AI run)Not measured87.9%Only Kimi K2.7 Code measured
ARC-AGI89.5%Not measuredOnly Grok 4.20 measured
ARC-AGI-265.1%Not measuredOnly Grok 4.20 measured
SimpleBenchNot measured57.9%Only Kimi K2.7 Code measured
Chess puzzlesNot measured14.0%Only Kimi K2.7 Code measured
Neither model has a result on the other 12 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index4 boards, none shared
Math benchmarks for Grok 4.20 and Kimi K2.7 Code
BenchmarkGrok 4.20Kimi K2.7 CodeLeader
AIME96.5%Not measuredOnly Grok 4.20 measured
OTIS Mock AIMENot measured95.6%Only Kimi K2.7 Code measured
FrontierMath, tiers 1 to 3Not measured54.0%Only Kimi K2.7 Code measured
FrontierMath, tier 4Not measured12.2%Only Kimi K2.7 Code measured
Neither model has a result on the other 9 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Knowledge benchmarks for Grok 4.20 and Kimi K2.7 Code
BenchmarkGrok 4.20Kimi K2.7 CodeLeader
MMLU Pro86.3%Not measuredOnly Grok 4.20 measured
LegalBench (Vals AI)77.7%Not measuredOnly Grok 4.20 measured
CaseLaw (Vals AI)54.4%Not measuredOnly Grok 4.20 measured
CorpFin (Vals AI)63.7%Not measuredOnly Grok 4.20 measured
TaxEval (Vals AI)74.1%Not measuredOnly Grok 4.20 measured
MortgageTax (Vals AI)45.4%Not measuredOnly Grok 4.20 measured
MedQA (Vals AI)94.5%Not measuredOnly Grok 4.20 measured
MedCode (Vals AI)32.2%Not measuredOnly Grok 4.20 measured
SimpleQA VerifiedNot measured36.5%Only Kimi K2.7 Code measured
Neither model has a result on the other 8 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index08
Web design benchmarks for Grok 4.20 and Kimi K2.7 Code
BenchmarkGrok 4.20Kimi K2.7 CodeLeader
Design Arena: websites12291264Kimi K2.7 Code
Design Arena: UI components11991259Kimi K2.7 Code
Design Arena: game dev11921220Kimi K2.7 Code
Design Arena: data viz12171227Kimi K2.7 Code
Design Arena: 3D11931241Kimi K2.7 Code
Design Arena: all code categories12211253Kimi K2.7 Code
Design Arena: SVG11641176Kimi K2.7 Code
Design Arena: ASCII art11741196Kimi K2.7 Code
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index11
General benchmarks for Grok 4.20 and Kimi K2.7 Code
BenchmarkGrok 4.20Kimi K2.7 CodeLeader
SAGE (Vals AI)38.2%Not measuredOnly Grok 4.20 measured
MedScribe (Vals AI)63.4%Not measuredOnly Grok 4.20 measured
Vals Multimodal Index39.1%Not measuredOnly Grok 4.20 measured
IFBench81.2%63.1%Grok 4.20
Long context reasoning (AA-LCR)69.0%79.3%Kimi K2.7 Code
DTBench90.1%Not measuredOnly Grok 4.20 measured
LMCA38.7%Not measuredOnly Grok 4.20 measured
CL-bench22.2%Not measuredOnly Grok 4.20 measured
Surface Evolver BenchNot measured48.8%Only Kimi K2.7 Code measured
CL-bench Life11.9%Not measuredOnly Grok 4.20 measured
Neither model has a result on the other 36 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Grok 4.20 and Kimi K2.7 Code
BenchmarkGrok 4.20Kimi K2.7 CodeLeader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

Grok 4.20$0.0025Fits in one request
Kimi K2.7 Code$0.0029Fits in one request

Grok 4.20 costs less

Repository review

50K input + 3K output tokens

Grok 4.20$0.070Fits in one request
Kimi K2.7 Code$0.059Fits in one request

Kimi K2.7 Code costs less

Agent loop

200K input + 10K output tokens

Grok 4.20$0.275Fits in one request
Kimi K2.7 Code$0.230Fits in one request

Kimi K2.7 Code costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of Grok 4.20 and Kimi K2.7 Code
SpecificationSpaceXAI Grok 4.20MoonshotAI Kimi K2.7 Code
MakerxAIMoonshot AI
WeightsNo public weights listedOpen weights
ReleasedMarch 31, 2026June 12, 2026
Context window2M262K
Input $/Mtok$1.25$0.95
Output $/Mtok$2.50$4.00
Coding index33.353.4
Independent measurements behind it24
Cost per solved task$0.72$0.35
SourceOpenRouter listingOpenRouter listing

Questions

Is Grok 4.20 better than Kimi K2.7 Code for coding?

Pick Kimi K2.7 Code for coding: it scores 53.4 on the Vibe Coding Index against 33.3 for Grok 4.20. Pick Grok 4.20 when output tokens cost 1.6x less, or when the context window is larger, 2M against 262K tokens.

Which is cheaper, Grok 4.20 or Kimi K2.7 Code?

Grok 4.20 costs $1.25 per million input tokens and $2.50 per million output tokens; Kimi K2.7 Code costs $0.95 and $4.00. Per solved SWE-bench Verified task, Grok 4.20 costs $0.72 and Kimi K2.7 Code $0.35.

Which has the bigger context window, Grok 4.20 or Kimi K2.7 Code?

Grok 4.20, with 2M tokens against 262K.

How many benchmarks is the Grok 4.20 vs Kimi K2.7 Code comparison based on?

29 benchmarks have a result for both models as of October 21, 2026. Grok 4.20's coding index rests on 2 independent benchmarks and Kimi K2.7 Code's on 4. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/grok-4-20-vs-kimi-k2-7-code" title="Grok 4.20 vs Kimi K2.7 Code, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/grok-4-20-vs-kimi-k2-7-code">LLMBenchmark.ai, Grok 4.20 vs Kimi K2.7 Code</a></p>