LiteLLMModels

Kimi K2.7 Code Highspeed API Pricing

As of October 10, 2026, Kimi K2.7 Code Highspeed costs $1.90 per 1M input tokens and $7.999 per 1M output tokens on AIHubMix, with cache reads at $0.3217 per 1M tokens. It has a 262,144-token context window and returns up to 32,768 tokens per response.

By Moonshot AIModel ID aihubmix/kimi-k2.7-code-highspeedPrices updated Checked
Input
$1.90 / 1M tokens
Output
$7.999 / 1M tokens
Cache read
$0.3217 / 1M tokens
Context window
262,144 tokens
Max output
32,768 tokens
Providers
1
Added to LiteLLM
September 16, 2026

Kimi K2.7 Code Highspeed pricing by provider

1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputCache readContext
AIHubMixaihubmix/kimi-k2.7-code-highspeed$1.90$7.999$0.3217256K

What Kimi K2.7 Code Highspeed costs in practice

1,000 requests with 2,000 input and 500 output tokens each

AIHubMix$7.80

100 long-document requests with 100,000 input and 2,000 output tokens each

AIHubMix$20.60

Kimi K2.7 Code Highspeed features

Use Kimi K2.7 Code Highspeed with LiteLLM

Call Kimi K2.7 Code Highspeed through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="aihubmix/kimi-k2.7-code-highspeed",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: kimi-k2.7-code-highspeed
    litellm_params:
      model: aihubmix/kimi-k2.7-code-highspeed
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "kimi-k2.7-code-highspeed",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Kimi K2.7 Code Highspeed FAQ

How much does Kimi K2.7 Code Highspeed cost?

Kimi K2.7 Code Highspeed costs $1.90 per 1M input tokens and $7.999 per 1M output tokens on AIHubMix, with cache reads at $0.3217 per 1M tokens.

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

Kimi K2.7 Code Highspeed has a 262,144-token context window and returns up to 32,768 tokens per response.

Which providers offer Kimi K2.7 Code Highspeed?

Kimi K2.7 Code Highspeed is available from AIHubMix through LiteLLM, using the model name aihubmix/kimi-k2.7-code-highspeed.

How do I call Kimi K2.7 Code Highspeed with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="aihubmix/kimi-k2.7-code-highspeed", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

What features does Kimi K2.7 Code Highspeed support?

Kimi K2.7 Code Highspeed supports function calling, structured output, image input, reasoning and prompt caching.

When did LiteLLM add Kimi K2.7 Code Highspeed?

Kimi K2.7 Code Highspeed was added to LiteLLM's model price file on September 16, 2026.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:

LiteLLM docs: AIHubMix.

Provider pages: AIHubMix.