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. Các ID mô hình Kimi K2 hiện tại:
  • kimi-k2.5
  • kimi-k2-0905-preview
  • kimi-k2-turbo-preview
  • kimi-k2-thinking
  • kimi-k2-thinking-turbo
Kimi Coding:
  1. Lưu ý: Moonshot và Kimi Coding là các nhà cung cấp riêng biệt. Keys are not interchangeable, endpoints differ, and model refs differ (Moonshot uses moonshot/..., Kimi Coding uses kimi-coding/...).

Đoạn cấu hình (Moonshot API)

Kimi Coding

Ghi chú

    1. Tham chiếu mô hình Moonshot sử dụng moonshot/<modelId>. Kimi Coding model refs use kimi-coding/<modelId>.
  • Ghi đè metadata về giá và ngữ cảnh trong models.providers nếu cần.
  • Nếu Moonshot công bố giới hạn ngữ cảnh khác cho một mô hình, hãy điều chỉnh contextWindow cho phù hợp.
  • Dùng https://api.moonshot.ai/v1 cho endpoint quốc tế, và https://api.moonshot.cn/v1 cho endpoint Trung Quốc.