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

Setup guide - Documented by Cline

Use Gemini in Cline

Cline has a built-in Google Gemini API provider: choose it in settings, paste a Gemini API key, pick a model.

Last verified 5 steps2 official sources

Steps

  1. Step 1.

    Get API credentials: go to Google AI Studio, navigate to aistudio.google.com/apikey, click "Create API Key" and select or create a Google Cloud project, then copy the key.

  2. Step 2.

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

  3. Step 3.

    Select Provider: Choose "Google Gemini" from the "API Provider" dropdown.

  4. Step 4.

    Enter API Key: Paste your Google AI API key into the "Gemini API Key" field.

  5. Step 5.

    Select Provider Model: Choose your desired model from the "Model" dropdown.

Caveats

  • Cline's Gemini page does not list model ids; the ids above come from Google's models page. Which ids appear in Cline's Model dropdown depends on the installed Cline version and was not verified.
  • The key is entered in the UI; no environment variable is documented for this provider.

FAQ

How do I use Gemini in Cline?

Cline has a built-in Google Gemini API provider: choose it in settings, paste a Gemini API key, pick a model.

Which Gemini model ids work in Cline?

The official docs read for this guide list gemini-4-argon, gemini-3.8-flash, gemini-3.6-flash, gemini-3.5-flash-lite, gemini-3.1-pro-preview, gemini-2.5-pro and gemini-2.5-flash.

Is this an official Gemini and Cline setup?

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

Sources

Last verified against 2 official pages.

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.