Kimi K3 API: Pricing, Context Window and Setup
Kimi K3 API pricing is $3 per 1M cache-miss input tokens, $0.30 for cache hits and $15 for output. See its 1M context, vision support and RouterPlex setup.
Kimi K3 is Moonshot AI's flagship reasoning model for software engineering, long-horizon agent work, visual understanding and large knowledge tasks. The API model ID is kimi-k3, the context window is 1,048,576 tokens, and the official standard price is $3 per 1M cache-miss input tokens and $15 per 1M output tokens.
Kimi K3 is now available on RouterPlex through the same OpenAI-compatible endpoint used for GPT, Claude, Gemini and the rest of the catalog.
Sources: Moonshot Kimi K3 pricing and Kimi K3 quickstart, checked July 16, 2026. Model capabilities and prices can change.
Kimi K3 API pricing #
| Token category | Official price per 1M tokens |
|---|---|
| Cache-hit input | $0.30 |
| Cache-miss input | $3.00 |
| Output | $15.00 |
Moonshot defines 1M as 1,000,000 tokens for billing. Cache hits cost one tenth of normal input, so repeated long instructions, tool definitions and conversation prefixes can be materially cheaper when the provider reuses the cached prefix.
RouterPlex bills those same Kimi K3 categories at the published rates. A $5 prepaid balance therefore buys roughly 1.67 million cache-miss input tokens, 16.67 million cached input tokens, or 333,333 output tokens if the workload used only one category. Real requests combine input and output.
See the live Kimi K3 API price page for the current RouterPlex catalog rate.
Kimi K3 specifications #
| Capability | Kimi K3 |
|---|---|
| Model ID | kimi-k3 |
| Context window | 1,048,576 tokens |
| Input | Text and images |
| Reasoning | Always enabled |
| Current reasoning effort | max |
| Tool calling | Supported |
| Structured output | Supported |
| OpenAI-compatible chat API | Yes |
Moonshot describes Kimi K3 as a 2.8-trillion-parameter model built with Kimi Delta Attention and Attention Residuals. Those architecture details matter less operationally than the API behavior: K3 can retain a large working context, inspect images, reason before answering and participate in tool-calling loops.
Call Kimi K3 with RouterPlex #
Create a RouterPlex key, give it a hard budget, and send the standard chat-completions request:
curl https://api.routerplex.com/v1/chat/completions -H "Authorization: Bearer $ROUTERPLEX_KEY" -H "Content-Type: application/json" -d '{"model": "kimi-k3","messages": [{"role": "user", "content": "Review this migration plan and identify the highest-risk assumption."}],"reasoning_effort": "max"}'
The equivalent Python setup uses the regular OpenAI client:
import osfrom openai import OpenAIclient = OpenAI(api_key=os.environ["ROUTERPLEX_KEY"],base_url="https://api.routerplex.com/v1",)response = client.chat.completions.create(model="kimi-k3",reasoning_effort="max",messages=[{"role": "user", "content": "Design a rollback-safe deployment plan."}],)print(response.choices[0].message.content)
Where Kimi K3 fits #
Kimi K3 is most relevant when a task needs more than a short answer:
- Repository-scale planning with many files and constraints.
- Long-running agents that call multiple tools.
- Large document collections or extended conversation state.
- Visual inspection combined with technical reasoning.
- Structured JSON output for downstream automation.
For a dedicated coding model with a smaller 256K context, Kimi K2.7 Code may still be a useful comparison. Kimi K3 is the broader flagship choice when coding is mixed with research, planning, images or long-context knowledge work.
Kimi K3 API details to watch #
K3 always reasons. Moonshot currently accepts only reasoning_effort="max", although more levels are planned. Streaming responses can expose reasoning and final-answer deltas separately.
For multi-turn tool use, retain the complete assistant message returned by the model. Keeping only the visible text can remove tool-call or reasoning state needed by the next request. Moonshot also notes that its web-search capability is being updated, so do not make a production design depend on that feature without retesting it.
Run a controlled Kimi K3 test #
Start with one narrow workload and a hard key budget. Compare answer quality, latency, cached-token behavior and total cost against the model you currently use.
Create a RouterPlex account, add the minimum $5 balance, and select kimi-k3. You can compare it with GPT-5.6 and Claude Fable 5 through the same endpoint.
Frequently asked questions
How much does the Kimi K3 API cost?
Moonshot publishes Kimi K3 at $3 per 1M cache-miss input tokens, $0.30 per 1M cache-hit input tokens, and $15 per 1M output tokens. RouterPlex uses the same published rates.
What is the Kimi K3 context window?
Kimi K3 supports a 1,048,576-token context window, commonly described as 1M tokens.
Does Kimi K3 support images?
Yes. Moonshot documents native visual understanding and supports image input in chat messages.
Can Kimi K3 use the OpenAI SDK?
Yes. Kimi K3 is available through OpenAI-compatible chat completions. With RouterPlex, use https://api.routerplex.com/v1 and model ID kimi-k3.
Run the smallest paid test.
Add $5, cap the key, and verify the result with your own workload.