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

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

Comparing MoonshotAI: Kimi K2.7 Code and MoonshotAI: Kimi K3.1 Pro: on combined input+output list price, MoonshotAI: Kimi K2.7 Code is cheaper at $4.021 vs $12 per 1M tokens — a difference of $7.979 (66%). MoonshotAI: Kimi K2.7 Code costs $0.6712 in / $3.35 out with a 262,144-token context; MoonshotAI: Kimi K3.1 Pro costs $2 in / $10 out with a 1,048,576-token context.
MoonshotAI: Kimi K2.7 CodeMoonshotAI: Kimi K3.1 Pro
Input /1M$0.6712$2
Output /1M$3.35$10
Cached input /1M$0.15$0.2
Context window262,1441,048,576
Max output tokens235,929943,718
Cost @ 10M in + 2M out / mo$13.41$40

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.

Frequently asked questions

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

MoonshotAI: Kimi K2.7 Code is cheaper on combined list price: $4.021 vs $12 per 1M tokens (input + output). At 10M input + 2M output tokens per month, MoonshotAI: Kimi K2.7 Code costs $13.41 and MoonshotAI: Kimi K3.1 Pro costs $40.

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

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

Price snapshot October 24, 2026, refreshed daily.