Kimi K3.1 Pro pricing, context window, and K2 migration
Kimi K3.1 Pro costs $2 input and $10 output per million tokens. Compare K3, Highspeed, cache rates, 1M context, and the K2 retirement timeline.
Kimi K3.1 Pro costs $2 per million input tokens and $10 per million output tokens. Cache hits cost $0.20 per million and cache writes $2 per million. That makes every standard rate one-third lower than Kimi K3, while retaining a 1,048,576-token context window.
Kimi K3.1 Pro price at a glance
| Per 1M tokens | K3.1 Pro | K3.1 Pro Highspeed | K3 |
|---|---|---|---|
| Input, cache miss | $2.00 | $4.00 | $3.00 |
| Cache write | $2.00 | $4.00 | $3.00 |
| Cache hit | $0.20 | $0.20 | $0.30 |
| Output | $10.00 | $20.00 | $15.00 |
The standard API model ID is kimi-k3.1-pro. The faster variant is kimi-k3.1-pro-highspeed; Moonshot describes it as the same intelligence at roughly two to three times the speed. The Highspeed premium is entirely on cache misses, cache writes, and output—its cache-hit rate matches standard K3.1 Pro.
Worked Kimi K3.1 Pro costs
These examples separate input and output because output is five times the input rate. They exclude taxes, tools, retries, and cache writes.
| Workload | Calculation | Cost |
|---|---|---|
| One request: 100K input + 10K output | 0.1 × $2 + 0.01 × $10 | $0.30 |
| 100K requests: 5K input + 1K output each | 500M input + 100M output | $2,000.00 |
| The same workload on K3 | 500M × $3 + 100M × $15 | $3,000.00 |
| The same workload on Highspeed | 500M × $4 + 100M × $20 | $4,000.00 |
K3.1 Pro saves 33% against K3 on that workload: $1,000.00 a month. Highspeed doubles the standard K3.1 Pro token bill, so buy it only where latency has measurable product value. For your own prompts and files, select Kimi K3.1 Pro in the token and API cost calculator.
A 1,048,576-token context and always-on thinking
K3.1 Pro accepts text, images, and video and has a 1,048,576-token context window. Moonshot documents a default max_completion_tokens of 131,072 and permits a maximum of 1,048,576. A large ceiling is not a free allowance: reasoning and answer tokens are output and bill at $10 per million on standard K3.1 Pro.
Thinking cannot be disabled. The reasoning_effort field accepts low, high, and max, with max as the default. Test a lower setting on latency-sensitive tasks and log total output usage; a short visible answer can still include substantial billed reasoning.
How Kimi context caching is billed
Context caching is automatic for repeated prefixes. The default time to live is five minutes, and a one-hour option is available. An eligible prefix is billed once at the cache-write rate and later hits at $0.20 per million tokens. Partial blocks that do not fill a cache block cannot be written and are billed as misses.
Do not apply the 90% cache-hit discount to all repeated text in a forecast. Measure the cache-hit and cache-write fields returned by the API, then reconcile them separately. Workloads with gaps longer than five minutes should evaluate the one-hour TTL against repeated write charges.
K2 retirement timeline
| Date | Change | Who is affected |
|---|---|---|
| 31 Oct 2026 | K2 series unavailable to newly registered users | New Kimi API accounts |
| By end of Dec 2026 | Moonshot plans to retire all K2-series models | Existing K2 workloads |
K2 models have a 262,144-token context; K3-series models support 1,048,576. That larger window can change memory usage, output ceilings, and cost controls, so a migration should not be only a model-name substitution.
K3.1 Pro migration checklist
- Change the model ID to
kimi-k3.1-proand keep the OpenAI-compatible base URLhttps://api.moonshot.ai/v1. - Set
reasoning_effortexplicitly. K3.1 Pro always thinks and defaults tomax. - Return the complete assistant message in multi-turn conversations and tool loops; do not retain only its visible
content. - Remove unsupported sampling overrides. Moonshot fixes temperature, top-p, penalties, and
nfor this model. - Send vision input as base64 or a Moonshot file ID. Public image URLs are not supported.
- Cap
max_completion_tokensto the smallest safe value and measure reasoning output, cache writes, and cache hits separately. - Run held-out task and tool-call evaluations before moving production traffic; provider benchmarks do not prove parity on your workflow.
Frequently asked questions
How much does Kimi K3.1 Pro cost?+
Kimi K3.1 Pro costs $2 per million uncached input tokens, $0.20 per million cache-hit tokens, $2 per million cache-write tokens, and $10 per million output tokens. Prices exclude applicable taxes.
What is the Kimi K3.1 Pro context window?+
Kimi K3.1 Pro supports a 1,048,576-token context window. max_completion_tokens defaults to 131,072 and can be set as high as 1,048,576.
Is Kimi K3.1 Pro cheaper than Kimi K3?+
Yes. K3.1 Pro is one-third cheaper at every listed standard rate: $2/$10 input/output versus K3 at $3/$15, with cache hits at $0.20 versus $0.30 per million tokens.
When will Kimi K2 models retire?+
Kimi says K2 series models stop being available to newly registered users on October 31, 2026. Existing users are not affected immediately, but Moonshot plans to retire the full K2 series by the end of December 2026.
What is Kimi K3.1 Pro Highspeed?+
Kimi K3.1 Pro Highspeed uses the same intelligence and 1M-token context at roughly three times the speed. It costs $4 per million input tokens and $20 per million output tokens; cache writes cost $4 and cache hits $0.20.
Evidence ledger
Reviewed: 29 October 2026. Retirement language is reported as Moonshot's current plan, not a guaranteed shutdown timestamp.