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 AIGénération de texte1M contextePublié 15 juil. 2026InternationalEndpoint propriétaireNouveau

À propos 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.

Aussi connu sous le nom Moonshot AI Kimi K3, Kimi-K3

reasoningfunction callingmultimodalagentic codingweb search

Caractéristiques de Kimi K3

ID du modèle
kimi-k3
Fournisseur
Moonshot AI
Catégorie
Génération de texte
Publié
15 juil. 2026
Fenêtre de contexte
1M tokens
Sortie max
131 072 tokens
Entrée
TexteImageVidéo
Sortie
Texte
Sortie structurée
JSON Schema
Région
International
Endpoints
POST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/kimi-k3:generateContent
Identifiants de modèle alternatifs
moonshotai/kimi-k3

Tarifs de l'API Kimi K3

Tarifs à l'usage en direct du catalogue EmpirioLabs. Vous ne payez que ce que vous utilisez, sans minimum mensuel.

Type
Spéc.
Tarif
Entrée
per 1M prompt tokens
$3.00
Sortie
per 1M generated tokens
$15.00
Web search
per call when invoked
$0.015
Comparer sur la page complète des tarifs

Comment appeler l'API Kimi K3

Kimi K3 sert l'API Chat Completions compatible OpenAI. Pointez n'importe quel SDK OpenAI vers https://api.empiriolabs.ai/v1 avec votre clé API EmpirioLabs et utilisez l'id de modèle kimi-k3. Obtenez une clé API depuis le tableau de bord 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)
Référence complète de l'API Kimi K3

Paramètres de l'API Kimi K3

Paramètres de requête pris en charge par l'API Kimi K3 sur EmpirioLabs. Les valeurs par défaut s'appliquent quand un champ est omis.

ParamètreTypePar défautPlage / valeursDescription
max_tokensnumber327681 à 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.

Bon à savoir

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 : questions fréquentes

Combien coûte l'API Kimi K3 ?

Sur EmpirioLabs, Kimi K3 est facturé à l'usage : Input $3.00 per 1M prompt tokens; Output $15.00 per 1M generated tokens; Web search $0.015 per call when invoked. La grille tarifaire en direct de cette page correspond toujours à ce que l'API facture.

Quelle est la fenêtre de contexte de Kimi K3 ?

Kimi K3 prend en charge une fenêtre de contexte de 1M tokens avec jusqu'à 131 072 tokens de sortie par réponse.

L'API Kimi K3 est-elle compatible OpenAI ?

Oui. Kimi K3 sert l'API Chat Completions compatible OpenAI : les SDKs OpenAI existants fonctionnent en pointant base_url vers https://api.empiriolabs.ai/v1 et en utilisant l'id de modèle kimi-k3.

Puis-je essayer Kimi K3 dans le navigateur avant d'intégrer ?

Oui. Le playground EmpirioLabs exécute Kimi K3 dans le navigateur avec les mêmes paramètres que l'API expose, pour tester vos prompts avant d'écrire du code.

Comment obtenir une clé API Kimi K3 ?

Créez un compte EmpirioLabs, puis générez une clé sous API Keys dans le tableau de bord. La facturation utilise des crédits à l'usage : vous ne payez que vos requêtes.

Prêt à utiliser de meilleurs points de terminaison ?

Consultez nos tarifs ou contactez-nous si vous souhaitez que votre propre modèle soit déployé sur notre stack.