How is Kimi API pricing calculated?
Kimi’s chat-completion documentation says both input and output are billed by usage. If a document is extracted and its contents are passed into the model, that extracted text is input usage too. The billing subject is therefore the full request sent to inference, not only the user’s latest message.
| Forecast field | Provider fact | What to measure |
|---|---|---|
| Model ID | Kimi publishes model-specific pricing records. | Keep the exact ID on every sample and quote. |
| Input | Chat-completion input is billed by usage. | Count system prompts, tools, documents, history, and user content. |
| Cache status | K2.7 Code separates cache-hit and cache-miss input. | Retain hit and miss tokens instead of assuming a hit rate. |
| Output | Output is a separate usage category. | Measure reasoning and final-answer behavior on representative tasks. |
Monthly total tokens alone cannot reproduce this calculation. Preserve the model ID and usage categories beside the measurement date, then recheck the provider record before a commercial decision.
Source: Kimi API model inference pricing explanation · verified 2026-08-18 · Source: Kimi K2.7 Code pricing documentation · verified 2026-08-18