No description available
Kimi K2.7 Code APIActive
AI Code With channel availability
The same model is billed by channel discount. Copy a channel code to set your preference.
Related Models
More models from Kimi
Kimi K2.7 Code API: price, model ID, and how to call it
Call Kimi K2.7 Code through AI Code With. Use model ID kimi-k2.7-code with 200K context. list price about ¥6.50 / ¥27.00 per 1M tokens before channel discounts. Artificial Analysis lists official prices around $0.9500 / $4.00 per 1M tokens; our cheapest channel is about ¥4.88 / ¥20.25 per 1M tokens. About ¥0.6900 for 100,000 input / 10,000 output tokens at the cheapest live channel.
Next: Get API key · See integration guides · All model prices · All model prices
Official vs our price
Official list prices from Artificial Analysis, next to our cheapest live channel (per 1M tokens).
Cost calculator
Estimate at the cheapest live channel: ¥4.88 / ¥20.25 per 1M tokens, cache read ¥0.9750, cache write ¥0.0000. Billed usage follows your prepaid balance.
cURL example
Set model to kimi-k2.7-code. The page slug is only the URL, not the API parameter.
curl https://api.aicodewith.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $AICODEWITH_API_KEY" \
-d '{
"model": "kimi-k2.7-code",
"messages": [
{ "role": "user", "content": "What is the meaning of life?" }
]
}'FAQ
What is the Kimi K2.7 Code model ID?
Send model "kimi-k2.7-code" in the API request. The page path /kimi-k2.7-code is only the URL, not the model parameter.
How do I call the Kimi K2.7 Code API?
Use one AI Code With API key against https://api.aicodewith.ai/v1/chat/completions, and set model to kimi-k2.7-code. Supported protocols: OpenAI Chat Completions. See See integration guides.
How is Kimi K2.7 Code priced?
Kimi K2.7 Code is list price about ¥6.50 / ¥27.00 per 1M tokens before channel discounts. The public page shows available channel discounts; billed usage follows your prepaid balance and the live channel. Artificial Analysis lists official prices around $0.9500 / $4.00 per 1M tokens; our cheapest channel is about ¥4.88 / ¥20.25 per 1M tokens. About ¥0.6900 for 100,000 input / 10,000 output tokens at the cheapest live channel.
How long is the Kimi K2.7 Code context window?
Kimi K2.7 Code has about 200K input context and up to 65.54K output tokens. Treat that as capacity, not a reason to fill every request.