MoonshotAI: Kimi K2.7 Code

MoonshotAI: Kimi K2.7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts. It uses a native multimodal mixture-o…

moonshotai/kimi-k2.7-code-20260612

MoonshotAI: Kimi K2.7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts. It uses a native multimodal mixture-of-experts architecture that accepts text and image input, and it always operates in a thinking mode, preserving full reasoning content across multi-turn conversations. With a 256K-token context window, it targets long-horizon coding, agentic task decomposition, and multi-turn dialogue. The model activates 32B parameters out of roughly 1T total.

Specifications & capabilities

Input
text, image
Output
text
Context window · tokens
262144
Knowledge cutoff
2025-01
Published model ID
Kimi-K2.7-Code
Capabilities
multimodal, promptCaching, reasoning, structuredOutputs, toolCalling, videoInput, visionInput
Description source ↗

Evaluations

41–44 / 44

OpenRouter Benchmarks

86.633%

source id
openRouterBenchmarks
leaderboard name
GPQA Diamond · Accuracy · auto-routing
dimension
knowledge
metric
GPQA Diamond · Accuracy
rank
49
sample size
1980
aggregation scope
status
published
harness
url
https://github.com/OpenRouterTeam/benchmark-harness
name
OpenRouter benchmark harness
direction
higherIsBetter
run_count
10
conditions
window
newest 90 days; successful visible nonzero runs
dataset
benchmark-leaderboard
benchmark
id
gpqa_diamond
name
GPQA Diamond
record_kind
aggregate
provider_name
auto-routing
attribution
Source: OpenRouter (openrouter.ai), licensed under CC BY 4.0: reuse and republish with attribution to OpenRouter.
last_run_at
2026-10-31T16:03:21.454Z
license_url
https://creativecommons.org/licenses/by/4.0/
methodology
Rows aggregate the benchmark-runs dataset exactly as the leaderboard pages do, over each benchmark's non-zero-score runs from the newest 90 days: accuracy is the task-weighted mean of per-run accuracy, accuracy_std_dev is the population standard deviation of per-run accuracy (null with a single run), and the per-task averages divide summed cost, generation time, and output tokens by summed tasks. Rows are ordered by accuracy descending, then model name.
metric_kind
GPQA Diamond · Accuracy
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
sample_size
1980
source_file
benchmark-leaderboard.json
source_page
https://openrouter.ai/benchmarks/gpqa-diamond
measurements
accuracy
0.86633
accuracy_std_dev
0.01754735666133223
cost_per_task_usd
0.10058035606060606
output_tokens_per_task
26933.21414141414
latency_seconds_per_task
457.39416717171713
published_at
2026-11-16T01:46:02.653Z
snapshot_date
2026-11-16
source_revision
7ccaf17664252a3053dcb7df8ad0a46e72954a3b4524ddc1c8a7ef8a41b15568
transformations
TensorTrace preserves source results, converts latency to seconds and derives ranks within matching conditions. Individual runs have no derived rank.
metric_population
132
benchmark_evaluation
true
openrouter_permaslug
moonshotai/kimi-k2.7-code-20260612
source model id
moonshotai/kimi-k2.7-code-20260612
Original result ↗

Published prices

1–17 / 17

@cf/moonshotai/kimi-k2.7-code ↗

$0.19

Inference provider
cloudflareWorkersAI
Platform
Cloudflare Workers AI
Unit
input_tokens_per_million
Currency
USD
Billing conditions
Billing label
per M cached input tokens

@cf/moonshotai/kimi-k2.7-code ↗

$4.00

Inference provider
cloudflareWorkersAI
Platform
Cloudflare Workers AI
Unit
output_tokens_per_million
Currency
USD
Billing conditions
Billing label
per M output tokens

moonshotai/Kimi-K2.7-Code ↗

$0.18

Inference provider
siliconFlow
Platform
SiliconFlow
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions
Billing label
Cached input tokens (per 1M)

moonshotai/Kimi-K2.7-Code ↗

$0.86

Inference provider
siliconFlow
Platform
SiliconFlow
Unit
input_tokens_per_million
Currency
USD
Billing conditions
Billing label
Input tokens (per 1M)

moonshotai/Kimi-K2.7-Code ↗

$3.80

Inference provider
siliconFlow
Platform
SiliconFlow
Unit
output_tokens_per_million
Currency
USD
Billing conditions
Billing label
Output tokens (per 1M)

moonshotai/kimi-k2.7-code ↗

$0.19

Inference provider
vercelAIGatewayCatalog
Platform
moonshotai
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions
endpoint
moonshotai | moonshotai/kimi-k2.7-code
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Cached input / 1M
Pricing via
Vercel AI Gateway

moonshotai/kimi-k2.7-code ↗

$0.95

Inference provider
vercelAIGatewayCatalog
Platform
moonshotai
Unit
input_tokens_per_million
Currency
USD
Billing conditions
endpoint
moonshotai | moonshotai/kimi-k2.7-code
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Input tokens / 1M
Pricing via
Vercel AI Gateway

moonshotai/kimi-k2.7-code ↗

$4.00

Inference provider
vercelAIGatewayCatalog
Platform
moonshotai
Unit
output_tokens_per_million
Currency
USD
Billing conditions
endpoint
moonshotai | moonshotai/kimi-k2.7-code
model_type
language
billing_scope
via Vercel AI Gateway
Billing label
Output tokens / 1M
Pricing via
Vercel AI Gateway

moonshotai/kimi-k2.7-code ↗

