Kimi K2.6

Chat Completions API
kimi-k2.6
отMoonShotAIСоздана 20 апр. 2026 г.256K контекст
Chat Completions API

Kimi K2.6 is Moonshot AI’s new-generation multimodal model, built for long-range coding workflows, code-centered UI/UX creation, and multi-agent coordination. It manages complex end-to-end development tasks in Python, Rust, and Go, and can transform prompts and visual inputs into production-ready interfaces. Its swarm-based agent architecture can scale to hundreds of parallel sub-agents for autonomous task decomposition—producing documents, websites, and spreadsheets in a single run without human intervention.

Пример кода

Пример использования модели через API на Python или cURL. Замените значения-заполнители своим API-ключом и ID модели.

Базовый пример запроса. Проверьте разрешения API-ключа. Подробнее см. документацию.
curl https://api.makura.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{
  "model": "kimi-k2.6",
  "messages": [
    {
      "role": "user",
      "content": "Сколько будет 2 + 2?"
    }
  ]
}'