Using MiniMax With Kilo Code
MiniMax is a global AI foundation model company focused on fast, cost-efficient multimodal models with strong coding, tool-use, and agentic capabilities. Their flagship MiniMax M2 model delivers high-speed inference, long-context reasoning, and advanced development workflow support.
Website: https://www.minimax.io/
Getting an API Key
- Sign Up/Sign In: Go to the MiniMax Console. Create an account or sign in.
- Open the API Keys Page: Navigate to your Profile > API Keys.
- Create a Key: Click to generate a new API key and give it a descriptive name (e.g., “Kilo Code”).
- Copy the Key: Copy the key immediately. You may not be able to view it again. Store it securely.
Supported Models
Kilo Code supports the following MiniMax models:
MiniMax Models
MiniMax-M2(currently free) – MiniMax’s latest model with strong coding, tool use, long-context reasoning, and high inference speedMiniMax-01– General-purpose MiniMax modelMiniMax-M1– Earlier MiniMax model with broad multimodal capabilities
Configuration in Kilo Code
- Open Kilo Code Settings: Click the gear icon () in the Kilo Code panel.
- Select Provider: Navigate to Providers. Choose MiniMax from the API Provider dropdown.
- Enter API Key: Paste your MiniMax API key into the MiniMax API Key field.
- Select Model: Choose your desired MiniMax model from the Model dropdown.
Tips and Notes
- Performance: MiniMax M2 emphasizes fast inference, strong coding ability, and exceptional tool-calling performance.
- Context Window: MiniMax models support ultra-long context windows suitable for large codebases and agent workflows.
- Pricing: Pricing varies by model, with input costs ranging from $0.20 to $0.40 per million tokens and output costs from $1.10 to $2.20 per million tokens. Refer to the MiniMax documentation for the most current pricing information.
- MiniMax M2 is designed for a strong balance of speed, price, and performance, and is currently free to use for a limited time.