Context window
256K
Moonshot / Kimi API model
Coding-focused Kimi model, stronger on long-horizon repo work with less overthinking
Specs
Transparent USD pricing. No mainland-China account or phone required. Standard model rates follow providers' international list prices at 100%; some models have a separate Paid rate after the first top-up.
256K
Text, image input
$0.95
$4
OpenAI-compatible /v1/chat/completions
Coding-focused Kimi model, stronger on long-horizon repo work with less overthinking
Pricing
$0.95/M input, $4/M output tokens. Paid in USD. Standard model rates follow providers' international list prices at 100%; some models have a separate Paid rate after the first top-up. View live pricing
Paid price after first top-up (input / output per 1M tokens): $0.76 / $3.2 (−20%)
Quickstart
curl -X POST https://api.chinaapi.ai/v1/chat/completions \
-H "Authorization: Bearer $CHINAAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k2.7-code",
"messages": [
{"role": "user", "content": "Summarize the main tradeoffs for this API workload."}
]
}'
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["CHINAAPI_API_KEY"],
base_url="https://api.chinaapi.ai/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
Use kimi-k2.7-code through ChinaAPI with an API key and the OpenAI-compatible endpoint shown above.
kimi-k2.7-code is $0.95/M input, $4/M output tokens, paid in USD. The live pricing page is authoritative. After the first top-up, the Paid price is $0.76/M input, $3.2/M output tokens (−20%). Standard model rates follow providers' international list prices at 100%; some models have a separate Paid rate after the first top-up.
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.