Kimi K2.7 Code Highspeed API

Kimi K2.7 (韩语) 代码高速(Code Highpy)是月光的代理编码模型中服务速度更快的一级,其上下文为256K,总是进行推理,图像和视频输入.

Moonshot AI文本生成256K 上下文发布日期 Jun 16, 2026专有端点

About Kimi K2.7 Code Highspeed

Kimi K2.7 (韩语) 代码高速(Code Highpy)是月光的代理编码模型中服务速度更快的一级,其上下文为256K,总是进行推理,图像和视频输入.

Kimi K2.7代码的更快服务级。 支持文本,图像,以及视频输入,函数调用,JSON模式结构化输出,以及内置的网络搜索帐单,每引用一个调用 $0.015. 思考总是在进行,推理符号被记为输出符号. 由于模型服务使用固定的采样设置,温度和其他采样覆盖被忽略. 多步函数调用必须用其推理 内容字段完整地重放助理消息 。 不支持明确的缓存控制,批量,以及微调.

也称为 Moonshot AI Kimi K2.7 Code Highspeed, Kimi-K2.7-Code-Highspeed, kimi-k2-7-code-highspeed

reasoningfunction callingstructured outputmultimodalagentic codingweb search

Kimi K2.7 Code Highspeed specs

模型 ID
kimi-k2-7-code-highspeed
提供方
Moonshot AI
类别
文本生成
Released
Jun 16, 2026
上下文窗口
256K tokens
最大输出
131,072 tokens
输入
text, image, video
输出
text
端点
POST /v1/chat/completions
POST /v1/responses
POST /v1/messages

Kimi K2.7 Code Highspeed API pricing

Live pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.

类型
规格
价格
投入
每1M 提示符
$1.90
产出
每1M个生成的令牌
$8.00
网络搜索
引用时每次呼叫
$0.015
在完整价格页比较

How to call the Kimi K2.7 Code Highspeed API

Kimi K2.7 Code Highspeed 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-k2-7-code-highspeed. Get an API key from the EmpirioLabs dashboard.

cURL
curl https://api.empiriolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2-7-code-highspeed",
    "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-k2-7-code-highspeed",
    messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)
Full Kimi K2.7 Code Highspeed API reference

Kimi K2.7 Code Highspeed API parameters

Request parameters supported by the Kimi K2.7 Code Highspeed API on EmpirioLabs. Defaults apply when a field is omitted.

参数类型默认范围 / 值描述
max_tokensnumber163841 to 131072Maximum output tokens. Reasoning tokens count toward this limit.
stopstring--Up to 4 strings where the model will stop generating further tokens.
response_formatobject--OpenAI-compatible JSON mode or JSON schema response format.
tool_web_searchbooleanfalse-Search the web for real-time information. Adds $0.015 to the request cost for each invoked web search call.

须知

Kimi K2.7代码的更快服务级。 支持文本,图像,以及包含256K上下文的视频输入,函数调用,JSON模式结构化输出,以及内置网络搜索,每引用一个调用 $0.015. 思维总是在运行,不能禁用;推理符作为输出符记账. 由于模型服务使用固定的采样设置,温度和其他采样覆盖被忽略. 通过 API 调用的多步函数必须用其推理 内容字段完整地重放助理消息 。

Kimi K2.7 Code Highspeed API: common questions

How much does the Kimi K2.7 Code Highspeed API cost?

On EmpirioLabs, Kimi K2.7 Code Highspeed is billed pay as you go: 投入 $1.90 每1M 提示符; 产出 $8.00 每1M个生成的令牌; 网络搜索 $0.015 引用时每次呼叫. The live rate card on this page always matches what the API charges.

What is the context window of Kimi K2.7 Code Highspeed?

Kimi K2.7 Code Highspeed supports a 256K-token context window with up to 131,072 output tokens per response.

Is the Kimi K2.7 Code Highspeed API OpenAI-compatible?

Yes. Kimi K2.7 Code Highspeed 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-k2-7-code-highspeed.

Can I try Kimi K2.7 Code Highspeed in the browser before integrating?

Yes. The EmpirioLabs playground runs Kimi K2.7 Code Highspeed in the browser with the same parameters the API exposes, so you can test prompts before writing code.

How do I get a Kimi K2.7 Code Highspeed API key?

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.

Ready to use better endpoints?

Explore our models, or contact us about business inquiries, custom deployments, or anything else.