Last verified
CODING FLAGSHIP262K CONTEXTTEXT + VISION + VIDEOPROMPT CACHINGTOOL CALLS

Kimi K2.7 Code API Pricing

Kimi K2.7 Code is Moonshot Kimi's coding-specialized model for long-context programming and agent tasks. The official Kimi pricing page lists $0.19/M cache-hit input, $0.95/M cache-miss input, and $4/M output. Pulled directly from platform.kimi.ai.

Input - cache miss per 1M
$0.95/M
Source Kimi API flat
Output - per 1M tokens
$4.00/M
Context 262,144 tokens flat
Cached input - per 1M tokens
$0.19/M
Cache automatic context caching -80%
Effective - agentic blend
$0.62/M
92/8 split - 82% cache
§ 01 / TERMINAL

Run the numbers.

Live calculator pre-loaded with current Kimi K2.7 Code rates. Tweak spend, output mix, or cache assumptions and share the URL to share the calculation.

$ /mo
Workload split
Prompt cache hit rate
Tokens you can process
Words equivalent (English)
Effective rate
Open full calculator (all models · share URL · CSV) →
§ 02 / SCENARIOS

Real-world presets.

§ 03 / TOKENIZER

Paste text. See tokens. See cost.

Estimate · moonshot-tokenizer-estimate · ≈3.85 chars/token Auto-counts as you type

This is a chars-per-token approximation, not a real tokenizer. Actual tokens vary by language, code density, and tool-call overhead — counts are typically ±10–20% off for English prose, more for code or non-Latin scripts. For exact billing, use the vendor's official tokenizer.

Characters 426
Words 61
Tokens (estimated) 111 tokens
Cost as input · uncached $0.000105 USD
Cost as output · uncached $0.000444 USD
Cost as cached input $0.000021 USD
§ 04 / SHELF

Up against the shelf.

All models →
Model Input /M Output /M Effective blended Context Best for
Kimi K2.7 Code Current $0.95 cache $0.19 $4.00 $0.62 agentic 92/8 262K Long-context coding agents
Kimi K2.6 $0.95 cache $0.16 $4.00 $0.60 sibling 262K frontier
Kimi K2.5 $0.60 cache $0.10 $3.00 $0.41 sibling 262K mid
GPT-5.4 mini $0.75 cache $0.07 $4.50 $0.54 sibling 400K light
Grok Build 0.1 $1.00 cache $0.20 $2.00 $0.48 sibling 256K coding
DeepSeek V4 Flash $0.14 cache $0.00 $0.28 $0.05 sibling 1M budget
§ 05 / DEEP LINKS

Specific scenarios.

All calculators →

Audit links

Frequently asked.

Short answers for teams evaluating Kimi K2.7 Code for coding agents and long-context development workflows.

Q · 01 What is Kimi K2.7 Code's input price? +
Kimi lists two input rates: $0.95/M for cache-miss input and $0.19/M for cache-hit input. The calculator uses cache hits when you select a cache hit-rate preset.
Q · 02 What is Kimi K2.7 Code's output price? +
The official Kimi pricing page lists output at $4.00/M tokens. Prices exclude applicable taxes, which Kimi says are calculated at checkout based on jurisdiction.
Q · 03 What context window does it support? +
The pricing table lists 262,144 tokens, and the model description describes it as 256K context with long thinking and deep reasoning support.
Q · 04 Does it support prompt caching? +
Yes. The model description lists automatic context caching, and the pricing table separates cache-hit input from cache-miss input.
Q · 05 Is this only a coding model? +
It is coding-specialized, but Kimi describes native multimodal architecture with text, image, and video input, thinking modes, dialogue, and agent tasks.