Supported Models
Setup
1
Get an API key
Go to aistudio.google.com and create an API key (free tier available).
2
Set the environment variable
3
Verify
Environment Variables
string
required
Your Google AI API key. Either
GOOGLE_API_KEY or GOOGLE_GENERATIVE_AI_API_KEY is accepted.string
Alternative variable name for the Google API key. Takes precedence over
GOOGLE_API_KEY if both are set.Configuration Example
- .env
- settings.yml
Model Aliases
Usage Examples
Notes
- Gemini 1.5 Pro has a 2M token context window - the largest of any profClaw provider.
- Gemini 1.5 Flash is very cheap at $0.075/1M input tokens, good for high-volume tasks.
- Free tier is available via Google AI Studio with rate limits.
- For Google Workspace / enterprise use, see the Vertex AI option via a custom
base_url.
Related
- AI Providers Overview - Compare all 37 supported providers
- Anthropic - Claude models with native tool calling
- OpenRouter - Access Gemini via OpenRouter for routing flexibility
- profclaw provider - Add and test providers from the CLI