Kilo Code
Kilo Code supports OpenAI-compatible providers. Use OdiRouter as the provider endpoint and choose an OdiRouter model ID.
Requirements
Section titled “Requirements”| Requirement | Value |
|---|---|
| Client | Kilo Code extension or supported IDE client |
| Provider | OpenAI Compatible |
| Base URL | https://www.odirouter.ai/v1 |
| API Key | OdiRouter API key |
| Model ID | An OdiRouter LLM model ID |
Install Kilo Code
Section titled “Install Kilo Code”- Install Kilo Code in your supported editor.
- Open the Kilo Code panel.
- Open settings or provider profiles.
Configure OdiRouter
Section titled “Configure OdiRouter”- Create a new provider profile.
- Set
API ProvidertoOpenAI Compatible. - Set
Base URLtohttps://www.odirouter.ai/v1. - Paste your OdiRouter API key.
- Set
Model IDto an OdiRouter model, such asgpt-5.5. - Save the profile and make it active.
Verify The Connection
Section titled “Verify The Connection”Start with a non-editing prompt:
Read the visible project files and explain how to run the development server.Then try a controlled edit:
Prepare a one-file README improvement. Show the diff before applying changes.Base URL Formats
Section titled “Base URL Formats”Kilo Code may accept either a Base URL or a full endpoint in some versions. Prefer the Base URL:
https://www.odirouter.ai/v1Use the full endpoint only if the UI explicitly asks for a chat completions URL:
https://www.odirouter.ai/v1/chat/completionsTroubleshooting
Section titled “Troubleshooting”| Symptom | Fix |
|---|---|
| Requests go to the wrong path | Switch between Base URL and full endpoint according to the field label |
401 or invalid key | Replace the API key with a current OdiRouter key |
| Model not found | Copy the model ID from GET https://www.odirouter.ai/v1/models |
| Editing behavior is too broad | Start with Kilo Code plan or ask it to show a diff before applying changes |