moonshotaiCertifiedReleased 06/15/2026

Kimi K2.7 Code High Speed

Kimi K2.7 Code HighSpeed is the high-speed version of Kimi K2.7 Code, the same model as Kimi K2.7 Code, but with an output speed of approximately 180 Tokens/s and up to 260 Tokens/s in short context scenarios, delivering a more extreme coding experience.

View API reference ↓
Input / output priceFrom$1.90 / $8.00per 1M
24h uptime100.00%
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.inferencebureau.com/v1",
  apiKey: process.env.IB_API_KEY,
});

const res = await client.chat.completions.create({
  model: "moonshotai/kimi-k2.7-code-highspeed",
  messages: [{ role: "user", content: "Why is the sky blue?" }],
});

console.log(res.choices[0].message.content);

Providers

Dispatch routes requests across these providers and fails over between them without changing the model. Restrict or order providers with team Directives. Prices are gateway list prices before the platform fee.

ProviderContextMax outputLatencyThroughputInputOutputCacheCapabilitiesZDRNo trainingRegionsStatus
moonshotai262K33K0.8 s223 tps$1.90$8.00Read $0.38Write —8 featuresYesYesGlobalCertified

Uptime

24 hours

Request success rate per provider.

moonshotai100.00%

Throughput

last hour

P50 output tokens per second.

moonshotai223 tps

Latency

last hour

P50 time to first token.

moonshotai0.8 s

Getting started

Create a key on the API Keys page and set it as IB_API_KEY. See the quickstart.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.inferencebureau.com/v1",
  apiKey: process.env.IB_API_KEY,
});

const res = await client.chat.completions.create({
  model: "moonshotai/kimi-k2.7-code-highspeed",
  messages: [{ role: "user", content: "Why is the sky blue?" }],
});

console.log(res.choices[0].message.content);

Top-level parameters

Standard Chat Completions parameters work as documented. These have model-specific behavior.

ParameterTypeRequiredDescription
modelstringYesModel ID in the form creator/model, e.g. moonshotai/kimi-k2.7-code-highspeed. Must be allowed by your team's Directives.
max_tokensnumberNoHard cap on generated tokens, and the basis for the balance reserved per request. Kimi K2.7 Code High Speed supports up to 32,768 output tokens.
reasoning{ effort: 'low' | 'medium' | 'high' }NoReasoning effort, mapped to the provider's native configuration. Reasoning tokens count toward output usage.
toolsTool[]NoFunction definitions the model can call. Tool calls are returned in choices[].message.tool_calls.
Supportedmax_tokenstemperaturestoptoolstool_choicereasoninginclude_reasoningresponse_formatstructured_outputs

Input limits

InputSourcesLimits
Text—Prompt and response share the 262K-token context window
ImageURL, base64Sent as image_url content parts; counts as input tokens
PDFURL, base64Sent as file content parts; counts as input tokens

More models by moonshotai

ModelContextInputOutputCacheRelease
moonshotai/kimi-k3.1-pro1M$2.00$10.00Read $0.20Write —10/23/2026
moonshotai/kimi-k3.1-pro-highspeed1.05M$4.00$20.00Read $0.20Write $5.0010/23/2026
moonshotai/kimi-k3-fast1M$6.00$22.50Read $0.60Write —07/27/2026
moonshotai/kimi-k31M$3.00$15.00Read $0.30Write —07/16/2026
moonshotai/kimi-k2.7-code256K$0.95$4.00Read $0.19Write —06/12/2026
moonshotai/kimi-k2.6262K$0.95$4.00Read $0.16Write —04/20/2026
moonshotai/kimi-k2.5256K$0.60$3.00Read —Write —01/26/2026
moonshotai/kimi-k2131K$0.57$2.30Read —Write —07/11/2025