Moonshot’s current API lineup has two useful choices for developers. Kimi K3 is the flagship model with native vision and a 1-million-token context window. Kimi K2.7 Code is a coding-specific model with a 256K context window and lower rates.
Current pricing snapshot
Moonshot’s international K3 announcement lists these prices per million tokens:
Kimi K3 international API pricing
| Cached input | $0.30 per million tokens |
|---|---|
| Uncached input | $3.00 per million tokens |
| Output | $15.00 per million tokens |
Moonshot’s regional platform lists K2.7 Code at a substantially lower rate than K3. Because the regional page bills in yuan and international gateways may use different prices, check the account and endpoint you will actually call before converting the figures into a budget.
K3 or K2.7 Code
Current Kimi choices for developers
| kimi-k3 | Flagship model, native vision, 1M context, low/high/max reasoning effort |
|---|---|
| kimi-k2.7-code | Coding-specific model, 256K context, lower API cost |
K3 fits tasks that need images, a very large context, or the strongest current Kimi model. K2.7 Code is easier to justify for routine repository work where text and 256K context are enough.
The two model IDs are not interchangeable. Kimi Code subscriptions may also use service aliases such as kimi-for-coding, which are not the same as pay-as-you-go API model IDs.
Cache discounts
Kimi charges much less for cached input than for fresh input. Coding agents repeatedly send system instructions, repository context, and conversation history, so a high cache-hit rate can change the total cost substantially.
Do not estimate a whole session using only the cached rate. The first request, changed files, and new conversation content still count as uncached input. Output is also the most expensive part of a K3 request, so long reasoning traces and verbose answers can dominate the bill.
Estimate a coding session
Record cached input, uncached input, and output separately. Multiply each token count by its per-million rate, then add the three results. Repeat the calculation with a representative week of actual usage rather than one short prompt.
For example, a workflow with frequent small edits may benefit heavily from caching. A one-off repository analysis may send far more uncached input and produce a longer answer. Those sessions can use the same model but have very different costs.
Kimi pricing check
- Choose K3 or K2.7 Code based on the task
- Check pricing for the same region and endpoint as the API key
- Separate cached input, uncached input, and output
- Measure a representative session before setting a monthly budget
- Recheck the live model page when Moonshot releases a new version
K3 is no longer a cheap drop-in replacement for every task. It is the flagship option for long-context and multimodal work. K2.7 Code remains the practical lower-cost model for text-based coding sessions.
For setup, see Kimi K3 with Claude Code, Kimi K3 with OpenCode, and K2.7 Code with Aider.