Skip to content
youbot
Kimi K3 cover

Kimi K3 API

kimi-k3
Moonshot AICommercial use API verifiedText & reasoning

Frontier coding, native vision, and 1M-token agents from Moonshot AI.

by Moonshot AI

Get Your API Key
View as Markdown

Pricing: Input 239 credits / 1M tokens (≈ $2.39), Output 1,195 credits / 1M tokens (≈ $11.95).

Save up to 28%with the $1,250 top-up pack (+10% bonus) — 20% lower than direct rates even without itTop up

24H Status Monitor

Operational
24h agonow
Loading…

Affordable Kimi K3 API on you.bot

Access Moonshot AI's Kimi K3 through one unified API — same model, better rates, one integration.

Kimi K3 API pricing & guide (2026)

Frontier coding, native vision, and 1M-token agents from Moonshot AI. Through you.bot you call the Kimi K3 API by Moonshot AI on the same unified endpoint as every other model — one key, one integration.

On you.bot, the Kimi K3 API costs about $2.39 per 1M tokens — roughly 20% cheaper than the official Moonshot AI price of $3. You only pay for successful generations; failed tasks are never charged.

Billing is pay-as-you-go in credits (1 credit = $0.01 USD) — no subscription, no monthly minimum, and credits never expire. So Kimi K3 API pricing in 2026 is easy to predict: you pay per successful call and nothing for failures.

Core capabilities of the Kimi K3 API

Frontier reasoning

Strong reasoning, coding and writing delivered through a single endpoint.

Long context

Handle large inputs and multi-step tasks reliably and consistently.

Synchronous responses

Completions return instantly in the response — no polling required.

Kimi K3 API compared with the rest of its family

The same prices this page charges, side by side — so you can see what a version step costs before you switch.

ModelInput · 1M tokensOutput · 1M tokens
Kimi K3.1 Pro72 cr$0.720360 cr$3.60
Kimi K3this page239 cr$2.391,195 cr$11.95

How to access and deploy the Kimi K3 API on you.bot

Step 1

Get your API key

Create a key in the dashboard — one key works across every model on the platform.

Step 2

Call the Kimi K3 endpoint

POST your prompt and parameters to /api/v1/generate with your key in the Authorization header.

Step 3

Read the response

Completions are returned synchronously in the JSON response — no polling needed.

curl -X POST https://you.bot/api/v1/generate \
  -H "Authorization: Bearer sk-live-..." \
  -H "Content-Type: application/json" \
  -d '{
    "modelId": "kimi-k3",
    "input": { "prompt": "..." }
  }'

Kimi K3 API on you.bot vs going direct

Featureyou.botGoing direct
Price per 1M tokens$2.39$3
Failed-task billingFree (auto-refund)Charged
IntegrationOne unified APIPer-vendor SDKs
Credit expiryNeverVaries

4.9

Based on 1,200+ developer reviews

Why choose you.bot for the Kimi K3 API

20% cheaper

Lower rates than going direct to Moonshot AI — and you only pay for successful runs.

Production-grade reliability

Monitored availability with automatic credit refunds on failed jobs.

One API for everything

Swap models freely without touching your integration or juggling vendors.

FAQs about the Kimi K3 API

Kimi K3 is billed per 1M tokens at about $2.39 on you.bot — and you only pay for successful generations.

Moonshot AI

Kimi K3 API code example

POST/api/v1/generate

Frontier coding, native vision, and 1M-token agents from Moonshot AI.

Overview

Kimi K3 is a single synchronous call: POST /api/v1/generate and the generated text is returned inline in the response — no polling step.

Authentication

All requests require a Bearer Token in the header:

Authorization: Bearer YOUR_API_KEY

Request parameters

ParameterTypeRequiredDescription
modelIdstringYesModel id: `kimi-k3`
inputobjectYesInput parameters object (see below)

input object parameters

ParameterTypeRequiredDescription
promptstringYesText value · default: Refactor this into an iterative version and explain the trade-off: a recursive directory walk that returns every file path under a root, currently blowing the stack on deep trees. Give the rewritten function, then three sentences on what you gained, what you gave up, and the input size where the difference starts to matter.
reasoning_effortstringNoControl reasoning depth: Low for faster responses, High for deeper analysis (options: Low, Medium, High, XHigh) · default: High
max_tokensnumberNoMaximum response length. Kimi K3 supports a 1M-token context; leave empty for the default of 4096. (range 1–128000)
streambooleanNoTurn off to get a single non-streaming response. (true/false) · default: true
toolsarrayNoFunctions the model may call, up to 64. Each is { "type": "function", "function": { "name", "description", "parameters" } } with `parameters` a JSON Schema object (the flat Responses form and Anthropic's { "name", "description", "input_schema" } are accepted too); `strict: true` is not accepted on this model. When the model calls one, the response carries `toolCalls`: run the function, then send the conversation back in `messages` with the assistant's `tool_calls` and one { "role": "tool", "tool_call_id", "content" } message per result — and the same `tools` again. Function calling cannot be combined with web search in the same request.
tool_choicestring | objectNo`auto` (the model decides; the default when `tools` is set), `none` (no call), or `required` (at least one call). Other values are not available on this model and are refused before any charge.

Response

The result is returned inline in the POST /api/v1/generate response (no polling):

{ "model": "…", "text": "…", "creditsCharged": …, "usage": { … } }   // returned directly by /api/v1/generate

Error codes

CodeDescription
200Request successful
400Invalid request parameters
401Authentication failed — check API Key
402Insufficient account balance
403IP not allowed for this key, or the key is restricted to other models
404Task not found, or it has expired
409Duplicate request — an identical submit arrived moments ago. Nothing was charged; retry is safe
413Payload too large — see the character and file-size limits for this model
429Rate limit exceeded — retry after the Retry-After header
500Internal server error
504Upstream timed out — nothing was delivered; retry is safe
400 · capability_not_supportedA capability was requested (e.g. `web_search: true`) that this model does not offer — refused, nothing charged
400 · unknown_image_fieldImages were sent under a key this model has no parameter for (input_urls, image_urls, imageUrl …) — refused rather than answered without them
400 · image_input_not_supportedThis model accepts text only — a request with an image is refused, not answered without it
400 · tools_invalid`tools` is malformed (not an array, a non-function tool, a bad or repeated name, parameters that are not an object schema), or a conversation with function calls was sent without `tools` — refused, nothing charged
400 · tool_choice_invalid`tool_choice` is malformed, names a function that is not in `tools`, or forces a call while `tools` is empty — refused, nothing charged
400 · message_tool_call_invalidAn assistant `tool_calls` entry or a `tool` message is malformed, or a call and its result do not pair up (every call needs its own tool message right after it) — refused, nothing charged
400 · message_tool_block_unsupportedA `tool_use` or `tool_result` content block was sent; send calls as `tool_calls` and results as `tool` messages instead
Request
curl --location 'https://you.bot/api/v1/generate' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
    "modelId": "kimi-k3",
    "input": {
        "prompt": "Refactor this into an iterative version and explain the trade-off: a recursive directory walk that returns every file path under a root, currently blowing the stack on deep trees. Give the rewritten function, then three sentences on what you gained, what you gave up, and the input size where the difference starts to matter.",
        "reasoning_effort": "High",
        "max_tokens": 4096,
        "stream": false
    }
}'
Response
{
  "model": "kimi-k3",
  "text": "…",
  "creditsCharged": 0.48,
  "usage": {
    "inputTokens": 1400,
    "outputTokens": 120,
    "cachedInputTokens": 0,
    "cacheWriteTokens": 0
  }
}