Moonshot model
Kimi K2.7 Code API cost calculator
Kimi K2.7 Code costs $0.71 per 1M input tokens and $3.50 per 1M output tokens on the Moonshot API, with a 262K-token context window. A typical request (2K input, 500 output tokens) costs $0.0032 — about $95.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.0014 | $1.41 |
| RAG query with context | 4,000 / 500 | $0.0046 | $4.59 |
| Document summarization | 20,000 / 1,000 | $0.02 | $17.70 |
| Agent coding session | 100,000 / 5,000 | $0.09 | $88.50 |
Kimi K2.7 Code vs other Moonshot models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| Kimi K2.7 Code | $0.71 | $3.50 | 262K |
| Kimi K3 | $2.30 | $11.55 | 1.0M |
| Kimi K2.6 | $0.95 | $4 | 262K |
| Kimi K2.5 | $0.45 | $2.25 | 262K |
| Kimi K2 Thinking | $0.60 | $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.71 per 1M input tokens and $3.50 per 1M output tokens. Processing 1M tokens each way costs $4.21.
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.0032. At 1,000 requests per day that is $3.17 daily, or about $95.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 79% 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?
Granite 4.0 Micro from Ibm-granite is currently the cheapest comparable option at $0.02 per 1M input tokens versus $0.71 for Kimi K2.7 Code — roughly 42x cheaper on input.
Compare all current prices on the live model pricing dashboard, see Kimi K2.7 Code vs Granite 4.0 Micro 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.