Kimi K2.7 Code
moonshotai/kimi-k2-7-codeVon Moonshot AI · Familie: kimi-k2 · veröffentlicht 2026-06-12 · Wissensstand: 2025-01
Prices in USD per 1M tokens. Unknown means the provider does not publish per-token pricing.
Fähigkeiten
Model fit scores
0–100 · higher is betterThese scores reward declared capabilities, context size, price and provider availability — they are not benchmark results. Use them as a directional signal alongside your own evaluation.
Coding84
- Tool calling40/40
- Structured output20/20
- Reasoning10/10
- Context window (100K → 1M)8/20
- Provider availability6/10
Agents96
- Tool calling35/35
- Structured output25/25
- Reasoning15/15
- Output token limit15/15
- Provider availability6/10
JSON / structured output80
- Structured output / JSON mode50/50
- Tool calling20/20
- Temperature control0/10
- Price-friendly for high-volume10/20
Cost efficiency50
- Headline price (log-scaled)45/95
- Has prompt-cache pricing5/5
Long context61
- Context window (100K → 2M)51/90
- Has published price for full window10/10
Vision87
- Accepts image input50/50
- Context window (10K → 1M)21/30
- Has published price10/10
- Provider availability6/10
Production-readiness86
- Number of independent providers30/40
- Has published per-token price20/20
- Context window ≥ 8K15/15
- No data inconsistencies across providers6/10
- Official model (not derivative)15/15
Cost Efficiency Index
Open full calculator →Estimated cost using the recommended provider's headline rate. Each scenario fixes average input/output tokens — the assumptions are shown in the third column.
| Scenario | Cost | Assumption |
|---|---|---|
RAG answer per 1,000 RAG answers | $6.75 < $0.01 per request | 5K input tokens (query + 4 retrieved chunks of ~1K each) and a 500-token answer. Typical SaaS knowledge-base bot. |
Support ticket triage per 10,000 tickets | $13.50 < $0.01 per request | 1K input tokens (ticket body + system prompt) and a 100-token JSON classification reply. High-volume customer support. |
Data extraction per 1,000 documents | $3.90 < $0.01 per request | 2K input tokens (a single document page) and a 500-token JSON extraction. ETL / invoice / form pipelines. |
Code review per 1,000 PRs | $11.60 $0.01 per request | 8K input tokens (diff + surrounding files) and a 1K-token review comment. PR-bot workloads. |
Agent step per 1,000 steps | $13.80 $0.01 per request | 12K input tokens (long-running tool history) and a 600-token tool-call decision. Cost per agent step. |
Preis-Details
Empfohlene Preise von moonshotai · kimi-k2.7-code
Bei 6 Anbietern verfügbar
| Anbieter | Anbieter-Modell-ID | Eingabe / 1M | Ausgabe / 1M | Kontext | Veröffentlicht |
|---|---|---|---|---|---|
| Moonshot AI moonshotai | kimi-k2.7-code | $0.950 | $4.00 | 262K | 2026-06-12 |
| OpenRouter openrouter | moonshotai/kimi-k2.7-code | $0.950 | $4.00 | 262K | 2026-06-12 |
| Vercel AI Gateway vercel | moonshotai/kimi-k2.7-code | $0.950 | $4.00 | 256K | 2026-06-12 |
| Cloudflare Workers AI cloudflare-workers-ai | @cf/moonshotai/kimi-k2.7-code | $0.950 | $4.00 | 262K | 2026-06-12 |
| OpenCode Go opencode-go | kimi-k2.7-code | $0.950 | $4.00 | 262K | 2026-06-12 |
| ZenMux zenmux | moonshotai/kimi-k2.7-code | $0.950 | $4.00 | 262K | 2026-06-12 |
Datenunterschiede zwischen Anbietern
- context_window varies: 256000, 262144
- modalities varies across offerings
Anbieter melden unterschiedliche Werte für dieses Modell. Die Schnellinfos oben nutzen den repräsentativen Anbieter; pro Anbieter siehe Tabelle.
Frequently asked questions
How much does Kimi K2.7 Code cost?
Kimi K2.7 Code costs $0.950 per 1M input tokens and $4.00 per 1M output tokens, sourced from moonshotai. Cache reads, audio tokens and >200K-context tiers (where applicable) are listed in the Pricing detail block above.
What is the context window of Kimi K2.7 Code?
Kimi K2.7 Code has a context window of 262K tokens, with a max output of 262K tokens per reply. This is the total combined size of prompt + completion.
Does Kimi K2.7 Code support tool calling?
Yes. Kimi K2.7 Code supports tool calling (function calling). This makes it suitable for production agent and automation workloads where the model has to invoke external functions reliably.
Does Kimi K2.7 Code support structured output / JSON mode?
Yes. Kimi K2.7 Code supports structured output / JSON-schema-constrained decoding. This makes it suitable for production agent and automation workloads where the model has to invoke external functions reliably.
Can Kimi K2.7 Code accept image input?
Yes. Kimi K2.7 Code accepts both text and image input. Vision pricing per image is usually billed on top of the regular token rate — check Moonshot AI's docs for the exact rule.
Is Kimi K2.7 Code open-weight?
Yes. Kimi K2.7 Code's weights are publicly available, so you can self-host or fine-tune. Note that open weights ≠ open source — the training data and code are typically not released.
What are the best alternatives to Kimi K2.7 Code?
If Kimi K2.7 Code doesn't fit, consider Kimi K2.5, Kimi K2.6, Kimi K2 Thinking. Each one targets the same use case — see the Related links below for direct head-to-head pages.
Where does this data come from?
All numbers are normalised into a single canonical model record and reconciled with each provider's official documentation. We re-pull daily and write any changes (price, context, capability) to the /changelog page.
Explore more
More Moonshot AI models
- Kimi K2.5$0.60 in / $3.00 out
- Kimi K2.6$0.95 in / $4.00 out
- Kimi K2 Thinking$0.60 in / $2.50 out
- Kimi K2 0711$0.55 in / $2.20 out
- Kimi K2 0905$0.40 in / $2.00 out
Capability lists this model is in
Zuletzt aktualisiert:
Pricing and capabilities are refreshed daily and reconciled against each provider's official documentation. Always verify critical production decisions with the provider directly.