Skip to content

Provider Google

wy1024 edited this page Apr 4, 2026 · 4 revisions

Google AI Studio

Use Google AI Studio's Gemini models to power your OpenClaw instances. Free tier available — no credit card required.

Overview

Detail Value
Provider name in ClawFleet google
API key prefix AIza*
Preset models gemini-3.1-pro-preview, gemini-3-flash-preview, gemini-2.5-pro
API docs ai.google.dev/docs

Step 1: Get an API key

  1. Go to aistudio.google.com
  2. Sign in with your Google account
  3. Click Get API key in the top navigation
  4. Click Create API key
  5. Select or create a Google Cloud project
  6. Copy the key — it starts with AIza

Google AI Studio offers a free tier with generous rate limits. No payment method required to start.

Step 2: Add in Dashboard

  1. Open the ClawFleet Dashboard (http://localhost:8080)
  2. In the sidebar, click Assets > Model Config
  3. Click + Add Model Config
  4. Fill in the form:
    • Name: e.g. "Gemini 3 Flash"
    • Provider: select Google
    • API Key: paste your AIza* key
    • Model: select gemini-3-flash-preview (recommended), gemini-3.1-pro-preview (most capable), or gemini-2.5-pro (stable GA)
  5. Click Test — wait for "Validated" to appear
  6. Click Configure to save

Step 3: Assign to an instance

  1. Go to Fleet > Instances
  2. Click Configure on the instance card
  3. Select your Google model config from the Model Config dropdown
  4. Optionally select a channel config
  5. Click Configure

Pricing notes

  • Free tier available — Google AI Studio provides a free tier with rate limits, making it a great choice to get started at zero cost
  • gemini-3-flash-preview — Pro-level intelligence at Flash pricing ($0.50/MTok input), best value
  • gemini-3.1-pro-preview — Google's most capable model, advanced reasoning ($2/MTok input)
  • gemini-2.5-pro — stable GA model, proven reliability for production workloads
  • Check ai.google.dev/pricing for current rates and free tier limits

Troubleshooting

"Invalid API key (HTTP 400 or 403)"

  • Ensure the key starts with AIza and was fully copied
  • Check that the Generative Language API is enabled in your Google Cloud project
  • Verify the key hasn't been deleted or restricted

"HTTP 429 — Resource exhausted"

  • You've exceeded your rate limit — wait a minute and retry, or switch to a paid plan

Test passes but instance won't respond

  • Ensure the instance is running (check the status on the instance card)
  • Check instance logs via Desktop on the instance card

Clone this wiki locally