AI API PricesMoonshot AI (Kimi) › Kimi K2

Kimi K2 pricing

Kimi K2 API cost from Moonshot AI (Kimi) — $0.570 per 1M input tokens and $2.30 per 1M output tokens. Open weights. Estimate your real monthly bill below, then compare it against every other model.

Input price
$0.570
per 1M input tokens
Output price
$2.30
per 1M output tokens
Context window
128K
tokens per request
Reference call
$0.0029
1K in + 1K out

Balanced open weights 128K context · all prices USD per 1M tokens, list price last verified 2026-06-27.

Kimi K2 capabilities & limits

Representative specs for this tier — confirm exact limits in the Moonshot AI (Kimi) docs.

Context window128K
Max output32K
Knowledge cutoff2025
API formatOpenAI-compatible
✓ Vision✓ Tools / functions✓ JSON / structured✓ Batch API✓ Open weights

Call Kimi K2 from your code

The exact model string and endpoint to use. Works with the OpenAI SDK — just point base_url at the URL below.

Model stringkimi-k2-0905-preview
Base URLhttps://api.moonshot.ai/v1
API key envMOONSHOT_API_KEY
curl https://api.moonshot.ai/v1/chat/completions \
  -H "Authorization: Bearer $MOONSHOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2-0905-preview",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Model strings follow each provider's naming convention; confirm the current id in the Moonshot AI (Kimi) docs before relying on it.

What a Kimi K2 API call actually costs

Blended input + output cost at Kimi K2's list rates — useful yardsticks before you commit to volume.

$0.0029
Short call
1K in · 1K out
$0.0029
Chat turn
3K in · 500 out
$0.014
RAG / long prompt
20K in · 1K out
$2.87
1M in + 1M out
bulk job

Kimi K2 cost calculator

Enter your monthly volume to estimate the Kimi K2 bill. Runs entirely in your browser.

Estimated monthly cost

For the full multi-model breakdown, use the cost calculator.

Moonshot AI (Kimi) models — Kimi K2 in context

How Kimi K2 prices against its siblings. Cheapest reference cost first.

Model Input /1M Output /1M Cost / call* Context Type
Kimi K2
Open weights
$0.570 $2.30 $0.0029 128K Balanced open
Kimi K2 Thinking
Open-weight reasoning
$0.600 $2.50 $0.0031 256K Reasoning open

*Reference cost of one call with 1,000 input + 1,000 output tokens — a neutral yardstick. Use the calculator for your real usage. Cheapest row highlighted.

Cheaper than Kimi K2? In the same balanced tier, Command R runs $0.150 in / $0.600 out. The overall cheapest model tracked is Gemini 1.5 Flash-8B — see the cheapest LLM API guide.

How Kimi K2 pricing works

Kimi K2 is billed per token: a lower input price of $0.570 per million tokens for everything you send, and a higher output price of $2.30 per million for everything the model generates. To turn that into a real Kimi K2 bill, multiply by your monthly request volume and average prompt/response length — the calculator above does exactly that.

Kimi K2 does not list a separate cached-input rate, so every input token bills at $0.570 per million. If repeated context is a big part of your prompts, a model with prompt caching may end up cheaper in practice.

List prices move fast — always confirm the current numbers on the official Moonshot AI (Kimi) pricing page before relying on them for budgeting.

Kimi K2 pricing FAQ

How much does the Kimi K2 API cost?

Kimi K2 costs $0.570 per 1M input tokens and $2.30 per 1M output tokens. A typical 3K-input / 500-output call works out to about $0.0029.

What is Kimi K2's context window?

Kimi K2 has a 128K-token context window. Tokens you put in the prompt are billed at the $0.570 per 1M input rate.

Does Kimi K2 charge extra for output tokens?

Yes. Output (generated) tokens cost $2.30 per 1M, versus $0.570 per 1M for input — about 4.0× more, which is normal for LLM APIs.

Is there a cheaper alternative to Kimi K2?

In the same balanced tier, Command R (Cohere) is cheaper at $0.150 in / $0.600 out. The overall cheapest model on the market is Gemini 1.5 Flash-8B.

Is Kimi K2 open weights?

Yes — Kimi K2 is released as open weights, so you can self-host it instead of paying per-token API rates. The prices here are a representative hosted endpoint.

Compare Kimi K2 with other models