API documentationIntegrationsCline

Cline

VS Code agent extension · Chat Completions

Cline ships an OpenAI Compatible provider that takes a base URL directly — no settings surgery, just three fields.

Base URL · OpenAI-compatible

https://korouter.ai/v1

Plus an API key from Keys and a bare model ID from Models. Every price on the catalog sits below the provider's official rate — pay as you go.

Setup

  1. 1. In the Cline panel, open Settings → API Configuration.
  2. 2. Set API Provider to OpenAI Compatible, Base URL to https://korouter.ai/v1, paste the key, and enter a bare model ID.
  3. 3. Save and start a task.

Verify

Give it a short task such as "reply with OK". The request shows up on Usage; streaming works without further configuration.

If it fails

  • no base-URL fieldchoose OpenAI Compatible, not OpenAI — only the compatible provider exposes one.
  • output truncates earlyset the model's context window in Cline's advanced model settings to the value shown on the model card.

Troubleshooting

The failures below account for nearly every unsuccessful first connection, whatever the tool.

StatusSymptomFix
401Key missing, mistyped, or deletedRe-copy the key from Keys and confirm which header your tool sends — Authorization: Bearer or x-api-key.
403No credits on the account (INSUFFICIENT_BALANCE)Add credits first. Verify buttons and test prompts inside tools fire real requests.
404Model not foundSend the bare model ID exactly as listed on Models — no provider/ prefix in the request body.
429Concurrency or key spend limit reachedLower parallel requests, or raise the key's spend limit, then retry with backoff.

The full status-code table, retry guidance, and error envelopes are in Errors & limits. Still stuck? Email support@korouter.ai with the tool name, the model ID, and the exact error text.

Other tools

Free to sign up, no monthly fee — pay as you go with credits.