Kimi K3 API

Kimi K3 is Moonshot's flagship reasoning model with a 1M token context, always-on thinking, native web search, and text, image, and video inputs.

Moonshot AIText Generation1M contextReleased Jul 15, 2026InternationalProprietary EndpointNew

About Kimi K3

Kimi K3 is Moonshot's flagship reasoning model with a 1M token context, always-on thinking, native web search, and text, image, and video inputs.

Supports text, image, and video inputs, function calling, JSON schema structured output, and built-in web search billed at $0.015 per invoked call. Thinking is always on with a tunable reasoning_effort control (max recommended); reasoning tokens are billed as output tokens. Temperature and other sampling overrides are fixed by the model service. Multi-step function calling must replay the assistant message with its reasoning_content field intact. Explicit cache controls, batches, and fine-tuning are not supported.

Also known as Moonshot AI Kimi K3, Kimi-K3

reasoningfunction callingmultimodalagentic codingweb search

Kimi K3 specs

Model ID
kimi-k3
Provider
Moonshot AI
Category
Text Generation
Released
Jul 15, 2026
Context window
1M tokens
Max output
131,072 tokens
Input
TextImageVideo
Output
Text
Structured output
JSON Schema
Region
International
Endpoints
POST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/kimi-k3:generateContent
Alternate model IDs
moonshotai/kimi-k3

Kimi K3 API pricing

Live pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.

Type
Spec
Rate
Input
per 1M prompt tokens
$3.00
Output
per 1M generated tokens
$15.00
Web search
per call when invoked
$0.015
Compare on the full pricing page

How to call the Kimi K3 API

Kimi K3 serves the OpenAI-compatible Chat Completions API. Point any OpenAI SDK at https://api.empiriolabs.ai/v1 with your EmpirioLabs API key and use the model id kimi-k3. Get an API key from the EmpirioLabs dashboard.

cURL
curl https://api.empiriolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k3",
    "messages": [
      {"role": "user", "content": "Write a haiku about the ocean."}
    ]
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(
    base_url="https://api.empiriolabs.ai/v1",
    api_key="YOUR_EMPIRIOLABS_API_KEY",
)

response = client.chat.completions.create(
    model="kimi-k3",
    messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)
Full Kimi K3 API reference

Kimi K3 API parameters

Request parameters supported by the Kimi K3 API on EmpirioLabs. Defaults apply when a field is omitted.

ParameterTypeDefaultRange / valuesDescription
max_tokensnumber327681 to 1048576Maximum output tokens. Reasoning tokens count toward this limit.
stopstring--Up to 4 strings where the model will stop generating further tokens.
reasoning_effortenummaxlow, medium, high, maxKimi K3 reasoning effort. Thinking is always on. Higher effort spends more reasoning tokens before answering. Max is recommended and the default.
tool_web_searchbooleanfalse-Search the web for real-time information. Adds $0.015 to the request cost for each invoked web search call.
response_formatenum--Constrain the output to JSON. Use JSON mode for any valid JSON object, or JSON schema to force output that matches a schema you provide.

Good to know

Supports text, image, and video inputs with a 1M token context, function calling, JSON schema structured output, and built-in web search at $0.015 per invoked call. Thinking is always on; reasoning depth is tunable with the reasoning_effort control (max is recommended) and reasoning tokens are billed as output tokens. Temperature and other sampling settings are fixed by the model service. Multi-step function calling through the API must replay the assistant message with its reasoning_content field intact.

Per-tool billing (usage.tool_usage)

When this model invokes built-in tools inside a single request, the response carries a normalized usage.tool_usage map alongside the token counts. Tool counts are already factored into cost_usd and are surfaced for transparency.

Kimi K3 API: common questions

How much does the Kimi K3 API cost?

On EmpirioLabs, Kimi K3 is billed pay as you go: Input $3.00 per 1M prompt tokens; Output $15.00 per 1M generated tokens; Web search $0.015 per call when invoked. The live rate card on this page always matches what the API charges.

What is the context window of Kimi K3?

Kimi K3 supports a 1M-token context window with up to 131,072 output tokens per response.

Is the Kimi K3 API OpenAI-compatible?

Yes. Kimi K3 serves the OpenAI-compatible Chat Completions API, so existing OpenAI SDKs work by pointing base_url at https://api.empiriolabs.ai/v1 and setting the model id to kimi-k3.

Can I try Kimi K3 in the browser before integrating?

Yes. The EmpirioLabs playground runs Kimi K3 in the browser with the same parameters the API exposes, so you can test prompts before writing code.

How do I get a Kimi K3 API key?

Create an EmpirioLabs account, then generate a key under API Keys in the dashboard. Billing is pay-as-you-go credits, so you only pay for the requests you make.

Ready to use better endpoints?

Check out our pricing or reach out if you want your own model deployed on our stack.