kimik2api.comKimi K2 API Pricing: Real Costs on a Prepaid Plan
Kimi K2 API Pricing: Real Costs on a Prepaid Plan
This page answers the kimi k2 api pricing question for this endpoint in plain numbers: two token rates, prepaid credit, no subscription. Below you will find the exact math for typical jobs.
Updated

Key points
- Input costs $0.15 per 1M tokens and output costs $0.50 per 1M tokens.
- Credit is prepaid, never expires, and failed or refused requests are not charged.
- Top-ups run from $20 to $500, with +5% from $50, +10% from $100 and +15% from $200.
- A typical chat turn of 2,000 input and 500 output tokens costs $0.00055.
The short answer
If you searched for kimi k2 api pricing, here is what you pay on this site. Every request is billed on the tokens it uses: $0.15 per 1M input tokens and $0.50 per 1M output tokens. There is no monthly fee, no seat price and no minimum commitment beyond your first top-up.
One clarification before the numbers. The endpoint serves a single open-weight model under the ID uncensored, run by an independent provider. It is not the official service of the company behind the Kimi name, so any price list you remember from elsewhere does not apply here. If you compare costs, check the other provider's current pricing page rather than relying on a number from an old article.
| Item | Rate |
|---|---|
| Input tokens | $0.15 per 1M |
| Output tokens | $0.50 per 1M |
| 1M input plus 1M output | $0.65 |
| Subscription | None |
| Credit expiry | Never |
The full rate card sits on the pricing page. This article explains how to turn those rates into a monthly estimate for your own workload.
How a single request is billed
A request has two parts. The prompt you send (system message, history, your new message, tool definitions) counts as input tokens. The text the model writes back counts as output tokens. The API returns both counts in the usage object of every response, so you never need to guess.
The formula is short:
cost = prompt_tokens * 0.15 / 1_000_000 + completion_tokens * 0.50 / 1_000_000
Output is a bit more than three times as expensive per token as input (0.50 divided by 0.15 is 3.33). That ratio matters when you design prompts. Sending a long document and asking for a one-line verdict is cheap. Sending a short question and asking for a 3,000-token essay is where the bill grows.
The context window is 100,000 tokens, prompt and completion together. You can fill most of it with input if the job needs it. max_tokens is optional, and the completion can use whatever room remains in the window.
Streaming does not change the price
With stream: true you pay for the same tokens. The usage figures arrive at the end of the stream. One side effect to remember: a streamed request keeps its concurrency slot until the stream finishes, which matters for limits more than for cost.
Worked examples with exact math
Numbers are easier to trust when you can redo them. Each example below uses only the two published rates.
A chat turn
A support-style exchange with 2,000 input tokens (a system prompt plus recent history) and 500 output tokens.
- Input: 2,000 x 0.15 / 1,000,000 = $0.00030
- Output: 500 x 0.50 / 1,000,000 = $0.00025
- Total: $0.00055
At that size, $20 of credit covers roughly 36,000 turns (20 divided by 0.00055 is about 36,364).
A long document near the window limit
You paste 99,000 tokens of text and ask for a summary of about 1,000 tokens. That fills the 100,000-token window exactly.
- Input: 99,000 x 0.15 / 1,000,000 = $0.01485
- Output: 1,000 x 0.50 / 1,000,000 = $0.00050
- Total: $0.01535
So even a maximum-size prompt costs about a cent and a half.
An agent loop with growing context
An agent makes 50 calls in one task. Context grows as tool results pile up, and we assume an average of 30,000 input tokens and 800 output tokens per call.
- Input: 50 x 30,000 = 1,500,000 tokens, which is 1.5 x $0.15 = $0.225
- Output: 50 x 800 = 40,000 tokens, which is 0.04 x $0.50 = $0.020
- Total: $0.245
A small production feature
An app handles 1,000 requests a day, each with 1,500 input and 400 output tokens.
- Input: 1,000 x 1,500 = 1,500,000 tokens = $0.225
- Output: 1,000 x 400 = 400,000 tokens = $0.200
- Daily total: $0.425, so about $12.75 over a 30-day month
Top-ups, bonuses and what they add up to
You fund the account with prepaid credit. Any whole amount from $20 to $500 works, and larger top-ups carry a bonus: +5% from $50, +10% from $100 and +15% from $200.
| You pay | Bonus | Credit you get |
|---|---|---|
| $20 | none | $20.00 |
| $50 | +5% | $52.50 |
| $100 | +10% | $110.00 |
| $200 | +15% | $230.00 |
| $500 | +15% | $575.00 |
You can pay with crypto (USDT on TRC20, USDC on Base). Credit never expires, so a larger top-up for the bonus is not a gamble on using it quickly.
New accounts can also claim $0.50 of trial credit with one click on the API key page after sign-up. It needs no card, is limited to one per person and is valid for 7 days. At the chat-turn size above, $0.50 covers about 900 requests (0.50 divided by 0.00055 is 909), which is plenty to test a prototype.
Reading your balance from the API
Each response carries an X-Balance-USD header, so your app can watch the remaining credit without a separate call. With the OpenAI Python SDK you reach headers through the raw-response wrapper:
from openai import OpenAI
client = OpenAI(base_url="https://api.kimik2api.com/v1", api_key="YOUR_KEY")
raw = client.chat.completions.with_raw_response.create(
model="uncensored",
messages=[{"role": "user", "content": "Say hello in five words."}],
)
resp = raw.parse()
u = resp.usage
cost = u.prompt_tokens * 0.15 / 1e6 + u.completion_tokens * 0.50 / 1e6
print("balance:", raw.headers.get("X-Balance-USD"))
print("this call: $%.6f" % cost)
The same request in curl, with the headers printed:
curl -i https://api.kimik2api.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"uncensored","messages":[{"role":"user","content":"Hi"}]}'
Log the balance header on a schedule and alert yourself when it drops below a threshold. That is simpler than reconciling invoices, because there are none. The docs list the other response headers, including the rate-limit ones.
Failed requests, refusals and rate limits
Failed or refused requests are not charged. If a call returns an error, you keep your credit. A 429 response means you hit a limit: error code rate_limited for requests per minute, or concurrency for too many requests at once. A temporary overload also returns 429, with a Retry-After: 5 header.
| Key | Concurrent requests | Requests per minute |
|---|---|---|
| Full key | 8 | 300 |
| Trial key | 2 | 60 |
Retries after a 429 are free as long as the failed attempt is not billed, so a simple back-off loop does not add cost. Wait for the number of seconds in Retry-After when it is present, and add a small random delay when you run several workers.
Ways to keep the bill small
- Trim history. Input tokens repeat on every turn. A chat that resends 20 old messages each time pays for them 20 times. Summarise old turns into a short note.
- Cap the output when the task allows it. Setting
max_tokensstops a long ramble, and since output costs more per token, that is where the saving is. - Use stop sequences. If you only need a label or a field, a
stopstring ends generation early. - Ask for JSON where you parse the result. JSON mode (
response_format: {"type":"json_object"}) removes the chatty preamble you would throw away anyway. - Test on the trial credit first. Measure real token counts on your own prompts before projecting a month.
Prompts sent to the API are not used for training, which is a separate point from cost but part of the same question when you evaluate where your text goes. More detail is on the Kimi API overview page.
Comparing this price with other options
A per-token price only tells you part of the story. The model here is one open-weight model tuned to answer without content refusals for lawful adult use. If a task works on a different provider's model and never triggers a refusal, that model may suit you better, and you should check their current pricing and compare it on your own prompts. If your work keeps hitting refusals elsewhere, the cost of retries and rewrites belongs in the comparison, and here refused requests cost nothing.
The hard limit stays in place: no sexual content involving minors. Everything else about fit is something you can only learn by running your own test set, which the trial credit is for.
More guides
Questions and answers
How much does the API cost per million tokens?
Input is $0.15 per 1M tokens and output is $0.50 per 1M tokens. One million of each costs $0.65 in total.
Is there a subscription or monthly minimum?
No. You top up prepaid credit from $20 to $500 and spend it as you go. Credit never expires.
Do I pay for failed or refused requests?
No. Failed or refused requests are not charged.
Can I try it before paying?
Yes. After sign-up you can claim $0.50 of trial credit with one click on the API key page. It needs no card, is valid for 7 days and is limited to one per person.
Is this the official Kimi K2 API?
No. It is a hosted, OpenAI-compatible endpoint for one open-weight model, ID uncensored, run by an independent provider, so its pricing is its own.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.