# Google Gemini

> Learn how to configure and use Google Gemini with Cline.

- 网址：https://funcoding.ai/agents/cline/provider-config/google-gemini/
- 来源：Cline 官方文档原文（英文），Apache-2.0 许可，同步于 2026-10-11
- 官方原文：https://docs.cline.bot/provider-config/google-gemini

---
Google Gemini is Google's family of multimodal AI models, offering some of the largest context windows available and strong performance across coding, reasoning, and document analysis tasks.

**Website:** [https://ai.google.dev/](https://ai.google.dev/)

### Get API Credentials

1.  **Sign Up/Sign In:** Go to [Google AI Studio](https://aistudio.google.com/). Sign in with your Google account.
2.  **Get API Key:** Navigate to [aistudio.google.com/apikey](https://aistudio.google.com/apikey).
3.  **Create a Key:** Click "Create API Key" and select or create a Google Cloud project.
4.  **Copy the Key:** Copy the API key immediately and store it securely.

### Configuration in Cline

> See [Authorization & Model Selection](https://funcoding.ai/agents/cline/getting-started/authorizing-with-cline/#menu).

1.  **Open Cline Settings:** Click the settings icon (⚙️) in the Cline panel.
2.  **Select Provider:** Choose "Google Gemini" from the "API Provider" dropdown.
3.  **Enter API Key:** Paste your Google AI API key into the "Gemini API Key" field.
4.  **Select Provider Model:** Choose your desired model from the "Model" dropdown.

### Tips and Notes

-   **Pricing:** Refer to the [Google AI pricing page](https://ai.google.dev/gemini-api/docs/models/gemini) for the latest information.
