Kimi K2.7 Code
CodingVisionToolsMoonshotAI · Released June 2026
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...
It belongs to Moonshot AI's Kimi K2 family, open-weight models known for agentic tool use, with Code and Thinking variants for their namesake strengths.
Facts and pricing
- Provider
- MoonshotAI
- Context window
- 262K tokens
- Input price
- 7.9 credits / 1M tokens ($0.72 raw)
- Output price
- 38.5 credits / 1M tokens ($3.50 raw)
- Vision (image input)
- Yes
- Tool calling
- Yes
- Extended reasoning
- No
Credits are what Zeplik bills: 1 credit = $0.10, computed from the raw provider rate with a 1.10x margin. Raw prices shown per 1M tokens.
Try Kimi K2.7 Code now
What Kimi K2.7 Code is best for
- Writing, reviewing and refactoring code; agentic coding workflows
- Long documents: the 262K-token window holds lengthy reports, contracts or papers whole
- Working with images: screenshots, charts, photos and scanned documents alongside text
- Tool use and agents: reliably calls functions, so it can search, run skills and drive workflows
Example prompts
Prompts that suit a coding model like Kimi K2.7 Code:
- Refactor this function to be testable and write the tests
- Explain what this regex does and rewrite it to be readable
- Design a database schema for a multi-tenant invoicing app
- Review this pull request diff for correctness and edge cases
MoonshotAI family
| Model | Context | Input cr/M | Output cr/M | Released |
|---|---|---|---|---|
| Kimi K2.7 Code | 262K | 7.9 | 38.5 | June 2026 |
| Kimi K2.6 | 262K | 7.2 | 37.5 | April 2026 |
| Kimi K2.5 | 262K | 4.1 | 22.3 | January 2026 |
| Kimi K2 Thinking | 262K | 6.6 | 27.5 | November 2025 |
| Kimi K2 0905 | 262K | 6.6 | 27.5 | September 2025 |
| Kimi K2 0711 | 131K | 6.3 | 25.3 | July 2025 |
Compare Kimi K2.7 Code
Frequently asked questions
- What is Kimi K2.7 Code?
- Kimi K2.7 Code is an AI model by MoonshotAI. 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...
- How much does Kimi K2.7 Code cost on Zeplik?
- Input tokens cost 7.9 credits per million and output tokens 38.5 credits per million (1 credit = $0.10; the raw provider rates are $0.72 and $3.50 per million). New accounts start with free credits.
- How long can a conversation with Kimi K2.7 Code be?
- Kimi K2.7 Code has a 262K-token context window (262,144 tokens), which covers the conversation plus any documents you attach.
- Does Kimi K2.7 Code support images and tools?
- Kimi K2.7 Code accepts image input and supports tool calling.
Related models
Kimi K2.6 is Moonshot AI's next-generation multimodal model, designed for long-horizon coding, coding-driven UI/UX generation, and multi-agent orchestration. It handles complex end-to-end coding tasks across Python, Rust, and Go, and...
Kimi K2.5 is Moonshot AI's native multimodal model, delivering state-of-the-art visual coding capability and a self-directed agent swarm paradigm. Built on Kimi K2 with continued pretraining over approximately 15T mixed...
Kimi K2 Thinking is Moonshot AI’s most advanced open reasoning model to date, extending the K2 series into agentic, long-horizon reasoning. Built on the trillion-parameter Mixture-of-Experts (MoE) architecture introduced in...
Kimi K2 0905 is the September update of [Kimi K2 0711](moonshotai/kimi-k2). It is a large-scale Mixture-of-Experts (MoE) language model developed by Moonshot AI, featuring 1 trillion total parameters with 32...
Kimi K2 Instruct is a large-scale Mixture-of-Experts (MoE) language model developed by Moonshot AI, featuring 1 trillion total parameters with 32 billion active per forward pass. It is optimized for...
GPT-5.6 Luna Pro is the same underlying model as [GPT-5.6 Luna](https://openrouter.ai/openai/gpt-5.6-luna), served with `reasoning.mode` set to `pro` for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode