G
GEO Toolbox
kimi-aikimi-k3moonshot-aiapi-pricingllmpricingguide

Kimi API Pricing November 2026: Cost, Keys, and Limits

What the Kimi API costs in 2026: per-model pricing, the $1 minimum, rate-limit tiers, and the endpoint split that quietly returns a 401 on a valid key.

In this post12 sections

The Kimi API costs $2.00 per million input tokens and $10.00 per million output tokens on kimi-k3.1-pro, its newest flagship, drops to $0.95 and $4.00 on the coding model, and requires a $1 minimum top-up before it will answer a single request. There is no free tier.

Those numbers are easy to find and easy to get wrong. We asked five AI engines what the Kimi API costs. Three produced confident tables whose highest input quote sat 73% above the lowest, because they were reading resellers instead of Moonshot's own docs.

Everything below comes from the pricing pages themselves, checked October 18, 2026, with the model prices re-checked on October 24. Three things catch developers out: the endpoint split that returns a silent 401, the 429 that really means your balance is empty, and why prompt caching will not make the flagship as cheap as you are hoping.

How Much Does the Kimi API Cost?

Kimi K3.1 Pro, the current flagship, costs $2.00 per million input tokens and $10.00 per million output tokens, with cached input dropping to $0.20. Moonshot launched it on October 23, 2026, one third below the older kimi-k3's $3.00 and $15.00, and Moonshot's docs describe flat pay-as-you-go pricing with no tier by context length. Every model on the platform is billed in US dollars, and every price below comes from Moonshot's own pricing docs, checked directly.

The column most pricing roundups omit is the middle one. Moonshot charges a tenth of list for cached input on kimi-k3.1-pro and kimi-k3 (a twentieth on the Highspeed variant) and roughly a fifth to a sixth on the K2-line models. The legacy moonshot-v1 family got no cache discount at all before its retirement, so what you pay depends on your prompt repetition and on which model you picked.

Model IDInput (cache miss)Input (cache hit)OutputContextStatus
kimi-k3.1-pro-highspeed$4.00$0.20$20.001,048,576Faster variant
kimi-k3.1-pro$2.00$0.20$10.001,048,576Current flagship
kimi-k3$3.00$0.30$15.001,048,576Previous generation
kimi-k2.7-code-highspeed$1.90$0.38$8.00262,144Faster variant
kimi-k2.7-code$0.95$0.19$4.00262,144Coding workhorse
kimi-k2.6$0.95$0.16$4.00262,144General purpose
kimi-k2.5$0.60$0.10$3.00262,144Retired Aug 2026 (404)
moonshot-v1-128k$2.00None$5.00131,072Retired Aug 2026 (404)
moonshot-v1-32k$1.00None$3.0032,768Retired Aug 2026 (404)
moonshot-v1-8k$0.20None$2.008,192Retired Aug 2026 (404)

Prices are per million tokens and exclude tax, which Moonshot calculates at checkout based on your jurisdiction. The last four rows are kept for reference only: kimi-k2.5 and the moonshot-v1 family were retired in August 2026 and calls to them now return a 404. You cannot buy those rates today.

The K3-series rows and the legacy rows deserve a closer look.

The first is the K3 series. Kimi built its reputation as the cheap open-weight option, and K3 broke that. K3.1 Pro's $10.00 per million output tokens is 2.5 times what kimi-k2.7-code charges, and the older K3's $15.00 is 3.75 times, which puts both in the same conversation as the frontier models they were built to compete with rather than the budget tier developers came to Kimi for.

The second is the legacy row, and it is now a cautionary tale rather than a live trap. Until August 2026 the moonshot-v1 family was still on sale at rates that made no sense: moonshot-v1-128k cost more per input token than kimi-k2.6 while giving you half the context and no cache discount at all. Anyone running a 2025 integration that nobody had revisited was paying more for less, right up until the model string stopped resolving. Both families were retired together, so an unmaintained integration did not quietly overpay, it broke.

K3.1 Pro is a post-trained version of Kimi K3, according to Moonshot's launch post, and Moonshot promised the full model weights by Nov 4, 2026. They were not on Hugging Face when we checked on October 24; as of November 6, 2026 they are there as moonshotai/Kimi-K3.1-Pro under a custom Kimi K3.1 Pro License. If you want the full picture on what K3 actually is before deciding whether the flagship rate is justified, our Kimi K3 explainer covers the specs, the benchmarks worth trusting, and whether you can realistically self-host it.

Is There a Free Kimi API Tier?

No. You need to put money in before the API will answer you at all, and the minimum is $1. There is no permanent free tier and no trial credit.

This is the most common misconception about Kimi, and the search data shows it: most questions Google surfaces about the Kimi API are some version of "is it free?" The confusion is understandable, because the consumer Kimi app at kimi.com does have a free tier, and its paid plans are metered in credits rather than tokens. We cover that side separately in our Kimi pricing guide. The API is a separate product with separate billing.

A top-up buys access and a rung on the rate-limit ladder. Recharge amounts are non-refundable, so treat the first payment as a commitment rather than a trial. Top up $5 cumulatively and Moonshot issues a $5 voucher, the closest thing to free credit on offer. Since September 2026, usage is drawn half from cash and half from vouchers. One catch before you plan around it: vouchers do not count toward tier progression. Only real money moves you up.

Moonshot ran a time-limited top-up rebate around the K3 launch in summer 2026. Its dedicated promo page has since been taken down (we captured it on July 18, 2026), so we can no longer re-verify the terms: do not plan around a repeat, and rely on the standing $5 voucher above.

How to Get a Kimi API Key

Create an account on Moonshot's developer platform, top up at least $1, and generate a key from the console. The steps take about five minutes. Picking the right platform to do them on is what costs people an afternoon.

Moonshot runs more than one API surface, and a key issued on one will not authenticate against another. The failure is silent: you get a bare 401 with no hint that the key itself is valid and simply pointed at the wrong door. It is a common enough mistake to show up repeatedly in integration issue trackers.

What you haveBase URLPlatformHow it bills
Key from platform.kimi.aihttps://api.moonshot.ai/v1Developer Platform (international)Per token, from a prepaid balance
Key from platform.moonshot.cnhttps://api.moonshot.cn/v1Developer Platform (China)Per token, separate balance
Key from the Kimi Code consolehttps://api.kimi.ai/coding/v1Kimi Code (international)Subscription; rolling 5-hour usage limit
Table mapping each Kimi key source to its base URL and billing model: platform.kimi.ai to api.moonshot.ai, platform.moonshot.cn to api.moonshot.cn, and Kimi Code console keys to api.kimi.ai/coding/v1 for international accounts.
Keys are not interchangeable across these API hosts. Mixing them returns a bare 401 with no explanation.

The international and China platforms hold separate balances. Money you top up on one is not spendable on the other, and the accounts do not sync. Pick the one that matches where you are billing from and keep every key, environment variable, and base URL on that side of the line.

Kimi Code looks like a cheaper way to buy the same access. It is a different product: a subscription with its own keys and its own rolling 5-hour usage limit, aimed at coding agents instead of metered calls. It is also what the Kimi CLI logs into by default, though the CLI's kimi provider also accepts a metered platform key. A Kimi Code subscription issues its own keys, and its documentation covers both OpenAI and Anthropic protocol formats. The metered platform API speaks OpenAI Chat Completions, the Responses API and the Anthropic-compatible Messages API, so a 401 means the wrong key for that host, not the wrong format. Kimi's China site uses api.kimi.com; international accounts use api.kimi.ai.

Once you are on the right platform the rest is ordinary. The API is OpenAI-SDK compatible, so pointing an existing client at the base URL and swapping the model string is usually the whole integration:

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["MOONSHOT_API_KEY"],
    base_url="https://api.moonshot.ai/v1",
)
resp = client.chat.completions.create(
    model="kimi-k3.1-pro",
    messages=[{"role": "user", "content": "Hello"}],
)

Moonshot's platform docs use MOONSHOT_API_KEY (the Kimi Code CLI reads KIMI_API_KEY), and the host is api.moonshot.ai, not api.kimi.ai. The docs moved to Kimi branding; the SDK surface did not.

Note: A paid subscription to the consumer Kimi app does not include metered API credits. Moonshot bills the API Open Platform separately from the Kimi app and Kimi Code.

Rate Limits and the Tier System

Your rate limits are set by how much you have topped up in total, not by what you spend per month. Moonshot runs six tiers keyed to cumulative recharge, and the first step up is the one that matters.

TierCumulative top-upConcurrencyRequests per minuteTokens per minute
Tier 0$113500,000
Tier 1$10151002,000,000
Tier 2$20401003,000,000
Tier 3$100502003,000,000
Tier 4$1,000602004,000,000
Tier 5$3,0001003005,000,000

Going from Tier 0 to Tier 1 costs $9 and buys 15 times the concurrency. If you are evaluating Kimi with a $1 balance and concluding it is too slow for real work, you are measuring the entry tier, not the API. Tier 0 also carries the only daily token cap in the system, at 1.5 million tokens per day; every tier above it is uncapped on that axis. The tokens-per-minute ceilings above are also a published maximum rather than a guarantee: Moonshot notes that temporary adjustments may occur when cluster demand is high.

One detail catches people out: Moonshot enforces limits at the organization level, so minting a second key to work around throttling does nothing.

The 429 That Means Your Balance Is Empty

A dead Kimi integration and a throttled one can return the same status code. Moonshot's troubleshooting guide now separates them by error.type: rate_limit_reached_error for an organization-level concurrency, RPM, TPM or TPD limit, and exceeded_current_quota_error for insufficient balance, an overdue account or an expired voucher. A retry layer that keys off the status code alone still treats a terminal billing condition as a transient one and backs off until it exhausts its attempts.

The openclaw project logged exactly this, filing it as "Kimi/Moonshot 'Rate Limit' error masks insufficient funds, causes UI lockout." It has since been fixed on their side, in a patch that classifies a Moonshot balance 429 as a billing failure rather than throttling. That fix lives in openclaw, though, so any tool that has not special-cased the billing 429 will keep spinning.

The fix is one call on the error path. On a 429, read error.type, or check your balance, before you back off:

import os, time, httpx

api_key = os.environ["MOONSHOT_API_KEY"]

class BillingError(RuntimeError):
    pass

def handle_429(response: httpx.Response) -> None:
    """Illustrative error-path logic. A production policy still needs
    jitter, retry limits, and a cached balance result."""
    if response.status_code != 429:
        return
    try:
        r = httpx.get(
            "https://api.moonshot.ai/v1/users/me/balance",
            headers={"Authorization": f"Bearer {api_key}"},
            timeout=5,
        )
        r.raise_for_status()
        balance = float(r.json()["data"]["available_balance"])
    except (httpx.HTTPError, KeyError, TypeError, ValueError):
        time.sleep(1)   # balance check failed; treat as retryable
        return
    if balance <= 0:
        raise BillingError("Kimi balance exhausted, not rate limited")
    time.sleep(1)

Cache that result rather than calling it on every 429, or a retry storm will add one request per failure to an account that is already refusing them.

Moonshot exposes a balance endpoint precisely so you can make this distinction. One call on the error path separates "wait and try again" from "nothing you do will help until someone tops up the account," which is the difference between a slow job and a dead one nobody notices. That check only fires after a call has already failed, so also use what Moonshot now documents: balance alerts, automatic balance top-up, and a project daily spending limit that rejects requests once it is reached, with about ten minutes of billing latency.

What the Bill Looks Like

Most Kimi API pricing coverage quotes the cache discount and stops there. That misses the distinction that matters: caching changes your bill a lot, and barely changes which model is cheaper.

