LuluTokens
All models
MoonshotAI

kimi-k2.7-code

Moonshot AI

kimi-k2.7-code

Coding-focused Kimi model, stronger on long-horizon repo work with less overthinking

Context 262KReasoningToolsFilesOpen WeightsVision

Pricing

输入

¥6.50¥6.24/ 1M−4.0%

输出

¥27.00¥25.92/ 1M−4.0%

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
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"}]
  }'
Python
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