Using Moonshot.ai With Kilo Code
Moonshot.ai is a Chinese AI company known for their Kimi models featuring ultra-long context windows (up to 200K tokens) and advanced reasoning capabilities. Their K2-Thinking model delivers extended thinking and problem-solving abilities.
Website: https://www.moonshot.cn/
Getting an API Key
- Sign Up/Sign In: Go to the Moonshot.ai Platform. Create an account or sign in.
- Navigate to API Keys: Access the API Keys section in your account dashboard.
- Create a Key: Click to generate a new API key. Give it a descriptive name (e.g., "Kilo Code").
- Copy the Key: Important: Copy the API key immediately. Store it securely.
Configuration in Kilo Code
- Open Kilo Code Settings: Click the gear icon () in the Kilo Code panel.
- Select Provider: Choose "Moonshot.ai" from the "API Provider" dropdown.
- Enter API Key: Paste your Moonshot.ai API key into the "Moonshot.ai API Key" field.
- Select Model: Choose your desired model from the "Model" dropdown.
Tips and Notes
- Ultra-Long Context: Kimi models excel at handling large codebases and complex projects with their extended context windows.
- Reasoning Capabilities: The K2-Thinking variant provides enhanced problem-solving through extended reasoning chains.
- Language Support: Kimi models have strong support for both English and Chinese languages.
- Pricing: Refer to the Moonshot.ai platform for current pricing information on different models.