Moonshot / Kimi API model

Moonshot: kimi-k2.7-code

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

Specs

Pricing and API details.

Transparent USD pricing. No mainland-China account or phone required. Token-model rates are synchronized from the gateway and may follow providers' official China list prices where configured. Live pricing is authoritative.

Context window

256K

Modalities

Text, image input

Input $/1M

$0.9028

Output $/1M

$3.75

Endpoint

OpenAI-compatible /v1/chat/completions

About kimi-k2.7-code

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

Pricing

Transparent USD pricing.

kimi-k2.7-code

$0.9028/M input, $3.75/M output tokens. Paid in USD. Token-model rates are synchronized from the gateway and may follow providers' official China list prices where configured. Live pricing is authoritative. View live pricing

Quickstart

Copy-paste API request.

curl -X POST https://api.chinaapi-ru.com/v1/chat/completions \
  -H "Authorization: Bearer sk-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2.7-code",
    "messages": [
      {"role": "user", "content": "Summarize the main tradeoffs for this API workload."}
    ]
  }'

from openai import OpenAI

client = OpenAI(
    api_key="sk-...",
    base_url="https://api.chinaapi-ru.com/v1",
)

response = client.chat.completions.create(
    model="kimi-k2.7-code",
    messages=[
        {"role": "user", "content": "Summarize the main tradeoffs for this API workload."}
    ],
)
print(response.choices[0].message.content)

Internal links

Related model pages and guides.

How do I use kimi-k2.7-code?

Use kimi-k2.7-code through ChinaAPI with an API key and the OpenAI-compatible endpoint shown above.

How much does kimi-k2.7-code cost?

kimi-k2.7-code is $0.9028/M input, $3.75/M output tokens, paid in USD. The live pricing page is authoritative. Token-model rates are synchronized from the gateway and may follow providers' official China list prices where configured. Live pricing is authoritative.

Does kimi-k2.7-code need a Chinese account?

No. ChinaAPI provides access without a mainland-China account or phone number and includes a $2 free trial. Check live pricing for the displayed USD rate.