← model directory

moonshotai

MoonshotAI: Kimi K2.7 Code

moonshotai/kimi-k2.7-code

⚙ tool calling

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...

specs & pricing
Type
text
Provider
moonshotai
Model ID
moonshotai/kimi-k2.7-code
Capabilities
vision, tools, reasoning
Context window
262K tokens
Input price
$0.74 / 1M tokens
Output price
$3.69 / 1M tokens

Cloud price is billed from prepaid credits when a request fails over to the cloud. Open-weight models run free on GPUs you own — the gateway routes to your nodes first.

What it costs to run

cloud · 1M in + 1M out

$4.42

$0.74 for a million input tokens plus $3.69 for a million output tokens, billed from credits only when a request fails over to the cloud.

your hardware

cloud only

MoonshotAI: Kimi K2.7 Code is a hosted model, so it is always served from the cloud. Route easy traffic to an open model on your own hardware and keep this one for the requests that need it.

/// initialize

Call MoonshotAI: Kimi K2.7 Code through one OpenAI-compatible endpoint.

Mix it with open models on your own hardware — the gateway routes each request to the cheapest place that can serve it.

no credit card · 2 nodes free · openai-compatible

Frequently asked questions

What is the context window of MoonshotAI: Kimi K2.7 Code?
MoonshotAI: Kimi K2.7 Code accepts up to 262,144 tokens (262K) of context per request.
How much does MoonshotAI: Kimi K2.7 Code cost per million tokens?
Through Wide Area Intelligence, MoonshotAI: Kimi K2.7 Code costs $0.74 per 1M input tokens and $3.69 per 1M output tokens when served from the cloud, billed from prepaid credits. A workload of 1M input plus 1M output tokens costs $4.42.

More from moonshotai

← browse all models