Moonshot model
Kimi K2.7 Code API cost calculator
Kimi K2.7 Code costs $0.56 per 1M input tokens and $3.10 per 1M output tokens on the Moonshot API, with a 262K-token context window. A typical request (2K input, 500 output tokens) costs $0.0027 — about $80.10/month at 1,000 requests per day. Use the calculator below to model your exact workload.
Find me a cheaper modelWhat real workloads cost on Kimi K2.7 Code
| Workload | Tokens (in / out) | Per request | Per 1K requests |
|---|---|---|---|
| Chatbot message | 500 / 300 | $0.0012 | $1.21 |
| RAG query with context | 4,000 / 500 | $0.0038 | $3.79 |
| Document summarization | 20,000 / 1,000 | $0.01 | $14.30 |
| Agent coding session | 100,000 / 5,000 | $0.07 | $71.50 |
Kimi K2.7 Code vs other Moonshot models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| Kimi K2.7 Code | $0.56 | $3.10 | 262K |
| Kimi K3.1 Pro | $2 | $10 | 1.0M |
| Kimi K3 | $0.17 | $11.50 | 1.0M |
| Kimi K2.6 | $0.65 | $3.41 | 262K |
| Kimi K2.5 | $0.50 | $2.50 | 262K |
Frequently asked questions
How much does Kimi K2.7 Code cost per 1M tokens?
According to current pricing data, Kimi K2.7 Code costs $0.56 per 1M input tokens and $3.10 per 1M output tokens. Processing 1M tokens each way costs $3.66.
What does a typical API request to Kimi K2.7 Code cost?
A typical request with 2,000 input tokens and 500 output tokens costs $0.0027. At 1,000 requests per day that is $2.67 daily, or about $80.10 per month.
What is Kimi K2.7 Code's context window?
Kimi K2.7 Code supports a 262K-token context window (262,144 tokens).
Does Kimi K2.7 Code support prompt caching?
Yes. Cached input tokens cost $0.15 per 1M — a 73% discount versus the standard input rate, which matters for agents and chat apps that resend the same system prompt.
What is a cheaper alternative to Kimi K2.7 Code?
gpt-oss-20b from OpenAI is currently the cheapest comparable option at $0.02 per 1M input tokens versus $0.56 for Kimi K2.7 Code — roughly 31x cheaper on input.
Compare all current prices on the live model pricing dashboard, see Kimi K2.7 Code vs gpt-oss-20b pricing, or run Kimi K2.7 Code head-to-head against other models in the side-by-side comparison playground.
Pricing data via the OpenRouter models API.