MoonshotAI: Kimi K2.7 Code✓ Catalog verified
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...
Overview
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...
Access: available through the official Moonshotai API. Context window: 262K.
Specifications
| API identifier | moonshotai/kimi-k2.7-code |
| Provider | Moonshotai |
| Model type | Multimodal LLM |
| Context window | 262K catalog |
| Input modalities | text · image |
| Output modalities | text |
| Released | Jun 12, 2026 |
| Moderated | No |
| Architecture modality | text+image->text |
API defaults
{
"top_k": null,
"top_p": null,
"temperature": null,
"presence_penalty": null,
"frequency_penalty": null,
"repetition_penalty": null
}Pricing
Live pricing components for moonshotai/kimi-k2.7-code as published in the catalog.
| Pricing component | Raw unit price | Normalized | Unit |
|---|---|---|---|
| Prompt tokens | $7e-7 | $0.70 / 1M | Per input token |
| Completion tokens | $0.0000035 | $3.50 / 1M | Per output token |
| Request fee | N/A | N/A | Per request |
| Image fee | N/A | N/A | Per image unit |
| Web search fee | N/A | N/A | Per search request |
Cost calculator
Estimate monthly spend from your own token volumes.
Estimated Total Cost
$1.05Calculated from current list pricing in the ModelsAtlas catalog.Capabilities
| Capability | Status | What it means |
|---|---|---|
| Visual Understanding | ✓ Supported | Image and document analysis support |
| Audio Processing | Not advertised | Speech and voice aligned flows |
| Tool Calling | ✓ Supported | Supports tools / function calling |
| Self-Hosting | Not advertised | Deploy outside managed APIs |
Capability signals
Directional signals derived from model metadata and capability tags — not official benchmark submissions.
Quick start
Call MoonshotAI: Kimi K2.7 Code through an OpenAI-compatible client.
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="YOUR_API_KEY"
)
response = client.chat.completions.create(
model="moonshotai/kimi-k2.7-code",
messages=[{"role": "user", "content": "Explain quantum physics."}]
)
print(response.choices[0].message.content)Alternatives
Closest models by context window from a different provider.
| Model | Provider | Context | Input /1M | Actions |
|---|---|---|---|---|
| Arcee AI: Trinity Large Thinking | Arcee Ai | 262K | $0.22 | View → |
| ByteDance Seed: Seed 1.6 | Bytedance Seed | 262K | $0.25 | View → |
Sources & attribution
Pricing and metadata are maintained in the ModelsAtlas catalog.
Frequently asked questions
How much does MoonshotAI: Kimi K2.7 Code cost?
$0.70 per 1M input tokens and $3.50 per 1M output tokens on the official Moonshotai API.
What is the context window of MoonshotAI: Kimi K2.7 Code?
MoonshotAI: Kimi K2.7 Code supports up to 262K tokens of context.
Does MoonshotAI: Kimi K2.7 Code support tool / function calling?
Yes, MoonshotAI: Kimi K2.7 Code supports tool / function calling — you can register tools and the model will emit structured tool calls.
How do I access MoonshotAI: Kimi K2.7 Code?
Use the official Moonshotai API with the model id `moonshotai/kimi-k2.7-code`. See the Quick start section above for code examples.