AI model comparison

Kimi K2.7 Code vs Grok 4.7

Compare benchmark results, pricing, and API capabilities for each model. Estimate the cost of your own token mix.

Change models
Loading the catalog…
Markdown

Moonshot AI

Kimi K2.7 Code
Context tokens
262.14K
Input / 1M
$0.60
Output / 1M
$3.00
Context tokens
500K
Input / 1M
$2.00
Output / 1M
$6.00
Benchmark snapshot
Code Completion
Kimi K2.7 CodeGrok 4.7
76.087%
78.261%

Percent score · Result source · Test method

Catalog checked Nov 27, 202623 shared benchmark resultsRead the methodology

The trade-offs

Start with the differences that affect how this model fits your workload.

Benchmark results
Kimi K2.7 Code and Grok 4.7 scored 76.087% and 78.261%, respectively, on Code Completion. Use the test setup below to check whether it matches your workload.
Token cost
For 1 million input tokens and 250,000 output tokens, the listed rates estimate $1.35 for Kimi K2.7 Code and $3.50 for Grok 4.7.
Context window
Grok 4.7 lists 500,000 tokens of context. Kimi K2.7 Code lists 262,144 tokens. Reserve space for the output before routing long inputs.

Benchmarks

Shared results come from the same published benchmark release. Reasoning effort and serving configuration can differ.

Shared benchmark profilePercentage scores from the first eight shared groups, sorted by the page evidence order.

Source Result source · Test method

Kimi K2.7 CodeGrok 4.7

Code Completion

Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

76.087%
78.261%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Code Generation

Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

71.831%
76.056%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Javascript

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

63.636%
63.636%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Python

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

50%
55%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Typescript

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

23.333%
43.333%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Amps Hard

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

97%
98%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Connections

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

98%
98%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Consecutive Events

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

48.277%
85.727%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh
Show 15 more shared results

Integrals With Game

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

37%
96%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Logic With Navigation

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

74%
66%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Math Comp

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

94.118%
97.059%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Olympiad

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

90.299%
91.653%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Paraphrase

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

48.533%
78.05%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Plot Unscrambling

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

55.717%
72.416%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Simplify

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

49.75%
69.967%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Spatial

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

92%
94%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Story Generation

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

68.567%
74.917%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Summarize

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

58.317%
78.167%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Tablejoin

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

47.538%
44.923%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Tablereformat

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

92.157%
100%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Theory Of Mind

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

69.231%
84.615%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Typos

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

80%
70%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh

Zebra Puzzle

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

96%
86%
Test configurations
Kimi K2.7 Code
kimi-k2.7-code
Grok 4.7
grok-4.7-xhigh
View individual benchmark records

These model-level records can include other benchmark releases, test configurations, and vendor-reported results.

Kimi K2.7 Code

No additional benchmark results are available for this model ID.

Grok 4.7

BenchmarkScoreConfigurationSource model labelEvidence
Long Agentic50.1%grok-4.7 · Suite release Oct 14, 2026 · run date unavailablegrok-4.7Result source · Test method
Reasoning82.7%grok-4.7 · Suite release Oct 14, 2026 · run date unavailablegrok-4.7Result source · Test method
Coding84.5%grok-4.7 · Suite release Oct 14, 2026 · run date unavailablegrok-4.7Result source · Test method
Browser60%grok-4.7 · Suite release Oct 14, 2026 · run date unavailablegrok-4.7Result source · Test method
Data Analysis76.9%grok-4.7 · Suite release Oct 14, 2026 · run date unavailablegrok-4.7Result source · Test method
Research86.4%grok-4.7 · Suite release Oct 14, 2026 · run date unavailablegrok-4.7Result source · Test method
Design78%grok-4.7 · Suite release Oct 14, 2026 · run date unavailablegrok-4.7Result source · Test method
Long Agentic46.1%grok-4.7 · Suite release Oct 25, 2026 · run date unavailablegrok-4.7Result source · Test method
Reasoning82.7%grok-4.7 · Suite release Oct 25, 2026 · run date unavailablegrok-4.7Result source · Test method
Coding84.5%grok-4.7 · Suite release Oct 25, 2026 · run date unavailablegrok-4.7Result source · Test method
Browser49.3%grok-4.7 · Suite release Oct 25, 2026 · run date unavailablegrok-4.7Result source · Test method
Data Analysis76.9%grok-4.7 · Suite release Oct 25, 2026 · run date unavailablegrok-4.7Result source · Test method
Research86.4%grok-4.7 · Suite release Oct 25, 2026 · run date unavailablegrok-4.7Result source · Test method
Design78%grok-4.7 · Suite release Oct 25, 2026 · run date unavailablegrok-4.7Result source · Test method
Long Agentic45.3%grok-4.7 · Suite release Nov 6, 2026 · run date unavailablegrok-4.7Result source · Test method
Reasoning82.7%grok-4.7 · Suite release Nov 6, 2026 · run date unavailablegrok-4.7Result source · Test method
Coding73.1%grok-4.7 · Suite release Nov 6, 2026 · run date unavailablegrok-4.7Result source · Test method
Browser49.3%grok-4.7 · Suite release Nov 6, 2026 · run date unavailablegrok-4.7Result source · Test method
Data Analysis76.9%grok-4.7 · Suite release Nov 6, 2026 · run date unavailablegrok-4.7Result source · Test method
Research89.5%grok-4.7 · Suite release Nov 6, 2026 · run date unavailablegrok-4.7Result source · Test method
Design75%grok-4.7 · Suite release Nov 6, 2026 · run date unavailablegrok-4.7Result source · Test method

Pricing and token cost

Listed OpenRouter prices in US dollars. Actual charges depend on the endpoint, tier, cache, and token mix.

USD per million tokensKimi K2.7 CodeGrok 4.7
Uncached input$0.60$2.00
Output$3.00$6.00
Cache read$0.12$0.50
Cache writeUnavailableUnavailable

Rates are a catalog snapshot. OpenRouter Models API

Estimate your workload

Enter total token counts. The estimate uses uncached input and output rates.

Kimi K2.7 Code$1.35
Grok 4.7$3.50

Kimi K2.7 Code costs $2.15 less at this token mix.

Model specifications

Context, output limits, modalities, and supported API parameters from the catalog.

SpecificationKimi K2.7 CodeGrok 4.7
Catalog statusListedListed
Catalog model IDmoonshotai/kimi-k2.7-codex-ai/grok-4.7
ProviderMoonshot AIxAI
Context window262,144 tokens500,000 tokens
Max output235,929 tokens450,000 tokens
Input modalitiesText, ImageText, Image, File
Output modalitiesTextText
Reasoning controlsListedListed
Tool callingListedListed
Structured outputsListedListed
Serving endpoints/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses
Catalog listing dateJun 12, 2026Sep 21, 2026

Use with Weave Router

Set a quality bar on your own coding tasks. Then compare cost per completed task and use the same harness when you change models.

Kimi K2.7 Code

Weave Router availability is unverified for this model ID.

Grok 4.7

Weave Router availability is unverified for this model ID.

Catalog presence does not guarantee availability for a specific plan or account. Public Weave Router catalog · Nov 27, 2026

Explore Weave Router Read Weave Router benchmark results

Sources

Each benchmark links to its own result and test method when available.

MarkdownFull methodology