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

# Gemini

> Configure Oryx to use Google's Gemini AI model

Gemini 2.5 Flash is fast, powerful, and free. Google AI Studio gives you 20 requests per minute at no cost - perfect for Oryx.

## Get your API key

### Step 1: Go to Google AI Studio

Visit [aistudio.google.com](https://aistudio.google.com) and click **Get API key** in the left sidebar.

<img src="https://mintcdn.com/lol-87e214d6/eTkn-8G54o6wzba3/images/google-ai-studio.png?fit=max&auto=format&n=eTkn-8G54o6wzba3&q=85&s=373938ce9e1bba52d83691fe549e4fd6" alt="google-ai-studio.png" width="1710" height="1419" data-path="images/google-ai-studio.png" />

### Step 2: Create a new project

Click **Create API key**, then name your project and click **Create key**.

<img src="https://mintcdn.com/lol-87e214d6/eTkn-8G54o6wzba3/images/create-new-project.png?fit=max&auto=format&n=eTkn-8G54o6wzba3&q=85&s=fe05ac599b6276185c9dbf12e93bad0a" alt="create-new-project.png" width="1710" height="1419" data-path="images/create-new-project.png" />

### Step 3: Copy your API key

Your key will appear in the list. Click on it to copy.

<img src="https://mintcdn.com/lol-87e214d6/eTkn-8G54o6wzba3/images/copy-key.png?fit=max&auto=format&n=eTkn-8G54o6wzba3&q=85&s=f2ec53d763842488f5c007116048d868" alt="copy-key.png" width="1710" height="1419" data-path="images/copy-key.png" />

## Configure Oryx

### Step 1: Open LLM settings

Click the settings icon in Oryx, then click **USE** on the Gemini card.

<img src="https://mintcdn.com/lol-87e214d6/O9XLDfru6PWWJNIk/images/llm-provider.png?fit=max&auto=format&n=O9XLDfru6PWWJNIk&q=85&s=b27b13ebf5195ed8c524ac3f7576e181" alt="SCR-20251006-mkpi.png" width="1280" height="827" data-path="images/llm-provider.png" />

### Step 2: Configure your provider

In the provider configuration:

1. Set **Model ID** to `gemini-2.5-flash`
2. Paste your API key in the **API Key** field
3. Check **Supports Images**
4. Set **Context Window Size** to `1000000` (1 million tokens)
5. Click **Save**

<img src="https://mintcdn.com/lol-87e214d6/HQWW0FFWRvqlfAYo/images/provider-setting.png?fit=max&auto=format&n=HQWW0FFWRvqlfAYo&q=85&s=59b15163df7b8e3fb25079358d3e109b" alt="SCR-20251006-mnhm.png" width="1280" height="827" data-path="images/provider-setting.png" />

Done! You're ready to use Oryx with Gemini.