Here is why. Cache discounts apply to input tokens only. Output tokens are never cached, they are billed at full rate every time, and K3.1 Pro's output rate is 2.5 times kimi-k2.7-code's (K3's is 3.75 times). So as your cache hit rate improves, input costs shrink toward nothing and output becomes almost the entire invoice, which is exactly the part where the K3 models are most expensive.

Take a workload of 1 million input and 100,000 output tokens per day, a 10:1 input-to-output ratio, and run it at no caching and at an 85% hit rate. The ratio matters: agentic coding runs output-heavier, which sharpens the conclusion below, while heavy summarization runs input-heavier and softens it.

ModelCache hit rateInputOutputDaily totalOutput share
kimi-k3.1-pro0%$2.000$1.000$3.00033%
kimi-k3.1-pro85%$0.470$1.000$1.47068%
kimi-k30%$3.000$1.500$4.50033%
kimi-k385%$0.705$1.500$2.20568%
kimi-k2.7-code0%$0.950$0.400$1.35030%
kimi-k2.7-code85%$0.304$0.400$0.70457%
Line chart of daily Kimi API cost against prompt-cache hit rate for the previous-generation kimi-k3. The kimi-k3 line falls from about $4.50 at a 0% hit rate to $2.21 at 85%, and the kimi-k2.7-code line from about $1.35 to $0.70, so the ratio between them barely moves even as both lines fall.
The previous-generation kimi-k3 against kimi-k2.7-code. Caching cuts both bills by about half and barely moves the ratio between the two models, because output tokens are never cached.

Caching cuts the K3.1 Pro and K3 bills by 51% each and the k2.7-code bill by 48%. It moves K3.1 Pro's ratio to k2.7-code from 2.22x to 2.09x, and K3's, the one the chart plots, from 3.33x to 3.13x. One caveat on that 85%: Moonshot's caching guide documents a 5-minute default TTL and bills cache writes separately, at $2.00 per million tokens, or $4.00 for a 1-hour TTL on K3.1 Pro ($3.00 and $6.00 on K3); treat your hit rate as an outcome you measure. If you picked a K3 model expecting aggressive prompt caching to bring it near the coding model's price, it does not, and no achievable hit rate will. The lever works on the shrinking half of the invoice.

Batch and web search change the math.

Batch inference is 40% off. Moonshot prices batch jobs at 60% of standard rates, a flat 40% off every batched token. Per its changelog, the Batch API has covered kimi-k3.1-pro and kimi-k3 since October 2026, in addition to kimi-k2.7-code and kimi-k2.6 (it also listed kimi-k2.5 until that model was retired in August 2026). Batch jobs on the K3 models are also charged cache-write fees, and cache hits on any batch job are best-effort rather than guaranteed. Batch jobs are also exempt from the real-time concurrency limits above, which matters more than the discount if you are sitting at Tier 0 with a single concurrent request. The K2 models in that table are the ones Moonshot plans to retire by the end of December 2026, so do not build a long-lived pipeline on them.

Web search is billed per call. The legacy $web_search tool was billed at $0.005 per call on top of tokens, and the search results it injects are billed as input on the following call, which on the K3 series routinely costs more than the call fee itself. Moonshot's current WebSearch pricing page no longer lists it; server-side search now bills at $0.005 per call through the Responses API web_search tool or the Formula API web-search tool. The REST endpoints are billed only on success: $0.002 per call for /v1/tools/search, $0.003 for /v1/tools/search_pro and $0.002 for /v1/tools/fetch.

None of this is unique to Kimi. The same trap catches teams running frontier models anywhere, which is why we wrote about how token costs add up in agentic workflows, and why the comparison to run is against Gemini API pricing on your own traffic shape, not on a list price.

Direct, OpenRouter, or Kimi Code?

Moonshot sells the same weights through resellers, and the arbitrage runs in an unintuitive direction. Buying direct is not automatically cheapest.

RouteBest forHow it pricesWatch for
Moonshot directK3.1 Pro, production workloads, batch jobsPer token, prepaid balanceWeChat Pay and Alipay only for individuals
OpenRouterMulti-provider fallback, card paymentPer token, pass-through plus marginMoonshot's own K3 endpoint matches direct; 26 K3 endpoints range from $0.25 to $4.50 input
Kimi CodeCoding agents, predictable monthly spendSubscription, rolling 5-hour limitShares the membership credit pool; separate keys and limits

Before the sunset, OpenRouter listed kimi-k2.5 at $0.375 input and $2.025 output per million tokens against Moonshot's own $0.60 and $3.00 for the same model: 37.5% cheaper on input and 32.5% cheaper on output, through a reseller. On K3 as of October 18, OpenRouter's Moonshot endpoint sat at parity, $3.00 and $15.00, while other hosts ranged from $0.25 to $4.50 input, so route economics depend on the host.

That gap is now history rather than an opportunity. K2.5 was retired in August 2026, and Moonshot's model list confirms that calls to kimi-k2.5 and the moonshot-v1 series return a 404. Any reseller listing that survived the sunset is a stale catalogue entry, not a live route. The nearest replacement, kimi-k2.7-code, moves cache-miss input from $0.60 to $0.95. The general lesson stands even though this particular arbitrage is gone: check reseller pricing against the vendor's own rate before assuming first-party wins, and check the model is still alive before either.

Payment method may decide this for you regardless. Moonshot documents WeChat Pay and Alipay for individual accounts and never mentions cards. Invoices are issued by Beijing Moonshot AI Technology Co., Ltd. with 6% Chinese VAT, which sits awkwardly beside the pricing pages' statement that tax is calculated at checkout by your own jurisdiction. The docs do not reconcile the two, so budget for either. Payment options reportedly vary by region, though no blocked country is named. Verify you can pay before designing around direct access.

Model IDs Keep Dying

Fifteen model IDs have been retired since November 2025, and there is no stable alias to hide behind. For anything with a maintenance window longer than a quarter, that is a bigger operational risk than the price.

The model list records the pattern. kimi-thinking-preview was discontinued in November 2025. kimi-latest went in January 2026. The entire kimi-k2 series was discontinued on May 25, 2026. kimi-k2.5 and the whole moonshot-v1 family, including three -vision-preview variants, came off in August 2026. Next on the list is the current K2 series (K2.7 Code, K2.7 Code Highspeed and K2.6): per Moonshot's pricing page and model list, it has been closed to newly registered users since the end of October 2026 (users registered before November 1 keep access), and Moonshot says it plans to retire all K2 series models by the end of December 2026. That is a plan, not a date to schedule around, but it puts the coding workhorse on a short clock.

Note what kimi-latest was. It was the floating alias, the one string you would pin precisely so you never had to think about this. Moonshot killed it, which means the documented advice is now to pin an explicit version like kimi-k3.1-pro and accept that the explicit version will itself be retired on a timeline you do not control.

The practical consequence shows up in the tutorials. Every model string a 2025 guide could have used, kimi-latest, the k2 series, kimi-thinking-preview, is now dead. Those guides still read as authoritative, because nothing about a dead model ID looks stale until you call it. If you are copying setup code from a blog post, check the model string against the live model list first.

For anyone budgeting: assume a migration every two quarters, pin explicit IDs, and keep the model name in configuration rather than scattered through your codebase.

What Kimi's Pricing Says About AI Visibility

The five-engine test from the top of this piece is worth reopening, because the interesting part is why the numbers diverged. Only one of those three tables matched Moonshot's published rate.

The two that avoided a wrong number did it by declining to produce a table. One had grounded its search on Moonshot's developer forum instead of a pricing aggregator. Confidence and accuracy ran in opposite directions.

Five queries is an anecdote, not a benchmark. The direction is what matters, and the reason for it shows up in the citation data. Sampling AI-engine citations for "kimi api" through DataForSEO's LLM-mentions data on July 18, 2026, huggingface.co (65 mentions) and openrouter.ai (63) each outranked platform.kimi.ai (57), Moonshot's own documentation. Only one pricing page appeared among the most-cited results, and it was an aggregator running four-month-old numbers.

So the engines were not hallucinating in the usual sense. They faithfully reported what their sources said, and their sources were resellers and aggregators carrying stale figures. Moonshot publishes correct prices on a well-structured docs site. The engines largely are not reading it.

Publishing accurate information is not the same as being the source engines read, and Moonshot is the example. When third parties out-rank you as a citable source for your own facts, the answer machines quote the third parties, and wrong numbers circulate with your brand attached to them.

You cannot fix a citation gap you have not found. This is the failure mode geotoolbox measures: which sources engines pull from when they describe you, and where an aggregator has quietly become canonical for your own numbers. Reachability is the first thing to rule out, because a page the crawlers cannot fetch can never be the cited one, and our AI readiness tool checks that in seconds.

What the Kimi API Really Costs You

The sticker price is the smallest part of this. A working integration costs $1 to start, and $10 in cumulative top-ups lifts the account from Tier 0's evaluation limits to Tier 1's. From there the bill is set by which model you pinned and how much output you generate, because output is the part no cache discount touches.

The costs that hurt are the ones that are not on the pricing page. A key pointed at the wrong platform. A retry loop backing off against a terminal billing error. A model string that dies on a retirement date and takes your integration with it. Budget for a migration every couple of quarters and pin explicit versions, and Kimi is a genuinely cheap way to run coding and agent work. Treat it as set-and-forget and it will surprise you twice, once on the invoice and once at three in the morning.

Frequently Asked Questions

Is the Kimi API free?

No. A minimum $1 top-up is required before the API will return anything, and there is no permanent free tier. Topping up $5 cumulatively earns a $5 voucher, but vouchers do not count toward rate-limit tier progression. The free tier people are thinking of belongs to the consumer Kimi app, which is a separate product from the API.

How do I get a Kimi API key?

Register on Moonshot's developer platform at platform.kimi.ai, top up at least $1, and create a key in the console, then point your client at api.moonshot.ai/v1. Kimi Code keys are separate and work against a different host.

Does a Kimi subscription include API credits?

Not for the metered API. Moonshot bills the API Open Platform separately from the Kimi app and Kimi Code. Kimi Code subscribers do receive their own keys, but those run against a rolling 5-hour usage limit and the membership's shared credit pool, not a token balance. Community threads sometimes claim subscriptions grant matching API credit; Moonshot's documentation does not support that.

Which Kimi model should I use?

For coding and agent work, kimi-k2.7-code at $0.95 input and $4.00 output is still the cheapest pick, but it is a K2 model: Moonshot has closed it to newly registered accounts since the end of October 2026 and plans to retire the series by the end of December. Choose kimi-k3.1-pro at $2.00 and $10.00 when you specifically need the million-token context window or its stronger reasoning, and price it accordingly, because it costs roughly 2.2 times as much on the workload above. The older kimi-k3 costs 50% more than K3.1 Pro on input, output and cache hits. The legacy moonshot-v1 family is no longer an option at all: it was retired in August 2026 alongside kimi-k2.5, and calls to it now return a 404.

Sources

  • Model Inference Pricing - Moonshot AI developer docs, accessed October 24, 2026 - platform.kimi.ai/docs/pricing/chat
  • Kimi K3.1 Pro launch post - Moonshot AI, accessed October 24, 2026 - kimi.ai/blog/kimi-k3-1-pro
  • Kimi K3.1 Pro quickstart - Moonshot AI developer docs, accessed October 24, 2026 - platform.kimi.ai/docs/guide/kimi-k3-1-pro-quickstart
  • Moonshot AI organization page - Hugging Face, accessed October 24, 2026 - huggingface.co/moonshotai
  • Recharge and Rate Limiting - Moonshot AI developer docs, accessed October 18, 2026 - platform.kimi.ai/docs/pricing/limits
  • BatchJob Pricing - Moonshot AI developer docs, accessed November 7, 2026 - platform.kimi.ai/docs/pricing/batch
  • Kimi K3 launch top-up rebate (dedicated page since taken down) - Moonshot AI developer docs, as captured July 18, 2026 - platform.kimi.ai/docs/pricing/promotion
  • WebSearch Pricing - Moonshot AI developer docs, accessed October 18, 2026 - platform.kimi.ai/docs/pricing/websearch
  • Troubleshooting and context caching guides - Moonshot AI developer docs, accessed October 18, 2026 - platform.kimi.ai/docs/guide/troubleshooting
  • Model List and Deprecation Schedule - Moonshot AI developer docs, accessed October 18, 2026 - platform.kimi.ai/docs/models
  • Kimi K3 model page - OpenRouter, accessed October 18, 2026 - openrouter.ai/moonshotai/kimi-k3
  • Kimi K2.5 model page - OpenRouter, accessed July 18, 2026 - openrouter.ai/moonshotai/kimi-k2.5
  • Kimi/Moonshot "Rate Limit" error masks insufficient funds - openclaw issue #43447, accessed July 18, 2026 - github.com/openclaw/openclaw/issues/43447
  • Account and Billing - Moonshot AI developer docs, accessed October 18, 2026 - platform.kimi.ai/docs/guide/account-and-payments
  • Kimi Code membership page and documentation - Moonshot AI, accessed October 18, 2026 - kimi.com/code/docs/en/kimi-code/membership.html

Keep reading