Home › Compare › MoonshotAI: Kimi K2.7 Code vs MoonshotAI: Kimi K3.1 Pro (batch)

MoonshotAI: Kimi K2.7 Code vs MoonshotAI: Kimi K3.1 Pro (batch): API Pricing Compared

Comparing MoonshotAI: Kimi K2.7 Code and MoonshotAI: Kimi K3.1 Pro (batch): on combined input+output list price, MoonshotAI: Kimi K2.7 Code is cheaper at $4.13 vs $5.955 per 1M tokens — a difference of $1.825 (31%). MoonshotAI: Kimi K2.7 Code costs $0.63 in / $3.5 out with a 262,144-token context; MoonshotAI: Kimi K3.1 Pro (batch) costs $0.372 in / $5.583 out with a 1,048,576-token context.
MoonshotAI: Kimi K2.7 CodeMoonshotAI: Kimi K3.1 Pro (batch)
Input /1M$0.63$0.372
Output /1M$3.5$5.583
Cached input /1M$0.15$0.1
Context window262,1441,048,576
Max output tokens235,929943,718
Cost @ 10M in + 2M out / mo$13.3$14.89

Estimate your own workload in the cost calculator, or open the full pages for MoonshotAI: Kimi K2.7 Code and MoonshotAI: Kimi K3.1 Pro (batch).

Frequently asked questions

Which is cheaper, MoonshotAI: Kimi K2.7 Code or MoonshotAI: Kimi K3.1 Pro (batch)?

MoonshotAI: Kimi K2.7 Code is cheaper on combined list price: $4.13 vs $5.955 per 1M tokens (input + output). At 10M input + 2M output tokens per month, MoonshotAI: Kimi K2.7 Code costs $13.3 and MoonshotAI: Kimi K3.1 Pro (batch) costs $14.89.

Which has the larger context window, MoonshotAI: Kimi K2.7 Code or MoonshotAI: Kimi K3.1 Pro (batch)?

MoonshotAI: Kimi K2.7 Code has a context window of 262,144 tokens; MoonshotAI: Kimi K3.1 Pro (batch) has 1,048,576 tokens. The larger one is MoonshotAI: Kimi K3.1 Pro (batch).

Price snapshot December 06, 2026, refreshed daily.