Skip to main content

Moonshot AI (Kimi)

Moonshot provides the Kimi API with OpenAI-compatible endpoints. Configure the provider and set the default model to moonshot/kimi-k2.5, or use Kimi Coding with kimi-coding/k2p5. Current Kimi K2 model IDs:
  • kimi-k2.5
  • kimi-k2-0905-preview
  • kimi-k2-turbo-preview
  • kimi-k2-thinking
  • kimi-k2-thinking-turbo
Kimi Coding:
Note: Moonshot and Kimi Coding are separate providers. Keys are not interchangeable, endpoints differ, and model refs differ (Moonshot uses moonshot/..., Kimi Coding uses kimi-coding/...).

Config snippet (Moonshot API)

Kimi Coding

Notes

  • Moonshot model refs use moonshot/<modelId>. Kimi Coding model refs use kimi-coding/<modelId>.
  • Override pricing and context metadata in models.providers if needed.
  • If Moonshot publishes different context limits for a model, adjust contextWindow accordingly.
  • Use https://api.moonshot.ai/v1 for the international endpoint, and https://api.moonshot.cn/v1 for the China endpoint.