Kimi K2.7 Code API Pricing
Moonshot (Kimi) · context window 262K · prices updated 2026-09-15
Where Kimi K2.7 Code sits on price
At $3.50 per million output tokens, Kimi K2.7 Code is a mid tier model — 1.7× the median output price of $2.08, which puts it cheaper than 39% and pricier than 61% of the models we track. It sits 5th cheapest of the 8 Moonshot (Kimi) models we track. Output costs 4.9× input, the usual spread — trim both, starting with the answer length.
Cached input is 79% cheaper. On an input-heavy workload you need roughly a 32% cache-hit rate to take 25% off the input line — reachable for chatbots and agents that resend the same system prompt and history.
What real workloads cost on Kimi K2.7 Code
These three workloads are the ones teams actually run on a mid-priced model — a $3.50/1M model is not bought for the same job as one ten times the price.
| Workload | Per request | Per month |
|---|---|---|
| Support chatbot — 500 conversations/day (5K in / 1.4K out) Conversation history re-sent each turn — the classic prompt-caching win. | $0.0084 | $127 |
| Document pipeline — 10K docs/day (3K in / 500 out) Batch-friendly: no user waiting, so a ~50% batch discount usually applies. | $0.0039 | $1164 |
| Small app — 1K requests/day (500 in / 150 out) The baseline most side projects actually run at. | $0.0009 | $26.40 |
Model your exact traffic in the API cost calculator — it preloads Kimi K2.7 Code with caching and batch options.
Kimi K2.7 Code price history
Moonshot (Kimi) last raised Kimi K2.7 Code's output price on Sep 8, 2026 (+3% per output token), from $0.66/$3.40 to $0.71/$3.50 per 1M in/out. That is one of 6 repricings in the 44 days we have tracked it — worth knowing before you hard-code today's rate into a budget.
| Date | Input /1M | Output /1M | Output change |
|---|---|---|---|
| Aug 2, 2026 (tracking began) | $0.73 | $3.50 | — |
| Aug 6, 2026 | $0.7 | $3.50 | 0% |
| Aug 13, 2026 | $0.67 | $3.40 | -3% |
| Aug 14, 2026 | $0.71 | $3.50 | +3% |
| Aug 21, 2026 | $0.67 | $3.40 | -3% |
| Aug 28, 2026 | $0.66 | $3.40 | 0% |
| Sep 8, 2026 | $0.71 | $3.50 | +3% |
Change-points from our daily price snapshots (tracking since Aug 2, 2026; intraday moves between snapshots are not captured).
Kimi K2.7 Code vs Qwen3.5 397B A17B
The closest-priced alternative from another vendor is Qwen3.5 397B A17B (Alibaba (Qwen)) — priced within a rounding error on output, with $0.16 less per million input tokens. When two models land this close on price, the decision is quality on your own workload, not the price sheet: run 50 real requests through both and compare.
See Qwen3.5 397B A17B pricing →Cheaper alternatives
More Moonshot (Kimi) models
Frequently asked questions
› How much does the Kimi K2.7 Code API cost?
Kimi K2.7 Code costs $0.71 per million input tokens and $3.50 per million output tokens, with cached input at $0.15 per million (79% cheaper). That works out to roughly 285,714 output tokens per dollar.
› What does the support chatbot workload cost on Kimi K2.7 Code?
Support chatbot — 500 conversations/day (5K in / 1.4K out) costs about $0.0084 per request and $127 per month on Kimi K2.7 Code. Conversation history re-sent each turn — the classic prompt-caching win.
› What does it cost to fill Kimi K2.7 Code's 262K context window?
Sending 262K of input in a single request costs $0.1861 at $0.71 per million tokens — before any output. With prompt caching that same fill drops to about $0.0393 on repeat requests. This is why large context windows are cheap to advertise and expensive to actually use.
› Is Kimi K2.7 Code worth the price?
Kimi K2.7 Code sits in the middle of the market (5 of 8 by price within Moonshot (Kimi)). The honest test is a routing experiment: send the same 200 real requests to this model and to a tier below, and compare failure rate against the price gap — most teams find a majority of traffic never needed the pricier model.