Kimi K2.7 Code
Kimi K2.7 Code for reasoning, coding, tool use, and visual understanding.
API Model ID
kimi-k2.7-code
Developer
Moonshot AI
Context Window
262K tokens
Median Latency (TTFT)
—
Capabilities & Features
Tools Vision Reasoning Coding
Pricing & Access
Current price
| Tier | Input / 1M | Cache Read / 1M | Cache Write / 1M | Output / 1M |
|---|---|---|---|---|
| Tier 1 | $0.95 | $0.19 | — | $4 |
Rates above are current PAYG prices; promotions and context tiers may apply. PAYG billing is separate from monthly plan allowances.
API Usage Example (/v1/chat/completions)
BotConnector provides an OpenAI-compatible chat completions endpoint.
cURL
curl https://api.botconnector.id/v1/chat/completions \
-H "Authorization: Bearer $BOTCONNECTOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k2.7-code",
"messages": [
{"role": "user", "content": "Hello from BotConnector!"}
]
}'Python (OpenAI SDK)
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api.botconnector.id/v1",
api_key=os.environ.get("BOTCONNECTOR_API_KEY")
)
response = client.chat.completions.create(
model="kimi-k2.7-code",
messages=[
{"role": "user", "content": "Explain machine learning concisely."}
]
)
print(response.choices[0].message.content)Provider & Infrastructure Disclaimer
This model was developed by Moonshot AI. BotConnector accesses models via official developer APIs or verified large-scale cloud providers. BotConnector does not rebrand or alter original developer attributions.