Kimi K2.7 Code
Kimi K2.7 Code is a coding-oriented chat model from Kimi, positioned as the code-focused variant in the K2.7 line and available through inference API providers.
API Pricing
Cheapest on OpenRouter — 34% below avg| Provider | Input / 1M | Output / 1M | Cached / 1M |
|---|---|---|---|
| $0.671 | $3.35 | $0.180 | |
| $0.760 | $3.20 | $0.152 | |
| $0.950 | $4.00 | $0.190 | |
| $0.950 | $4.00 | $0.950 | |
| $0.950 | $4.00 | - | |
| $0.950 | $4.00 | $0.190 | |
| $0.989 | $4.37 | $0.494 | |
| $1.90 | $8.00 | - |
Prices updated daily. Last check: Oct 11, 2026
Compare API pricing for every Kimi model →Kimi K2.7 Code pricing by provider
Input, output, and batch rates, plus alternatives, for one provider at a time.
Performance & Benchmarks
Source: Artificial Analysis →Reasoning & Knowledge
- GPQA Diamond89.6%
- Humanity's Last Exam35.0%
Coding
- SciCode47.8%
Agentic & Tool Use
- Terminal-Bench Hard44.7%
- Terminal-Bench v2.167.4%
- τ²-bench90.1%
- τ-bench Banking20.2%
Instruction & Long Context
- IFBench63.1%
- Long-Context Reasoning79.3%
Benchmarks measured Oct 2026. Scores are independent evaluations, not vendor-reported.
Model Details
General
- Creator
- Kimi
- Modalities
- Text
Capabilities
- Open Source
- Yes
Strengths & Limitations
Strengths
- Code-focused variant within Kimi's K2.7 line, tuned for software development tasks rather than general chat
- Measured output throughput of roughly 39.5 tokens per second, adequate for interactive coding sessions and agent loops
- Time to first token around 1,280 ms, keeping the initial response wait in a usable range for IDE and assistant integrations
- Served through multiple inference API providers, so buyers can compare hosts on throughput, latency, and region
- Independent serving measurements available from Artificial Analysis rather than only vendor-published figures
- Standard chat-completions style access makes it straightforward to drop into existing coding tooling
Limitations
- Published accuracy benchmarks for this specific variant are not tracked in our database, making capability comparison harder
- We do not have a confirmed context window figure, which matters for repository-scale code tasks — verify with your provider
- Output speed near 39.5 tokens per second is mid-range, so very long generations take noticeable wall-clock time
- Code specialization means general-purpose chat, writing, or open-domain reasoning may be better served by a general model
- Performance and availability vary by host provider, so results are not identical across endpoints
Key Features
About Kimi K2.7 Code
Common Use Cases
Kimi K2.7 Code is aimed at development workloads: generating functions and modules from natural-language specifications, refactoring existing files, writing unit tests, explaining unfamiliar code, and diagnosing errors from stack traces. Its measured latency profile — roughly 1.3 seconds to first token with mid-range output speed — fits interactive use in an editor or terminal assistant, and it is workable inside agentic loops where a model reads code, proposes an edit, and reacts to test output, though each turn will feel deliberate rather than instant. For very high-volume, latency-critical tasks such as inline autocomplete, a smaller and faster model is usually the better fit, and for broad non-coding reasoning or writing, a general-purpose chat model is the more natural choice. Because we do not have a confirmed context window for this variant, teams planning whole-repository ingestion should confirm limits with their chosen provider before committing.
Frequently Asked Questions
How much does Kimi K2.7 Code cost to run?
Pricing depends on which inference provider you use and how they bill — separate input and output token rates, cached input discounts, and batch or dedicated-capacity options all differ between hosts. Because those rates change frequently, we do not quote figures in this write-up; check the pricing table on this page for the current per-provider rates for Kimi K2.7 Code.
What is Kimi K2.7 Code best used for?
It is a code-focused variant, so it suits code generation, refactoring, test authoring, code explanation, and debugging assistance, including use as the model behind a coding agent or editor integration. Its moderate first-token latency and mid-range output speed make it more appropriate for deliberate assistant turns than for inline autocomplete.
How fast is Kimi K2.7 Code?
Artificial Analysis measurements for this model show roughly 39.5 output tokens per second and about 1,280 ms to first token. Those are serving characteristics of a specific measured endpoint — actual speed varies by provider, prompt length, and load, so compare hosts if throughput matters to your workload.
How does Kimi K2.7 Code differ from other Kimi models?
The "Code" suffix marks it as the coding-tuned variant within the K2.7 line, as opposed to Kimi's general-purpose chat entries. If your workload is mostly software development, the code variant is the intended target; for mixed conversational, analytical, and writing tasks, a general Kimi model or another general-purpose chat model is usually a closer match.
What context window does Kimi K2.7 Code support?
We do not currently track a confirmed context window for this variant, and a missing value in our database means unverified rather than small. Check the documentation of the provider you plan to use, especially if you intend to feed in large codebases or long diffs.