Back to Chatgpt On Wechat

Kimi

docs/en/models/kimi.mdx

2.0.91.0 KB
Original Source

Kimi is provided by Moonshot and supports both text chat and image understanding. The kimi-k2.x series natively supports vision.

<Tip> All capabilities below can be configured in one place via the "Model Management" page in the Web Console, with no need to manually edit the configuration file. </Tip>

Text Chat

json
{
  "model": "kimi-k2.6",
  "moonshot_api_key": "YOUR_API_KEY"
}
ParameterDescription
modelCan be kimi-k2.6, kimi-k2.5, kimi-k2, moonshot-v1-8k, moonshot-v1-32k, moonshot-v1-128k
moonshot_api_keyCreate one in the Moonshot Console
moonshot_base_urlOptional, defaults to https://api.moonshot.cn/v1

Image Understanding

Once moonshot_api_key is configured, the Agent's Vision tool automatically uses kimi-k2.6 to recognize images, with no extra setup required.

To manually specify a Vision model:

json
{
  "tools": {
    "vision": {
      "model": "kimi-k2.6"
    }
  }
}