Documentation Index
Fetch the complete documentation index at: https://docs.wednesdayai.dev/llms.txt
Use this file to discover all available pages before exploring further.
AI Studio API key
Obtain a key from aistudio.google.com → Get API key.| Source | Key / path |
|---|---|
| Environment variable | GOOGLE_API_KEY |
| Stored credential | ~/.openclaw/credentials/google |
Vertex AI
For production GCP deployments, use a service account instead of an API key.- Create a service account in IAM & Admin with the Vertex AI User role.
- Download a JSON key file.
- Set the environment variable:
When
GOOGLE_APPLICATION_CREDENTIALS is set, the gateway uses Vertex AI authentication automatically. The GOOGLE_API_KEY variable is ignored.Selecting a model
| Model | ID |
|---|---|
| Gemini 2.0 Flash | gemini-2.0-flash |
| Gemini 2.5 Pro | gemini-2.5-pro |
| Gemini 1.5 Flash | gemini-1.5-flash |
openclaw status --providers to list models available on your key.
Troubleshooting
API key rejected
API key rejected
Ensure the key was created in AI Studio (not Cloud Console) and has the Generative Language API enabled. Visit console.cloud.google.com/apis and enable Generative Language API.
Vertex AI permission denied
Vertex AI permission denied
The service account is missing the Vertex AI User (
roles/aiplatform.user) role. Add it in IAM & Admin.Model not found
Model not found
Not all Gemini models are available in all regions. If using Vertex AI, try a different
GOOGLE_CLOUD_REGION or check the Vertex AI model availability table.