API documentationIntegrationsContinue

Continue

VS Code / JetBrains assistant · Chat Completions

Continue's generic openai provider plus an apiBase line is all it takes — one YAML entry per model you want in the selector.

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

Add a model entry to ~/.continue/config.yaml using the generic openai provider with apiBase.

~/.continue/config.yaml
models:
  - name: KoRouter model-name
    provider: openai
    model: model-name
    apiBase: https://korouter.ai/v1
    apiKey: sk-your-key
    roles:
      - chat
      - edit

Verify

Reload the editor, pick the entry in Continue's model selector, and send a chat message. The call lands on Usage.

If it fails

  • requests go to api.openai.comthe entry must set apiBase; without it, the openai provider uses the default endpoint.
  • older installlegacy versions read config.json — the field names (apiBase, apiKey) are the same.
  • no autocompleteautocomplete is a separate role; add a dedicated model entry for it rather than reusing the chat entry.

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.