← All model comparisons

MoonshotAI: Kimi K2.7 Code vs MoonshotAI: Kimi K3.1 Pro

MoonshotAI: Kimi K2.7 Code is 3× cheaper for the sample workload; MoonshotAI: Kimi K3.1 Pro has the larger context window.

MetricMoonshotAI: Kimi K2.7 CodeMoonshotAI: Kimi K3.1 Pro
Model IDmoonshotai/kimi-k2.7-codemoonshotai/kimi-k3.1-pro
Prompt price$0.60 / 1M tokens$2.00 / 1M tokens
Completion price$3.50 / 1M tokens$10.00 / 1M tokens
Context262,144 tokens1,048,576 tokens
Tool calling✓✓
Structured outputs✓✓
Reasoning✓✓
Response format✓✓
Web search––
Input modalitiestext, imagetext, image, video
Output modalitiestexttext
Added2026-06-122026-10-23

Sample workload

Chat app: 1,000 prompt + 500 completion tokens × 100 requests per day.

CostMoonshotAI: Kimi K2.7 CodeMoonshotAI: Kimi K3.1 Pro
Per day$0.24$0.70
Per 30 days$7.05$21.00

Difference: $0.47 per day and $13.95 per 30 days.

Data updated 2026-10-30