All modelskimi-k2.7-code
Moonshot AI
Coding-focused Kimi model, stronger on long-horizon repo work with less overthinking
Context 262KReasoningToolsFilesOpen WeightsVision
Pricing
Cache read
Reusing a prompt already cached upstream
¥1.30¥1.25/ 1M−4.0%
Cache write
Storing a prompt for later reuse
Not offered
Struck-through figures are the vendor's published list price.
The API is OpenAI-compatible — point the base URL here and pass the model id.
curl https://api.lulutokens.cn/v1/chat/completions \
-H "Authorization: Bearer $LULU_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://api.lulutokens.cn/v1", api_key="LULU_API_KEY")
response = client.chat.completions.create(
model="kimi-k2.7-code",
messages=[{"role": "user", "content": "Hello"}],
)
Endpoints:
openaiopenai-responseanthropic