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 AIGeração de Texto1M contextoLançado 15 de jul. de 2026InternationalEndpoint proprietárioNovo

Sobre 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.

Também conhecido como Moonshot AI Kimi K3, Kimi-K3

reasoningfunction callingmultimodalagentic codingweb search

Especificações de Kimi K3

ID do modelo
kimi-k3
Provedor
Moonshot AI
Categoria
Geração de Texto
Lançado
15 de jul. de 2026
Janela de contexto
1M tokens
Saída máxima
131.072 tokens
Entrada
TextoImagemVídeo
Saída
Texto
Saída estruturada
JSON Schema
Região
International
Endpoints
POST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/kimi-k3:generateContent
IDs de modelo alternativos
moonshotai/kimi-k3

Preços da API Kimi K3

Tarifas pay-as-you-go ao vivo do catálogo EmpirioLabs. Você paga só pelo que usa, sem mínimo mensal.

Tipo
Especificação
Tarifa
Entrada
per 1M prompt tokens
$3.00
Saída
per 1M generated tokens
$15.00
Web search
per call when invoked
$0.015
Comparar na página completa de preços

Como chamar a API Kimi K3

Kimi K3 atende a API Chat Completions compatível com OpenAI. Aponte qualquer SDK OpenAI para https://api.empiriolabs.ai/v1 com sua chave de API EmpirioLabs e use o id de modelo kimi-k3. Obtenha uma chave de API no painel EmpirioLabs.

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)
Referência completa da API Kimi K3

Parâmetros da API Kimi K3

Parâmetros de requisição suportados pela API Kimi K3 na EmpirioLabs. Os padrões valem quando um campo é omitido.

ParâmetroTipoPadrãoIntervalo / valoresDescrição
max_tokensnumber327681 a 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.

Bom saber

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.

API Kimi K3: perguntas frequentes

Quanto custa a API Kimi K3?

Na EmpirioLabs, Kimi K3 é cobrado por uso: Input $3.00 per 1M prompt tokens; Output $15.00 per 1M generated tokens; Web search $0.015 per call when invoked. A tabela de tarifas ao vivo desta página sempre corresponde ao que a API cobra.

Qual é a janela de contexto de Kimi K3?

Kimi K3 suporta uma janela de contexto de 1M tokens com até 131.072 tokens de saída por resposta.

A API Kimi K3 é compatível com OpenAI?

Sim. Kimi K3 atende a API Chat Completions compatível com OpenAI, então SDKs OpenAI existentes funcionam apontando base_url para https://api.empiriolabs.ai/v1 e definindo o id de modelo kimi-k3.

Posso testar Kimi K3 no navegador antes de integrar?

Sim. O playground da EmpirioLabs executa Kimi K3 no navegador com os mesmos parâmetros que a API expõe, para você testar prompts antes de escrever código.

Como consigo uma chave de API Kimi K3?

Crie uma conta EmpirioLabs e gere uma chave em API Keys no painel. A cobrança usa créditos pay-as-you-go, então você paga apenas pelas requisições que faz.

Pronto para usar endpoints melhores?

Confira nossos preços ou entre em contato se quiser que seu próprio modelo seja implementado em nossa pilha.