$0.19

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
Billing label
Cached input / 1M
Pricing via
Vercel AI Gateway

moonshotai/kimi-k2.7-code ↗

$0.38

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
cache_read_tokens_per_million
Currency
USD
Billing conditions
model_type
language
quote_scope
gateway_catalog
service_tier
fast
billing_scope
Vercel public catalog; endpoint prices may differ
Billing label
Cached input / 1M
Pricing via
Vercel AI Gateway

moonshotai/kimi-k2.7-code ↗

$0.95

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
input_tokens_per_million
Currency
USD
Billing conditions
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
Billing label
Input tokens / 1M
Pricing via
Vercel AI Gateway

moonshotai/kimi-k2.7-code ↗

$1.90

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
input_tokens_per_million
Currency
USD
Billing conditions
model_type
language
quote_scope
gateway_catalog
service_tier
fast
billing_scope
Vercel public catalog; endpoint prices may differ
Billing label
Input tokens / 1M
Pricing via
Vercel AI Gateway

moonshotai/kimi-k2.7-code ↗

$4.00

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
output_tokens_per_million
Currency
USD
Billing conditions
model_type
language
quote_scope
gateway_catalog
billing_scope
Vercel public catalog; endpoint prices may differ
Billing label
Output tokens / 1M
Pricing via
Vercel AI Gateway

moonshotai/kimi-k2.7-code ↗

$8.00

Inference provider
vercelAIGatewayCatalog
Platform
Vercel AI Gateway
Unit
output_tokens_per_million
Currency
USD
Billing conditions
model_type
language
quote_scope
gateway_catalog
service_tier
fast
billing_scope
Vercel public catalog; endpoint prices may differ
Billing label
Output tokens / 1M
Pricing via
Vercel AI Gateway

Provider specifications & access

1–4 / 4

kimi-k2.7-code ↗

source model id
@cf/moonshotai/kimi-k2.7-code
hosting
cloudflare-hosted
platforms
  • Cloudflare Workers AI
context length
262144
architecture
input_modalities
  • text
  • image
output_modalities
  • text
capabilities
  • toolCalling

Kimi K2.7 Code ↗

source model id
moonshotai/kimi-k2.7-code
hosting
vercel-gateway
platforms
  • Vercel AI Gateway
context length
256000
max output tokens
32768
architecture
input_modalities
  • text
  • image
  • pdf
  • video
output_modalities
  • text
capabilities
  • promptCaching
  • reasoning
  • structuredOutputs
  • toolCalling
  • videoInput
  • visionInput

Kimi-K2.7-Code ↗

source model id
moonshotai/Kimi-K2.7-Code
hosting
siliconflow-hosted
platforms
  • SiliconFlow
max output tokens
262144
architecture
input_modalities
  • text
  • image
output_modalities
  • text
capabilities
  • promptCaching
  • reasoning
  • toolCalling

Kimi-K2.7-Code ↗

source model id
publishers/moonshotai/models/kimi-k2-7@kimi-k2.7-code
hosting
vertex-self-deployed
platforms
  • Google Cloud Vertex AI
architecture
input_modalities
  • text
output_modalities
  • text
capabilities

    Source specification observations

    1–7 / 7

    openRouter ↗

    field
    context_length
    value
    262144
    normalized value
    262144
    scope
    source-model
    source id
    openRouter
    confidence
    1

    siliconFlow ↗

    field
    context_length
    value
    262K
    scope
    source-model
    source id
    siliconFlow
    confidence
    1

    vercelAIGatewayCatalog ↗

    field
    context_length
    value
    256000
    normalized value
    256000
    scope
    source-model
    source id
    vercelAIGatewayCatalog
    confidence
    1

    vercelAIGatewayCatalog ↗

    field
    knowledge_cutoff
    reported field
    knowledge_cutoff
    value
    2025-01
    normalized value
    2025-01
    precision
    month
    scope
    source-model
    source id
    vercelAIGatewayCatalog
    confidence
    1

    openRouter ↗

    field
    max_output_tokens
    value
    235929
    normalized value
    235929
    scope
    source-model
    source id
    openRouter
    confidence
    1

    siliconFlow ↗

    field
    max_output_tokens
    value
    262K
    scope
    source-model
    source id
    siliconFlow
    confidence
    1

    vercelAIGatewayCatalog ↗

    field
    max_output_tokens
    value
    32768
    normalized value
    32768
    scope
    source-model
    source id
    vercelAIGatewayCatalog
    confidence
    1

    Original sources

    1–17 / 17

    SiliconFlow · Model page ↗

    platform.kimi.ai · Model reference ↗

    Hugging Face · Model repository ↗

    Cloudflare AI · Model page ↗

    Google Cloud · Model page ↗

    OpenRouter · Model page ↗

    SiliconFlow · Playground ↗

    Vercel AI Gateway · Model page ↗

    SiliconFlow · API documentation ↗

    GitHub · Source snapshot ↗

    Cloudflare AI · Catalog ↗

    Epoch AI · Catalog ↗

    Google Cloud · Catalog ↗

    OpenRouter · Catalog ↗

    OpenRouter · Catalog ↗

    SiliconFlow · Catalog ↗

    Vercel AI Gateway · Catalog ↗

    Source links

    1–9 / 9

    Explore more models

    Models

    Loading
    EVIDENCE / COMPARISON

    Benchmarks

    Explore every benchmark

    Loading

    These charts contain model-linked results. The charts above also include unlinked source profiles. Compare scores within each evaluation. Model quality, usage, transparency and system performance measure different things.

    Install TensorTrace