All ModelschatKimi K2.7 Code

Kimi K2.7 Code

by MoonshotPremium

Try on Kunya
chat

Kimi K2.7 Code

Coding-focused MoE model for long-horizon programming, agentic task decomposition, and multimodal reasoning

Model ID:kimi-k2.7

API Documentation

Generate chat completions with this model.

POST/api/v1/chat/completions
GET /api/v1/models?type=chat
Request body
{
  "model": "kimi-k2.7",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ],
  "stream": false,
  "thinking": true
}
cURL example
curl -X POST https://kunya.ai/api/v1/chat/completions \
  -H "Authorization: Bearer kunya_YOUR_API_KEY" \
  -H "Content-Type: application/json"
  -d '{"model":"kimi-k2.7","messages":[{"role":"user","content":"Hello!"}],"stream":false,"thinking":true}'

Notes

  • OpenAI-compatible endpoint — works with any Kunya API key.
  • Set `"stream": true` for server-sent events.
  • Supports vision: pass image URLs in message content as `{ "type": "image_url", "image_url": { "url": "..." } }`.
  • Supports tool calling via the `tools` parameter.

Pricing

Input$0.962 per 1M tokens
Output$4.55 per 1M tokens
Context Window262K

Capabilities

Streaming Yes
Vision Yes
Reasoning Yes
Tool Use Yes
ProviderMoonshot
Try on Kunya

Similar Models

Kimi K2.6

Moonshot

Legacy — superseded by Kimi K2.7 Code (routes to moonshotai/kimi-k2.7-code).

API Documentation

MiMo v2.5

Xiaomi

Native omnimodal model — Pro-level agentic performance at half the cost, with image & video understanding and 1M context

API Documentation

GPT-5.6

OpenAI

Flagship GPT-5.6 alias — routes to GPT-5.6 Sol for complex reasoning and coding

API Documentation

Claude Sonnet 5

Anthropic

Best combination of speed and intelligence — adaptive thinking with near-Opus quality

API Documentation