nexusflow
Online
Moonshot AI

Kimi Model API

Moonshot AI's Kimi model family excels at long-text understanding, multi-turn conversations, and creative writing. Examples here default to OpenAI Chat Completions; the same model ID can also be called via the Anthropic Messages or Responses API protocols, depending on model support.

POSThttps://nexusflow.hk/v1/chat/completions

This is the default example endpoint. For multi-protocol usage, see Multi-Protocol Support, Anthropic Messages, and Responses API.

Models

Model IDDescriptionContextInput/1MOutput/1M
kimi-k2.6K2.6 flagship, long-text creative writing256K$6.5$27
kimi-k2.5K2.5 balanced model256K$4$21

Request Examples

curl https://nexusflow.hk/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2.6",
    "messages": [
      {"role": "user", "content": "Summarize this 3000-word article into a 300-word abstract"}
    ],
    "stream": true
  }'
Chat Completions
View the full chat API documentation
Quick Start
5-minute integration guide
Full Pricing
View pricing for all models