MoonshotAI: Kimi K2.7 Code
moonshotai/kimi-k2.7-code- Context window
- 262,144 tokens
- Maximum output
- 235,929 tokens
- Input price
- $0.71 per 1M tokens
- Output price
- $3.5 per 1M tokens
- Modalities
- text, image
Last verified · Source ↗
Official description
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...
Read the official model reference ↗.
Where this model fits
moonshotai/kimi-k2.7-code is part of the OpenRouter API catalog. Its documented modalities are text, image. Choose it against the request format, output requirements and operational limits of your application.
The source metadata identifies support for router hosting. Confirm endpoint-specific parameters in the official reference before integrating that capability.
For a repeatable evaluation, use representative requests, inspect structured output or tool calls, and log latency and usage in your own account. Catalog metadata establishes compatibility; it does not measure answer quality on your workload. Start from the provider guide for authentication and endpoint setup.
Current pricing
| Model | Price type | USD | Unit | Tier | Region | Source |
|---|---|---|---|---|---|---|
| MoonshotAI: Kimi K2.7 Code | Cached Input | $0.15 | per 1M tokens | Standard | See source | Official source ↗ |
| MoonshotAI: Kimi K2.7 Code | Input | $0.71 | per 1M tokens | Standard | See source | Official source ↗ |
| MoonshotAI: Kimi K2.7 Code | Output | $3.5 | per 1M tokens | Standard | See source | Official source ↗ |
Last verified · Source ↗
Estimate request, daily and monthly usage in the API cost calculator.
Rate limits and availability
Published limits have not yet been verified for this selection. Check the official limits documentation and your account console.
Last verified · Source ↗
Account-specific capacity may differ. Check the provider rate-limit guide and the free-tier conditions.
Three alternatives to compare
These alternatives share a documented modality and have the closest combination of input price and context size in the current catalog. This is a specification comparison, not a quality benchmark.
| Model | Provider | Input / 1M tokens | Context |
|---|---|---|---|
| Kwaipilot: KAT-Coder-Pro V2.5 | OpenRouter | $0.74 | 262,144 |
| Mistral: Mistral Medium 3.5 (batch) | OpenRouter | $0.75 | 262,144 |
| Qwen: Qwen3 Max | OpenRouter | $0.78 | 262,144 |
Use the exact identifier in Python
This identifier fragment belongs in the authenticated request described in the provider Python tutorial. The tutorial covers the correct SDK, endpoint, environment variable and response shape.
model = "moonshotai\/kimi-k2.7-code"
# Pass model to the provider-specific request in the tutorial.Recent changes
- OpenRouter · MoonshotAI: Kimi K2.7 Code — Amount UsdNot previously recorded → Price category: cached_input · USD: 0.15 · Unit: per 1M tokensSource ↗
- OpenRouter · MoonshotAI: Kimi K2.7 Code — Amount UsdNot previously recorded → Price category: output · USD: 3.5 · Unit: per 1M tokensSource ↗
- OpenRouter · MoonshotAI: Kimi K2.7 Code — Amount UsdNot previously recorded → Price category: input · USD: 0.71 · Unit: per 1M tokensSource ↗
- OpenRouter · MoonshotAI: Kimi K2.7 Code — First SeenNot previously recorded → Model: MoonshotAI: Kimi K2.7 CodeSource ↗
Subscribe to the changelog RSS feed
Frequently asked questions
What is the exact API model identifier?
moonshotai/kimi-k2.7-code exactly as shown in the provider model reference. Display names are not interchangeable with API identifiers.How much does this model cost?
How much input can the model accept?
Can I use a free tier?
Where do these model facts come from?
Sources
Last verified · Source ↗