Kimi K2.7 Code vs Mercury 2

API pricing, context window and capabilities for Kimi K2.7 Code and Mercury 2, side by side. Prices are the cheapest serving route per 1M tokens, verified against LiteLLM and OpenRouter.

Verdict

computed from the published numbers

Kimi K2.7 Code wins on intelligence and on context window. Mercury 2 wins on price. Benchmark data is unavailable for one or both models.

Price
Mercury 2
Coding
Not called
Intelligence
Kimi K2.7 Code
Context window
Kimi K2.7 Code

Key takeaways

who wins on what, from the published numbers

Kimi K2.7 Code wins

  • Larger context window (262K vs 128K)
  • Higher max output (262K vs 50K)
  • Has reasoning mode

Mercury 2 wins

  • Cheaper input ($0.95 vs $0.25 /1M)
  • Cheaper output ($4.00 vs $0.75 /1M)
  • Supports prompt caching
  • Supports structured output
Cheaper overall
Mercury 2
$0.25 + $0.75 /1M
Larger context
Kimi K2.7 Code
262K
More providers
Tied

Pricing & specs

cheapest serving route · per 1M tokens
Kimi K2.7 CodeMercury 2
Input $/1M$0.95 $0.25 best
Output $/1M$4.00 $0.75 best
Context window262K best128K
Max output262K best50K
Serving providers1 1
Released2026-06-13 2026-02-24

Benchmarks

Artificial Analysis indices, side by side
Kimi K2.7 CodeMercury 2
Intelligence42.0 best25.3
Coding60.8 Not available
GPQA Diamond90% best77%
Output speed45 t/s 602 t/s best
Latency (TTFT)39.31s 2.73s best

Cost calculator

choose a serving route for each side
Input tokens / month
Output tokens / month
Kimi K2.7 Code
via Cloudflare
$8.75
Mercury 2
via Inception
$2.00

Capabilities

feature support, side by side
FeatureKimi K2.7 CodeMercury 2
Vision
Tool use
Reasoning
Audio
Prompt caching
Structured output
Web search

Related comparisons

Frequently asked questions

Which is cheaper, Kimi K2.7 Code or Mercury 2?
Mercury 2 is cheaper for input ($0.95 vs $0.25 per 1M tokens). Mercury 2 is cheaper for output ($4.00 vs $0.75 per 1M tokens).
What is the context window difference between Kimi K2.7 Code and Mercury 2?
Kimi K2.7 Code has a 262K-token context window and Mercury 2 has 128K tokens, so Kimi K2.7 Code can take a larger prompt.
How do Kimi K2.7 Code and Mercury 2 compare on benchmarks?
On the tracked Artificial Analysis indices, Kimi K2.7 Code leads on intelligence.
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI