EN ▾
Get API key

Kimi API Pricing and Our Pay-Per-Token Rates

If you searched for kimi api pricing, here is the short version for this service: $0.15 per 1M input tokens and $0.50 per 1M output tokens, paid from prepaid credit with no subscription. This page shows how to turn those two numbers into a monthly bill.

Updated

Isometric illustration of stacked coins feeding a stream of token cubes, representing pay-per-token API pricing

Key points

  • Input costs $0.15 per 1M tokens and output costs $0.50 per 1M tokens.
  • Top up any whole amount from $20 to $500, with +5% from $50, +10% from $100 and +15% from $200.
  • Failed or refused requests are not charged, and credit never expires.
  • This is not the official Moonshot Kimi API, so check that vendor's own page for its rates.

The rates at a glance

There is one model on this API, with the ID uncensored, and one price list. You pay for tokens going in and tokens coming out, and the two are priced separately because output costs more to produce.

ItemRate
Input tokens$0.15 per 1M
Output tokens$0.50 per 1M
Subscription or minimum spendNone, pay as you go
Failed or refused requestsNot charged
Credit expiryNever

The same numbers are on the pricing page. Everything below is arithmetic on top of them, so you can check any figure yourself.

Is this the official Kimi API?

No. This service is an independent hosted API that runs one open-weight model, tuned to answer without content refusals for lawful adult use. It is not the official API of Moonshot, Meta, Mistral, Qwen, DeepSeek, OpenAI or any other vendor, and it is not a router that forwards your request to those vendors.

That matters for the price question. If you want what the Kimi platform charges for its own models, read the rates on that vendor's website, because they change and I will not quote them from memory. What this page can tell you precisely is what you would pay here, and how the billing behaves. If you are weighing the two, the page on Kimi API key options compared covers the practical differences, such as where the key comes from and what the model will answer.

The one thing both approaches share is the interface. This API follows the OpenAI chat format, so moving a script over usually means changing the base URL, the key and the model name. The quickstart shows the exact lines.

How a single request is billed

Every response reports how many prompt tokens and completion tokens it used. Your cost is:

cost = prompt_tokens / 1_000_000 * 0.15 + completion_tokens / 1_000_000 * 0.50

Two details change how that plays out in practice.

  • The prompt includes everything you send. In a chat, each turn resends the system prompt and the earlier messages. A long conversation therefore costs more per turn than a short one, even if the new reply is short.
  • The context window is 100,000 tokens, prompt plus completion together. The completion can use whatever is left, and max_tokens is optional. A cap is still a good idea if you want to bound the cost of one reply.

You can watch spending live. Each response carries an X-Balance-USD header with the remaining balance, and streamed responses report usage at the end. Here is a small script that prints both, using the OpenAI Python SDK:

from openai import OpenAI

client = OpenAI(base_url="https://api.kimiapi.cc/v1", api_key="YOUR_KEY")

raw = client.chat.completions.with_raw_response.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Write a four-line poem about invoices."}],
)
resp = raw.parse()
u = resp.usage
cost = u.prompt_tokens / 1e6 * 0.15 + u.completion_tokens / 1e6 * 0.50
print("tokens in/out:", u.prompt_tokens, u.completion_tokens)
print("estimated cost: $%.6f" % cost)
print("balance left:", raw.headers.get("X-Balance-USD"))

Worked examples

Numbers in the abstract are hard to feel, so here are four typical workloads. Each one is computed from the two rates above.

A short chat message

A 2,000-token prompt and a 500-token reply: input is 2,000 / 1,000,000 x $0.15 = $0.00030, and output is 500 / 1,000,000 x $0.50 = $0.00025. The total is $0.00055. A thousand requests like that cost $0.55.

A long roleplay session

Say the history grows to 30,000 tokens and each reply is 400 tokens. One turn costs 30,000 / 1,000,000 x $0.15 = $0.0045 for input plus 400 / 1,000,000 x $0.50 = $0.0002 for output, so $0.0047. A hundred turns at that size come to $0.47. Most of the bill is the resent history, not the replies.

A document batch

You summarise 5,000 documents of 3,000 tokens each, with a 300-token summary per document. Input is 15M tokens, which is 15 x $0.15 = $2.25. Output is 1.5M tokens, which is 1.5 x $0.50 = $0.75. The whole run costs $3.00.

The largest possible request

A prompt that fills 100,000 tokens costs 100,000 / 1,000,000 x $0.15 = $0.015 on the input side. Add a 2,000-token answer for $0.001 and you pay $0.016. Even your biggest single call costs under two cents.

WorkloadInputOutputCost
One short chat request2,000500$0.00055
One long roleplay turn30,000400$0.0047
One summary in the batch3,000300$0.0006
Full-window request100,0002,000$0.016

Top-ups and bonuses

You fund the account with prepaid credit. Pick any whole amount from $20 to $500. Larger top-ups add a bonus on top of the amount you pay:

You payBonusCredit you get
$20 to $49noneSame as you pay
$50+5%$52.50
$100+10%$110.00
$200+15%$230.00
$500+15%$575.00

To see what a balance buys, divide by the rates. $20 covers 133.3M input tokens ($20 / $0.15 per 1M) or 40M output tokens ($20 / $0.50 per 1M). In the roleplay example above, $20 pays for roughly 4,250 turns ($20 / $0.0047).

You can pay with crypto (USDT on TRC20, USDC on Base). Credit does not expire, so a larger top-up with a bonus is simply cheaper per token if you expect to use it, and nothing is lost if you pause for a month.

Try it for free first

New users can claim $0.50 of trial credit with one click on the API key page after signing up. It needs no card, it is one per person, and it is valid for 7 days. Sign-up works with Google or with email and password. The API key page walks through it.

What $0.50 buys depends on your workload. At the short-chat size above, $0.50 / $0.00055 gives about 909 requests. At the long-roleplay size, $0.50 / $0.0047 gives about 106 turns. That is enough to judge whether the model's tone and style fit your project before you spend anything. Trial keys are limited to 2 concurrent requests and 60 requests per minute; full keys get 8 concurrent and 300 per minute.

Limits that affect cost planning

Cost and rate limits interact when you run batches. A full key allows 8 requests at once and 300 per minute. A streamed request holds its concurrency slot until the stream ends, so long streaming replies use up slots faster than short non-streamed ones.

If you go over, the API returns HTTP 429. The error code is rate_limited when you exceed requests per minute, and concurrency when too many requests are in flight. On temporary overload you also get a 429 with a Retry-After: 5 header. Since failed requests are not charged, retrying after a short wait costs nothing extra. A simple loop that sleeps for the Retry-After value, or backs off when it sees concurrency, is enough for a batch job.

The prompts you send are not used for training. The maximum request body is 8 MB, which is far more than a 100,000-token prompt needs.

When another provider is the better choice

Pay-per-token pricing is a fit if your usage is uneven, you want a model that does not refuse lawful adult requests, and you already speak the OpenAI format. It is a poorer fit in some cases. This API is text only, so if you need image or audio generation, embeddings or fine-tuning, you will need another service for those parts. If you need the specific hosted Kimi models, you should use that vendor directly and compare against their current pricing.

For everything else, the cheapest way to decide is to claim the trial credit, run your real prompts, and read the cost off the usage field. The pricing page has the current table if you want to double-check a figure before you top up.

Frequently Asked Questions

Is the Kimi API the same as our uncensored API?
No. Kimi API is provided by Moonshot AI. Our uncensored API is an independent service running a different open-weight model. Both are OpenAI-compatible, so you can switch between them easily.

How do I pay for the uncensored API?
We accept payment by crypto (USDT on TRC20, USDC on Base). You can top up from $20 to $500 in whole amounts. We do not accept PayPal or bank transfers.

Does the uncensored model filter adult content?
No, it does not refuse lawful adult, fictional, or controversial topics. The only hard limit is content involving minors, which is always refused.

What happens if I make a mistake with my payment?
Credit is prepaid and does not expire. If you experience a double charge or error, you can contact support via the Support page. The credit itself is not refunded, but issues are resolved through support.

Questions and answers

How much does this API cost per million tokens?

Input is $0.15 per 1M tokens and output is $0.50 per 1M tokens. There is no subscription and you pay from prepaid credit.

Is this the same as the official Kimi API pricing?

No. This is an independent service running one open-weight model, not the Moonshot Kimi API. For Kimi's own rates, check that vendor's current pricing page.

Do I pay for failed requests?

No. Failed or refused requests are not charged, and credit never expires.

What is the smallest top-up?

$20. You can add any whole amount up to $500, with +5% from $50, +10% from $100 and +15% from $200.

Can I try it without paying?

Yes. Claim $0.50 of trial credit with one click on the API key page after sign-up. It needs no card and is valid for 7 days.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Get API key