Try Kimi at kimi.com →

Kimi API Token Pricing

The Kimi API charges by the token, a small piece of text. But not every token costs the same: reading, writing, cached text and batch jobs all have their own price. This page explains each kind of token, lists what it costs on every Kimi model, and helps you count tokens and check a bill.

Plain-English guideToken estimator
Text is split into tokens Kimiisahelpfulassistant. 7 tokens · 28 characters · about 4 characters each Read (input)$0.95per million tokens Written (output)$4.00per million tokens Kimi K2.6 prices. Output costs about 4×

An illustration. Kimi's real tokenizer may split this sentence differently.

We are an independent guide, not Moonshot AI. Prices are from Moonshot's pricing page, in US dollars before tax, and can change. For what whole tasks cost, see Kimi API cost.
CHEAT SHEET

The key facts

ONE TOKEN
About 3 to 4 characters of English
CHEAPEST INPUT
$0.95 per million, Kimi K2.6 and K2.7 Code
OUTPUT
$4.00 to $15.00 per million, about 4 to 5× input
CACHED INPUT
80% to 90% cheaper, applied automatically
BATCH
40% off, Kimi K2.6 and K2.7 Code only
EXACT COUNT
Moonshot's Token Calculation API

From Moonshot's model pricing page and API reference, read on 8 October 2026.

BASICS

What a token is

A token is a small piece of text: a short word, part of a longer word, a space or a punctuation mark. Kimi reads and writes text as tokens, and Moonshot bills by counting them.

Tokenization turns text into small pieces.

The split above is an illustration. Kimi's tokenizer may split the same text differently.

KINDS

Five kinds of token

Input

Everything you send: instructions, the conversation, documents and search results.

Cached input

Input that starts the same as a recent request. Billed at a much lower rate, automatically.

Cache write

Kimi K3 only: a charge the first time text is saved to the cache.

Output

Everything the model writes. Kimi K3 and K2.7 Code also think first, and that thinking is written text too.

Batch

Input and output in batch jobs, which wait and return later at a lower price.

Files

Extracting text from files is free for now, but the text is billed as input when sent to a model.

PRICES

Token prices by model

ModelInputCached inputCache write
5 min / 1 hour
OutputContext, tokens
kimi-k3$3.00$0.30$3.00 / $6.00$15.001,048,576
kimi-k2.7-code$0.95$0.19-$4.00262,144
kimi-k2.7-code-highspeed$1.90$0.38-$8.00262,144
kimi-k2.6$0.95$0.16-$4.00262,144

On a small screen, swipe the table sideways to see every column.

US dollars per million tokens, before tax. On Kimi K3 the 5-minute cache is used unless you choose 1 hour, and each cache hit refreshes the timer at no extra charge. From Moonshot's model pricing page.

SMALL NUMBERS

Price of one token, and of 1,000

Model1 input token1 output token1,000 input1,000 output
kimi-k3$0.00000300$0.000015$0.00300$0.015
kimi-k2.7-code$0.00000095$0.000004$0.00095$0.004
kimi-k2.7-code-highspeed$0.00000190$0.000008$0.00190$0.008
kimi-k2.6$0.00000095$0.000004$0.00095$0.004

On a small screen, swipe the table sideways to see every column.

Worked out from the per-million prices above. Moonshot does not say how it rounds very small charges.

BATCH

Batch token prices

ModelInputCached inputOutput
kimi-k2.7-code$0.57$0.114$2.40
kimi-k2.6$0.57$0.100$2.40

On a small screen, swipe the table sideways to see every column.

Per million tokens, 60% of the standard price. Batch prices are listed only for these two models. From Moonshot's batch pricing.

ESTIMATOR

Token estimator

Runs in your browser and does not send what you type to us. The box is marked to be hidden from the analytics tools this site uses.

Characters0
Words0
Estimated tokens0
Range0
ModelIf Kimi reads itIf Kimi writes it

A rough estimate using Moonshot's 3 to 4 characters per token for English; the middle figure uses 3.5. For other languages and code, use the exact counter below.

CHECK

Check a bill from usage

Every response includes a usage section that counts the tokens. Moonshot says cached, cache-written and uncached input add up to prompt_tokens.

json · usage in a response
"usage": {
  "prompt_tokens": 12000,
  "completion_tokens": 800,
  "total_tokens": 12800,
  "prompt_tokens_details": {
    "cached_tokens": 9000,
    "cache_write_tokens": 0
  }
}
  • prompt_tokens: all input.
  • cached_tokens: the part read from the cache, at the cheaper rate.
  • cache_write_tokens: the part saved to the cache (Kimi K3).
  • completion_tokens: everything written, billed as output.
  • Streaming? Set stream_options.include_usage to get usage in the last chunk.

Type the numbers from a response to see what it cost:

Input cost$0
Output cost$0
This request$0

Standard prices before tax. Cache write is charged at Kimi K3's 5-minute rate.

EXACT

Get an exact count

Moonshot's Token Calculation API counts the tokens in a request before you send it, including images and video. It returns the total in data.total_tokens.

curl · estimate token count
curl https://api.moonshot.ai/v1/tokenizers/estimate-token-count \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $MOONSHOT_API_KEY" \
  -d '{
    "model": "kimi-k2.6",
    "messages": [{"role": "user", "content": "How many tokens is this?"}]
  }'

From Moonshot's API reference. We have not run this request against the live API. Keys and setup: Kimi API setup.

SAVE

Use fewer tokens

  1. 1

    Cap the output

    Output costs most. Set max_completion_tokens and ask for short answers.

  2. 2

    Reuse the start

    Keep fixed instructions identical and first, so they are cached.

  3. 3

    Send only what matters

    Trim old messages and send the relevant part of a document.

  4. 4

    Think less on easy jobs

    Low reasoning effort on Kimi K3, thinking off on Kimi K2.6.

FAQ

Token pricing questions

On Kimi K2.6, one input token costs $0.00000095 and one output token $0.000004. On Kimi K3, an input token costs $0.000003 and an output token $0.000015. Prices are set per million tokens and exclude tax.

Moonshot says that for typical English text, 1 token is roughly 3 to 4 characters. Other languages, code and unusual text can differ. For an exact count, use Moonshot's Token Calculation API.

Writing text takes more computing work than reading it. On Kimi models, output costs about 4 to 5 times as much as input per token.

Input that starts the same way as a recent request is served from a cache and billed at a much lower rate, 80% to 90% cheaper. Moonshot does this automatically. The usage data in each response shows how many tokens were cached.

On Kimi K3 only, saving text to the cache the first time costs $3.00 per million tokens for a 5-minute cache or $6.00 for a 1-hour cache. Later reads cost $0.30 per million. Moonshot lists no cache write charge for the other models.

Call Moonshot's POST /v1/tokenizers/estimate-token-count endpoint with the model and messages. It returns data.total_tokens. The estimator on this page gives a rough figure without an API key.
NEXT

Related guides

Check live token prices

Prices and your token usage are on Moonshot AI's own platform. We are an independent guide.