Free Google Antigravity OAuth proxy for OpenClaw.
Unlocks free access to:
- Gemini 3 Flash ✅
- Gemini 2.5 Pro ✅
- Gemini 2.5 Flash ✅
- Claude Sonnet 4.6 ✅ (via Google's quota)
- Gemini 3 Pro / 3.1 Pro (rolling out)
Multi-account rotation — automatically switches accounts when one hits rate limits.
- OpenClaw installed
- Node.js 18+
- One or more Google accounts
npm install -g openclaw-antigravity1. Add your Google account(s):
openclaw-antigravity loginOpens a browser → sign in with Google → done. Run again for each account.
2. Install as a system service (auto-starts on boot):
openclaw-antigravity install3. Configure OpenClaw to use Antigravity models:
openclaw models set google-antigravity/gemini-3-flashCheck status:
openclaw-antigravity statusAvailable models in OpenClaw:
google-antigravity/gemini-3-flash
google-antigravity/gemini-3-pro
google-antigravity/gemini-3.1-pro
google-antigravity/gemini-2.5-pro
google-antigravity/gemini-2.5-flash
google-antigravity/gemini-2.0-flash
google-antigravity/claude-sonnet-4-6
google-antigravity/claude-opus-4-6-thinking
The proxy runs locally on http://localhost:4242 and exposes an OpenAI-compatible API. It reads OAuth tokens from OpenClaw's auth store (~/.openclaw/agents/main/agent/auth-profiles.json), auto-refreshes them, and rotates between accounts on rate limits.
Account rotation behavior:
429(rate limit) → marks account with cooldown, tries next403(banned / no permission) → permanently skips account- All accounts exhausted → returns 429 with clear error
More accounts = higher combined quota. Each Google account gets its own free tier.
openclaw-antigravity login # run once per account| Command | Description |
|---|---|
openclaw-antigravity login |
Add a Google account via OAuth |
openclaw-antigravity start |
Start the proxy manually |
openclaw-antigravity install |
Install + enable systemd service |
openclaw-antigravity uninstall |
Remove systemd service |
openclaw-antigravity status |
Show proxy health + accounts |
The proxy exposes a standard OpenAI-compatible endpoint:
POST http://localhost:4242/v1/chat/completions
GET http://localhost:4242/v1/models
GET http://localhost:4242/health
MIT