Skip to main content

Moonshot (Kimi)

[official website]

Kimi models can be added to Tresor via API key authentication.

Web UI is more intuitive, but requires more manual operations.

In the "Downstreams" tab:

  • Click + Add Provider if Moonshot is not already listed.
  • Enter Moonshot Kimi or any name you like.
  • Under "API Formats", select OpenAI, OpenAI Responses, and Anthropic.
  • Under "Authentication", select API key and enter a key from Moonshot API Keys.
  • Under "API Host", enter https://api.moonshot.cn.
  • Click Advanced. Under "Per-format URLs", set the Anthropic entry to https://api.moonshot.cn/anthropic.
  • Under "Models", click Fetch Models and add the models you need. If discovery is unavailable, enter exact Kimi model IDs from the console manually.

The URLs above use the Moonshot China platform described in the supplied compatibility report. Use credentials issued for that platform. Protocol compatibility does not guarantee identical behavior for every sampling parameter or deprecated function-calling field.

Done! Clients accessing Tresor can now use your configured Kimi models.

Next step​