Using Google Gemini With Kilo Code
Kilo Code supports Google's Gemini family of models through the Google AI Gemini API.
Website: https://ai.google.dev/
Getting an API Key
- Go to Google AI Studio: Navigate to https://ai.google.dev/.
- Sign In: Sign in with your Google account.
- Create API Key: Click on "Create API key" in the left-hand menu.
- Copy API Key: Copy the generated API key.
Configuration in Kilo Code
- Open Kilo Code Settings: Click the gear icon () in the Kilo Code panel.
- Select Provider: Choose "Google Gemini" from the "API Provider" dropdown.
- Enter API Key: Paste your Gemini API key into the "Gemini API Key" field.
- Select Model: Choose your desired Gemini model from the "Model" dropdown.
Tips and Notes
- Pricing: Gemini API usage is priced based on input and output tokens. Refer to the Gemini pricing page for detailed information.
- Codebase Indexing: The
gemini-embedding-001model is specifically supported for codebase indexing, providing high-quality embeddings for semantic code search.