Continue.dev OpenAI-compatible API setup: Base URL, API key, and model

Configure Continue.dev with an OpenAI-compatible API provider. Use RutaAPI's Base URL, create an API key, choose an enabled model, and troubleshoot common setup errors.

Quick answer

In Continue.dev, configure an OpenAI-compatible provider with Base URL https://api.rutaapi.com/v1, your RutaAPI API key, and a model ID enabled in the RutaAPI app pricing/dashboard. Verify the key works with /v1/models before using it in Continue.dev.

Continue.dev setup table

FieldWhat to use in Continue.dev
ProviderOpenAI-compatible / OpenAI API-compatible provider
Base URLhttps://api.rutaapi.com/v1
API KeyYour RutaAPI API key
ModelA model enabled in the RutaAPI app pricing/dashboard

What Continue.dev needs When you configure Continue.dev with an OpenAI-compatible provider, you typically provide: a Provider type, a Base URL, an API Key, and a Model. All four must belong to the same provider. If you enter a Base URL from one platform and an API key from another, Continue.dev will return a 401 error. Config labels may vary slightly by Continue.dev version.

RutaAPI values for Continue.dev Base URL: https://api.rutaapi.com/v1 — always include /v1. API key: Create one after signing in to RutaAPI. Model: Use a model ID visible in the RutaAPI app pricing/dashboard.

RutaAPI disclaimer RutaAPI is an OpenAI-compatible API gateway. It is not an official Continue.dev, OpenAI, Anthropic, Google or Microsoft service. Model availability and rates depend on your account configuration and upstream providers.

How to start with RutaAPI

Step 1 — Open Continue.dev settings

Open Continue.dev settings or preferences in your editor. Look for a provider or API configuration section.

Step 2 — Choose an OpenAI-compatible provider

Select OpenAI-compatible or OpenAI API-compatible from the available provider options. This tells Continue.dev to use OpenAI-compatible request formatting.

Step 3 — Paste the RutaAPI Base URL

Enter https://api.rutaapi.com/v1 as the Base URL. Always include /v1. Do not use https://rutaapi.com, https://app.rutaapi.com, or any path ending in /chat/completions.

Step 4 — Paste your RutaAPI API key

Paste your RutaAPI API key into the API Key field. Create or copy the key from the RutaAPI dashboard at https://app.rutaapi.com. Keys are shown only once at creation — copy and store them securely.

Security: Never paste your full API key into screenshots or shared scripts. If exposed, rotate it immediately from the dashboard.

Step 5 — Enter or select a model

Enter a model ID that is enabled in your RutaAPI account. Check the RutaAPI app pricing/dashboard for enabled model IDs. Do not guess — always copy the exact ID from the dashboard or from /v1/models.

Step 6 — Verify your key before using Continue.dev

Before running any coding tasks, confirm end-to-end connectivity from the terminal:

curl https://api.rutaapi.com/v1/models \
  -H "Authorization: Bearer YOUR_RUTAAPI_KEY"

If the response returns a model list, your API key and Base URL are working. Use one of the returned model IDs as the Model in Continue.dev.

What Continue.dev needs

When you configure Continue.dev with an OpenAI-compatible API provider, you typically provide four things:

All four must belong to the same provider. Do not mix keys or Base URLs across platforms.

RutaAPI values for Continue.dev

Base URL: https://api.rutaapi.com/v1

API key: Create one after signing in to RutaAPI at https://app.rutaapi.com.

Model: Use a model ID visible in the RutaAPI app pricing/dashboard. Run GET /v1/models to see which models are enabled.

Example Continue.dev config

Here is a general Continue.dev config example. Replace the placeholder values with your actual RutaAPI credentials:

{
  "models": [
    {
      "title": "RutaAPI model",
      "provider": "openai",
      "model": "YOUR_ENABLED_MODEL_ID",
      "apiBase": "https://api.rutaapi.com/v1",
      "apiKey": "YOUR_RUTAAPI_KEY"
    }
  ]
}

Replace YOUR_ENABLED_MODEL_ID with one of the model IDs from the /v1/models response. Do not hardcode a model name you have not verified.

Config format note: Continue.dev config field names and structure may vary by version. The example above uses the OpenAI-compatible provider format. Check your installed Continue.dev version for the exact config structure and field names.

How to pick a model ID

Model IDs are returned by the GET /v1/models endpoint. Copy one of the model id values from the response and use it as the Model in Continue.dev settings.

Model availability is per-account. If a model ID is not in your /v1/models response, it is not active in your account — add credits or check the app pricing/dashboard.

Common Continue.dev setup mistakes

ProblemLikely causeFix
Continue.dev says invalid API keyWrong key, missing Bearer, expired/disabled keyCreate a new key in RutaAPI and test /v1/models
Model not foundModel ID is not enabled or typed incorrectlyCheck app pricing/dashboard for enabled model IDs
404 or endpoint not foundWrong Base URL, missing /v1Use https://api.rutaapi.com/v1
429 rate limitToo many requests or limited routeSlow down requests or choose another enabled route/model
503 / upstream unavailableUpstream route, gateway, or provider temporarily unavailableRetry, switch model route, or check status/support
Config not reloadedContinue.dev config changes need restartReload or restart Continue.dev after config changes

Cost and usage tracking

RutaAPI uses prepaid credits. Check the app pricing for model rates and the dashboard logs for usage and remaining balance.

Users should review usage logs and remaining balance after initial test calls.

View model pricing

Continue.dev setup checklist

When RutaAPI may be a good fit

When RutaAPI may not be the right fit

Ready to test RutaAPI? Use one OpenAI-compatible base URL, prepaid credits, and API keys from the dashboard.

FAQ

What Base URL should I use in Continue.dev?

Use https://api.rutaapi.com/v1 as the Base URL in Continue.dev.

Which provider should I choose in Continue.dev?

Choose OpenAI-compatible or OpenAI API-compatible provider in Continue.dev settings.

Where do I get the API key?

Create or copy your API key after signing in to RutaAPI at https://app.rutaapi.com. Keys are shown only once at creation.

What model should I use in Continue.dev?

Use a model ID enabled in your RutaAPI app pricing/dashboard. Run /v1/models to see available model IDs.

Why does Continue.dev say model not found?

The model ID may be unavailable, disabled, or typed incorrectly. Check your enabled models in the app pricing/dashboard and verify with /v1/models.

How do I test the key before using Continue.dev?

Call GET /v1/models with your RutaAPI API key. A 200 response with a model list means the key and Base URL are working.

Is RutaAPI an official Continue.dev provider?

No. RutaAPI is an OpenAI-compatible API gateway that can be configured through compatible provider settings. It is not an official Continue.dev, OpenAI, Anthropic, Google or Microsoft service.

Why does Continue.dev say invalid API key?

HTTP 401 means the API key is missing, incorrect, or sent to the wrong Base URL. Verify the key and Base URL both come from RutaAPI. Run /v1/models to confirm the key is valid.

What does 403 mean in Continue.dev?

HTTP 403 means the key exists but lacks permission. Check that your account has enough prepaid credits and that the model is enabled.

What does 404 mean in Continue.dev?

HTTP 404 means the model ID is not recognised or the Base URL is wrong. Run /v1/models and use one of the returned model id values. Do not guess.

What does 429 mean in Continue.dev?

HTTP 429 means you have hit a rate or concurrency limit. Lower the number of concurrent requests and retry.

What does 503 mean in Continue.dev?

HTTP 503 means the upstream route is temporarily unavailable. Retry, switch model route, check the RutaAPI dashboard, or review the Cloudflare 503 troubleshooting guide.