Gemini
export LLM_PROVIDER=geminiexport GEMINI_API_KEY=AI...Configuration
Section titled “Configuration”| Variable | Default | Description |
|---|---|---|
GEMINI_API_KEY | — | Your Google AI API key |
LLM_MODEL | gemini-1.5-flash | Override the default model |
Available models
Section titled “Available models”Any Gemini model ID works. Common options:
gemini-1.5-flash(default) — fast and cost-effectivegemini-1.5-pro— higher qualitygemini-2.0-flash— latest generation
Get an API key
Section titled “Get an API key”- Go to aistudio.google.com
- Sign in with your Google account
- Click Get API key
- Create a key for your project