
Moonshot's flagship reasoning model for long coding and agent work, with a 1M token context, image input, and web search.
Moonshot's flagship reasoning model for long coding and agent work, with a 1M token context, image input, and web search.
Supports text and image inputs, function calling, JSON schema structured output, and Linkup web search through web_search_linkup at $0.013 per invoked call. Thinking is on by default with a reasoning_effort control (max is the default) and an enable_thinking switch; reasoning tokens are billed as output tokens. Prompt caching is automatic. Stop strings apply to reasoning as well as the answer. Temperature and other sampling settings are fixed by the model service. Video input, explicit cache controls, batches, and fine-tuning are not supported.
Also known as Kimi K3.1, Moonshot AI Kimi K3.1 Pro
kimi-k3-1-pro/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/kimi-k3-1-pro:generateContentkimi-k3.1-promoonshotai/kimi-k3.1-proLive pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.
Kimi K3.1 Pro 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-1-pro. Get an API key from the EmpirioLabs dashboard.
curl https://api.empiriolabs.ai/v1/chat/completions \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k3-1-pro",
"messages": [
{"role": "user", "content": "Write a haiku about the ocean."}
]
}'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-1-pro",
messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)Request parameters supported by the Kimi K3.1 Pro API on EmpirioLabs. Defaults apply when a field is omitted.
| Parameter | Type | Default | Range / values | Description |
|---|---|---|---|---|
| max_tokens | number | 131072 | 1 to 131072 | Maximum output tokens. Reasoning tokens count toward this limit. |
| stop | string | - | - | Up to 4 strings where the model will stop generating further tokens. |
| enable_thinking | boolean | true | - | Enable reasoning before answering. Turning it off lowers output quality. |
| reasoning_effort | enum | max | low, medium, high, max | Kimi K3.1 Pro reasoning effort. Higher effort spends more reasoning tokens before answering. Max is recommended and the default. |
| response_format | enum | - | - | Constrain the output to valid JSON. Use JSON mode for any JSON object, or supply a JSON Schema to force an exact response shape. |
| web_search_linkup | boolean | false | - | 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 additional context. Adds $0.013 per call when invoked on top of the model's normal token cost. Disabled by default. |
| disable_formatting | boolean | false | - | Return the answer without the Sources list that web search adds. |
Supports text and image inputs with a 1M token context, function calling, and JSON schema structured output. Linkup web search is available through web_search_linkup and adds $0.013 per call when invoked. Thinking is on by default: set its depth with reasoning_effort (max is the default), or turn it off with enable_thinking, which lowers output quality. Reasoning tokens are billed as output tokens. Stop strings apply to reasoning as well as the answer, so a stop string that appears in the reasoning ends the reply early. Temperature and other sampling settings are fixed by the model service.
On EmpirioLabs, Kimi K3.1 Pro is billed pay as you go: Input $2.00 per 1M prompt tokens; Output $10.00 per 1M generated tokens; Implicit cache read $0.184 per 1M cached input tokens; Web Search (Linkup) $0.013 per call when invoked. The live rate card on this page always matches what the API charges.
Kimi K3.1 Pro supports a 1M-token context window with up to 131,072 output tokens per response.
Yes. Kimi K3.1 Pro 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-1-pro.
Yes. The EmpirioLabs playground runs Kimi K3.1 Pro in the browser with the same parameters the API exposes, so you can test prompts before writing code.
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.
Check out our pricing or reach out if you want your own model deployed on our stack.