Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Setup guide - Documented by Cline

Use OpenRouter in Cline

Cline has OpenRouter in its API Provider dropdown. Paste an OpenRouter API key and pick a model from the dropdown. A custom base URL is optional.

Last verified 6 steps1 official source

Steps

  1. Step 1.

    Create an OpenRouter API key on the keys page (https://openrouter.ai/keys) and copy it.

  2. Step 2.

    Open Cline Settings: click the settings icon in the Cline panel.

  3. Step 3.

    Choose "OpenRouter" from the "API Provider" dropdown.

  4. Step 4.

    Paste your OpenRouter API key into the "OpenRouter API Key" field.

  5. Step 5.

    Choose your model from the "Model" dropdown.

  6. Step 6.

    (Optional) To use a custom base URL for the OpenRouter API, check "Use custom base URL" and enter the URL. Most users leave this blank.

Caveats

  • Cline's docs name no specific model ids. Models come from the dropdown.
  • Gemini models through OpenRouter need the "Enable Prompt Caching" box checked by hand to turn on caching. Other models do not need it.

FAQ

How do I use OpenRouter in Cline?

Cline has OpenRouter in its API Provider dropdown. Paste an OpenRouter API key and pick a model from the dropdown. A custom base URL is optional.

What should I watch out for?

Cline's docs name no specific model ids. Models come from the dropdown.

Is this an official OpenRouter and Cline setup?

Cline documents this setup in its own docs. It was last checked against 1 official page on October 17, 2026.

Sources

Last verified against 1 official page.

Newsletter

New models, set up the day they ship

One email per week. New model releases, the coding tools that support them and how to wire them up.