Kimi K2.6 API

Kimi K2.6 is a Moonshot multimodal reasoning model with 256K context, strong coding, and text, image, and video inputs.

Moonshot AIText Generation256K contextChinaProprietary EndpointNew

About Kimi K2.6

Kimi K2.6 is a Moonshot multimodal reasoning model with 256K context, strong coding, and text, image, and video inputs.

Supports text, image, and video inputs, thinking mode on by default, function calling, and automatic prompt caching. Web search, structured output, batches, and fine-tuning are not supported.

reasoningfunction callingcachemultimodal

Kimi K2.6 specs

Model ID
kimi-k2-6
Provider
Moonshot AI
Category
Text Generation
Context window
256K tokens
Max output
16,000 tokens
Input
text, image, video
Output
text
Region
China
Endpoints
POST /v1/chat/completions
POST /v1/responses
POST /v1/messages

Kimi K2.6 API pricingSave up to 7%

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
$0.95$0.8939
Output
per 1M generated tokens
$4.00$3.7131
Implicit cache read
per 1M cached input tokens
$0.1788
Web Search (Linkup)
per call when invoked
$0.013
Compare on the full pricing page

How to call the Kimi K2.6 API

Kimi K2.6 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-k2-6. 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-k2-6",
    "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-k2-6",
    messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)
Full Kimi K2.6 API reference

Kimi K2.6 API parameters

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

ParameterTypeDefaultRange / valuesDescription
temperaturenumber0.70 to 2Sampling temperature. 0 = deterministic, 2 = maximum randomness.
top_pnumber0.90 to 1Nucleus sampling probability mass. Lower values make outputs more focused.
max_tokensnumber40961 to 16000Maximum output tokens.
stopstring--Up to 4 strings where the model will stop generating further tokens.
enable_thinkingbooleantrue-Enable reasoning before answering.
thinking_budgetnumber327681 to 81920Maximum tokens reserved for reasoning when thinking is enabled.
reasoning_effortenummediumnone, low, medium, high, maxReasoning effort level. none disables thinking. low, medium, high, and max set bounded thinking budgets sized to the selected model. Sent as an OpenAI-style...
web_search_linkupbooleanfalse-Optional web search powered by Linkup. When enabled, recent web sources are retrieved using your latest user message as the query and provided to the model as...
disable_formattingbooleanfalse-When enabled, the gateway will not append the "Sources" footer to assistant responses that used Linkup web search. Useful when the model output is piped to another...

Kimi K2.6 API: common questions

How much does the Kimi K2.6 API cost?

On EmpirioLabs, Kimi K2.6 is billed pay as you go: Input $0.8939 (was $0.95) per 1M prompt tokens; Output $3.7131 (was $4.00) per 1M generated tokens; Implicit cache read $0.1788 per 1M cached input tokens. The live rate card on this page always matches what the API charges.

What is the context window of Kimi K2.6?

Kimi K2.6 supports a 256K-token context window with up to 16,000 output tokens per response.

Is the Kimi K2.6 API OpenAI-compatible?

Yes. Kimi K2.6 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-k2-6.

Can I try Kimi K2.6 in the browser before integrating?

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

How do I get a Kimi K2.6 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?

Explore our models, or contact us about business inquiries, custom deployments, or anything else.