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. वर्तमान Kimi K2 मॉडल आईडी:
  • 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/...).

विन्यास स्निपेट (Moonshot API)

Kimi Coding

नोट्स

  • Moonshot model refs use moonshot/<modelId>. Kimi Coding model refs use kimi-coding/<modelId>.
  • आवश्यकता होने पर models.providers में मूल्य निर्धारण और संदर्भ मेटाडेटा को ओवरराइड करें।
  • यदि Moonshot किसी मॉडल के लिए अलग संदर्भ सीमाएँ प्रकाशित करता है, तो contextWindow को तदनुसार समायोजित करें।
  • अंतरराष्ट्रीय एंडपॉइंट के लिए https://api.moonshot.ai/v1 का उपयोग करें, और चीन एंडपॉइंट के लिए https://api.moonshot.cn/v1 का उपयोग करें।