Skip to content
Home

Cline

Cline can connect to OdiRouter through its OpenAI Compatible provider. The setup is done inside the Cline extension settings.

RequirementValue
EditorVS Code or Cursor with the Cline extension installed
ProviderOpenAI Compatible
Base URLhttps://www.odirouter.ai/v1
API KeyOdiRouter API key
Model IDAn OdiRouter LLM model ID
  1. Open VS Code or Cursor.
  2. Open the Extensions marketplace.
  3. Search for Cline.
  4. Install the extension and open the Cline panel.
  1. In the Cline panel, click the settings gear.
  2. Set API Provider to OpenAI Compatible.
  3. Set Base URL to https://www.odirouter.ai/v1.
  4. Paste your OdiRouter API key.
  5. Set Model ID to an OdiRouter model, such as gpt-5.5.
  6. Save the settings.

Ask Cline a read-only question first:

Explain the structure of this repository and list the main entry points.

If the response succeeds, run a small scoped task:

Find the package manager used by this project. Do not edit files.

Use this command when Cline fails but the error message is unclear:

Окно терминала
curl -sS "https://www.odirouter.ai/v1/chat/completions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.5",
"messages": [
{
"role": "user",
"content": "Reply with: Cline connected to OdiRouter"
}
]
}'
SymptomFix
Base URL field is missingMake sure the provider is OpenAI Compatible, not the standard OpenAI provider
401 or invalid API keyRecreate the OdiRouter API key and paste it again
Model not foundQuery GET https://www.odirouter.ai/v1/models and copy the exact model ID
Request URL contains /chat/completions/chat/completionsUse https://www.odirouter.ai/v1 in the Base URL field, not the full endpoint