Gemini Integration
Integrate Google Gemini 2.5 Pro and Flash models with OpenClaw.
Overview
Google Gemini provides multimodal AI models with strong reasoning capabilities.
Available Models
- Gemini 2.5 Pro — Best for complex reasoning and long context
- Gemini 2.5 Flash — Fast and cost-effective
- Gemini 2.0 — Previous generation, stable
Configuration
{
"agents": {
"default": {
"provider": "google",
"model": "gemini-2.5-pro"
}
}
}Environment Variables
export GOOGLE_API_KEY="AIza..."Get API Key
- Visit aistudio.google.com
- Click Get API Key
- Create a key and set as
GOOGLE_API_KEY
Next Steps
- Integration Overview — All supported providers
- AI Agent — Agent configuration