Skip to content

Kimi (Moonshot) Settings

OpenAICompatible setup

python
from agently import Agently

Agently.set_settings("OpenAICompatible", {
  "base_url": "https://api.moonshot.cn/v1",
  "api_key": "YOUR_KIMI_API_KEY",
  "model": "moonshot-v1-8k"
})