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 AI文本生成1M 上下文发布日期 2026年7月15日International专有端点

关于 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.

也称为 Moonshot AI Kimi K3, Kimi-K3

reasoningfunction callingmultimodalagentic codingweb search

Kimi K3 规格

模型 ID
kimi-k3
提供方
Moonshot AI
类别
文本生成
发布日期
2026年7月15日
上下文窗口
1M 个 token
最大输出
131,072 个 token
输入
文本图像视频
输出
文本
结构化输出
JSON Schema
区域
International
端点
POST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/kimi-k3:generateContent
备用模型 ID
moonshotai/kimi-k3

Kimi K3 API 价格

来自 EmpirioLabs 目录的实时按量计费价格。只为实际用量付费,没有月度最低消费。

类型
规格
价格
输入
per 1M prompt tokens
$3.00
输出
per 1M generated tokens
$15.00
Web search
per call when invoked
$0.015
在完整价格页比较

如何调用 Kimi K3 API

Kimi K3 提供 OpenAI 兼容的 Chat Completions API。用你的 EmpirioLabs API 密钥把任意 OpenAI SDK 指向 https://api.empiriolabs.ai/v1,并使用模型 ID kimi-k3。 在EmpirioLabs 控制台获取 API 密钥。

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)
Kimi K3 API 完整参考

Kimi K3 API 参数

EmpirioLabs 上 Kimi K3 API 支持的请求参数。省略字段时使用默认值。

参数类型默认值范围 / 值描述
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.

须知

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.

Kimi K3 API:常见问题

Kimi K3 API 收费多少?

在 EmpirioLabs,Kimi K3 按量计费:Input $3.00 per 1M prompt tokens; Output $15.00 per 1M generated tokens; Web search $0.015 per call when invoked。本页的实时价格表始终与 API 的实际计费一致。

Kimi K3 的上下文窗口有多大?

Kimi K3 支持 1M token 的上下文窗口,每次响应最多 131,072 个输出 token。

Kimi K3 API 兼容 OpenAI 吗?

兼容。Kimi K3 提供 OpenAI 兼容的 Chat Completions API,现有 OpenAI SDK 只需把 base_url 指向 https://api.empiriolabs.ai/v1 并把模型 ID 设为 kimi-k3 即可使用。

集成之前可以在浏览器里试用 Kimi K3 吗?

可以。EmpirioLabs Playground在浏览器中以与 API 相同的参数运行 Kimi K3,你可以在写代码之前先测试提示词。

如何获取 Kimi K3 API 密钥?

创建 EmpirioLabs 账户,然后在控制台的 API Keys生成密钥。计费使用按量付费的额度,只为实际发出的请求付费。

准备好使用更好的终端了吗?

查看我们的定价,或者如果你想将自己的模型部署到我们的堆栈中,请联系我们。