Kimi K2.7 Code
kimi-k2.7-code
kimi-k2.7-code is available at kimi-k2.7-code. Below: price, specifications and request examples.
Price
| model value | Input, per 1M | Output, per 1M | Cache, per 1M |
|---|---|---|---|
| kimi-k2.7-code | $0.1836 | $0.7726 | $0.0184 |
Prices per 1M tokens. You pay for what you use.
Specifications
- Context window
- 262,144 tokens
- Max output tokens
- 32,000 tokens
- Image input
- yes
- Reasoning
- no
- Anthropic format (/v1/messages)
- yes
- Data in Russia
- no
Request example
Create a key in the dashboard. Streaming works too: add "stream": true.
curl https://whitelabel-demo.getvibeapi.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "kimi-k2.7-code", "messages": [{"role": "user", "content": "Hello!"}]}'from openai import OpenAI
client = OpenAI(base_url="https://whitelabel-demo.getvibeapi.com/v1", api_key="YOUR_KEY")
reply = client.chat.completions.create(
model="kimi-k2.7-code",
messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)Questions and answers
How much does kimi-k2.7-code cost?
Input is $0.1836 per 1M tokens, output $0.7726 per 1M. You are charged for the tokens actually used, so a single request costs a fraction of a cent. Your balance and spending are in the dashboard.
What is the context window of kimi-k2.7-code?
Up to 262,144 input tokens and up to 32,000 output tokens.
How do I call kimi-k2.7-code?
Set the base URL to https://whitelabel-demo.getvibeapi.com/v1 and use "kimi-k2.7-code" in the model field of any OpenAI-compatible client. curl and Python examples are on this page.
Is cached input cheaper?
Repeated context is billed at the cache price — $0.0184 per 1M tokens instead of $0.1836.
Does kimi-k2.7-code understand images?
Yes, images can be sent along with text.
Other models
Start using kimi-k2.7-code in minutes
Sign up by email, create a key in the dashboard, top up your balance without a contract.