Roo Code
Roo Code can use OdiRouter through the OpenAI Compatible provider in its provider settings.
Requirements
Section titled “Requirements”| Requirement | Value |
|---|---|
| Editor | VS Code with Roo Code installed |
| Provider | OpenAI Compatible |
| Base URL | https://www.odirouter.ai/v1 |
| API Key | OdiRouter API key |
| Model | An OdiRouter LLM model ID |
Install Roo Code
Section titled “Install Roo Code”- Open VS Code.
- Open the Extensions marketplace.
- Search for
Roo Code. - Install Roo Code and open its sidebar panel.
Configure OdiRouter
Section titled “Configure OdiRouter”- Open Roo Code settings from the sidebar.
- Go to the provider or API configuration section.
- Set
API ProvidertoOpenAI Compatible. - Set
Base URLtohttps://www.odirouter.ai/v1. - Paste your OdiRouter API key.
- Set
ModelorModel IDto an OdiRouter model, such asgpt-5.5. - Save the provider.
Verify The Connection
Section titled “Verify The Connection”Run a read-only task first:
Inspect the current workspace and summarize the technology stack. Do not edit files.Then test a small planning task:
Suggest the smallest verification command for this project.Direct API Check
Section titled “Direct API Check”curl -sS "https://www.odirouter.ai/v1/models" \ -H "Authorization: Bearer YOUR_API_KEY"Troubleshooting
Section titled “Troubleshooting”| Symptom | Fix |
|---|---|
| Provider does not save | Reopen Roo Code settings and confirm OpenAI Compatible is selected |
401 or invalid API key | Paste a fresh OdiRouter API key |
| Model not found | Use the exact model ID returned by /models |
| Streaming stalls | Try a different OdiRouter model or disable streaming if Roo Code exposes that option |