Languagetext

Kimi K2.7 Code

Kimi K2.7 Code long-context coding and agentic reasoning model.

Input

Top p
01
Temperature
02
Max completion tokens
1262144
Ready to generateReady to generate

API Reference

POSThttps://api.token360.ai/v1/chat/completions
curl https://api.token360.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer your-api-key" \
  -d '{
  "model": "kimi-k2.7-code",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ],
  "temperature": 0.7,
  "top_p": 1,
  "max_completion_tokens": 4096
}'