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 AIGeneracion de texto1M contextoLanzado 15 jul 2026InternationalEndpoint propietarioNuevo

Acerca de 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.

También conocido como Moonshot AI Kimi K3, Kimi-K3

reasoningfunction callingmultimodalagentic codingweb search

Especificaciones de Kimi K3

ID del modelo
kimi-k3
Proveedor
Moonshot AI
Categoría
Generacion de texto
Lanzado
15 jul 2026
Ventana de contexto
1M tokens
Salida máxima
131.072 tokens
Entrada
TextoImagenVideo
Salida
Texto
Salida estructurada
JSON Schema
Región
International
Endpoints
POST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/kimi-k3:generateContent
IDs de modelo alternativos
moonshotai/kimi-k3

Precios de la API de Kimi K3

Tarifas de pago por uso en vivo del catálogo de EmpirioLabs. Solo pagas por lo que usas, sin mínimo mensual.

Tipo
Especificación
Tarifa
Entrada
per 1M prompt tokens
$3.00
Salida
per 1M generated tokens
$15.00
Web search
per call when invoked
$0.015
Comparar en la página completa de precios

Cómo llamar a la API de Kimi K3

Kimi K3 sirve la API de Chat Completions compatible con OpenAI. Apunta cualquier SDK de OpenAI a https://api.empiriolabs.ai/v1 con tu clave de API de EmpirioLabs y usa el id de modelo kimi-k3. Consigue una clave de API en el panel de 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)
Referencia completa de la API de Kimi K3

Parámetros de la API de Kimi K3

Parámetros de solicitud compatibles con la API de Kimi K3 en EmpirioLabs. Los valores por defecto se aplican cuando se omite un campo.

ParámetroTipoPredeterminadoRango / valoresDescripción
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.

Información útil

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 de Kimi K3: preguntas frecuentes

¿Cuánto cuesta la API de Kimi K3?

En EmpirioLabs, Kimi K3 se factura por uso: Input $3.00 per 1M prompt tokens; Output $15.00 per 1M generated tokens; Web search $0.015 per call when invoked. La tabla de tarifas en vivo de esta página siempre coincide con lo que cobra la API.

¿Cuál es la ventana de contexto de Kimi K3?

Kimi K3 admite una ventana de contexto de 1M tokens con hasta 131.072 tokens de salida por respuesta.

¿La API de Kimi K3 es compatible con OpenAI?

Sí. Kimi K3 sirve la API de Chat Completions compatible con OpenAI, así que los SDKs de OpenAI existentes funcionan apuntando base_url a https://api.empiriolabs.ai/v1 y usando el id de modelo kimi-k3.

¿Puedo probar Kimi K3 en el navegador antes de integrar?

Sí. El playground de EmpirioLabs ejecuta Kimi K3 en el navegador con los mismos parámetros que expone la API, para que pruebes prompts antes de escribir código.

¿Cómo consigo una clave de API de Kimi K3?

Crea una cuenta de EmpirioLabs y genera una clave en API Keys en el panel. La facturación es con créditos de pago por uso, así que solo pagas por las solicitudes que haces.

¿Listo para usar mejores endpoints?

Consulta nuestros precios o contacta con nosotros si quieres que tu propio modelo se implemente en nuestra pila.