> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gourmand.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Configure Gemini with Gobi

<Tip>
  **Discover Google models [here](https://hub.gourmand.dev/?q=Gemini)**
</Tip>

<Info>
  Get an API key from [Google AI Studio](https://aistudio.google.com/)
</Info>

## Configuration

<Tabs>
  <Tab title="YAML">
    ```yaml title="config.yaml" theme={null}
    models:
      - name: <MODEL_NAME>
        provider: gemini
        model: <MODEL_ID>
        apiKey: <YOUR_GEMINI_API_KEY>
    ```
  </Tab>

  <Tab title="JSON (Deprecated)">
    ```json title="config.json" theme={null}
    {
      "models": [
        {
          "title": "<MODEL_NAME>", 
          "provider": "gemini",
          "model": "<MODEL_ID>",
          "apiKey": "<YOUR_GEMINI_API_KEY>"
        }
      ]
    }
    ```
  </Tab>
</Tabs>

<Info>
  **Check out a more advanced configuration [here](https://hub.gourmand.dev/google/gemini-2.5-pro?view=config)**
</Info>
