Python
Points to the OpenAI SDKNot a Moonshot AI SDK. For Python, Moonshot AI's docs point you to the OpenAI SDK. Base URL and limits.
- Package
openai- Install
- Install
pip install --upgrade 'openai>=1.0' - Repo
- github.com/openai/openai-python
- Docs
- platform.kimi.ai/docs/overview
From the docs
OpenAI SDK 1.0.0 or later. Kimi API is compatible with the OpenAI API format, so you can call Kimi directly with the OpenAI Python or Node.js SDK.