Skip to content

Models / MoonshotAI

MoonshotAIAvailable on TokenCenter

Kimi K2.7 Code

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.

Key facts

Input price
$0.6712 / 1M tokens
Output price
$3.35 / 1M tokens
Context window
262K tokens
Max output
236K tokens
Accepts
Text, Images
Returns
Text

Example: 1,000 requests with 1,000 input and 500 output tokens each would cost about $2.35 (1M input tokens × $0.6712 + 0.5M output tokens × $3.35). Estimate your own usage.

Prices are the provider’s own per-token rates with zero markup, from our price list as of Oct 18, 2026. If a call has extra provider charges (images, audio, web search, cached prompts), you pay the reported cost.

Call it from your code

curl https://api.tokenctr.com/v1/chat/completions \
  -H "Authorization: Bearer $TOKENCENTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "moonshotai/kimi-k2.7-code", "messages": [{"role": "user", "content": "Hello!"}]}'

Works with any OpenAI-compatible SDK: set the base URL to https://api.tokenctr.com/v1. Quickstart

Benchmarks

Artificial Analysis

Intelligence index
25.8
Coding index
60.8
Agentic index
21

Design Arena

CategoryRankEloWin rate
Agents: HTML slides7120153.6%
Agents: Godot game dev20114749.2%
Agents: Agentic game dev21113043%
Agents: Full-stack22117550.9%
Agents: Slides (python-pptx)22115444.7%
Models: ASCII art24120048.4%
Agents: Android native25115146%
Agents: Web apps25116946.9%
Agents: Mobile apps29114046.3%
Models: Websites33126651.4%
Models: SVG35117644.4%
Models: 3D36124150.3%
Models: UI components36125950.8%
Models: Code39125550%
Models: Game dev44122347.1%
Models: Data visualization46122748.6%

Source: Artificial Analysis indexes and Design Arena results as published in OpenRouter’s model data, fetched Oct 15, 2026. Higher is better. Not measured by TokenCenter. See all rankings.

Supported request parameters

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_pparallel_tool_callspresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p