
Kimi K2.7 Code Highspeed is the faster-serving tier of Moonshot's agentic coding model, with 256K context, always-on reasoning, and image and video input.
Kimi K2.7 Code Highspeed is the faster-serving tier of Moonshot's agentic coding model, with 256K context, always-on reasoning, and image and video input.
The faster-serving tier of Kimi K2.7 Code. Supports text, image, and video inputs, function calling, JSON mode structured output, and built-in web search billed at $0.015 per invoked call. Thinking is always on and reasoning tokens are billed as output tokens. Temperature and other sampling overrides are ignored because the model service uses fixed sampling settings. 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.
Also known as Moonshot AI Kimi K2.7 Code Highspeed
kimi-k2-7-code-highspeed/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/kimi-k2-7-code-highspeed:generateContentkimi-k2.7-code-highspeedmoonshotai/kimi-k2-7-code-highspeedmoonshotai/kimi-k2.7-code-highspeedLive pay-as-you-go rates from the EmpirioLabs catalog. You can also choose a plan with weekly allowances.
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 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."}
]
}'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)Request parameters supported by the Kimi K2.7 Code Highspeed API on EmpirioLabs. Defaults apply when a field is omitted.
| Parameter | Type | Default | Range / values | Description |
|---|---|---|---|---|
| max_tokens | number | 32768 | 1 to 262144 | Maximum output tokens. Reasoning tokens count toward this limit. |
| stop | string | - | - | Up to 4 strings where the model will stop generating further tokens. |
| tool_web_search | boolean | false | - | Search the web for real-time information. Adds $0.015 to the request cost for each invoked web search call. |
| max_tool_calls | number | 5 | 1 to 20 | Max number of web searches the model can run in one request. Each search is billed separately. |
| response_format | enum | - | - | 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. |
The faster-serving tier of Kimi K2.7 Code. Supports text, image, and video inputs with 256K context, function calling, JSON mode structured output, and built-in web search at $0.015 per invoked call. Thinking is always on and cannot be disabled; reasoning tokens are billed as output tokens. Temperature and other sampling overrides are ignored because the model service uses fixed sampling settings. Multi-step function calling through the API must replay the assistant message with its reasoning_content field intact.
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.
Announcements, prompt tests, and comparisons that cover this model.
On EmpirioLabs, Kimi K2.7 Code Highspeed is billed pay as you go: Input $1.90 per 1M prompt tokens; Output $8.00 per 1M generated tokens; Web search $0.015 per call when invoked. You can also choose a plan with weekly allowances. The live rate card on this page always matches what the API charges.
Kimi K2.7 Code Highspeed takes Text, Image, Video as input and returns Text.
Kimi K2.7 Code Highspeed supports a 256K-token context window with up to 131,072 output tokens per response.
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.
Send kimi-k2-7-code-highspeed as the model in your request. The alternate IDs kimi-k2.7-code-highspeed, moonshotai/kimi-k2-7-code-highspeed, moonshotai/kimi-k2.7-code-highspeed also work.
Moonshot AI released Kimi K2.7 Code Highspeed on Jun 16, 2026.
Kimi K2.7 Code Highspeed on EmpirioLabs is served from International.
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.
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. You can also choose a plan with weekly allowances.
Check out our pricing or reach out if you want your own model deployed on our stack.