← all repositories
badrisnarayanan/antigravity-claude-proxy

Free Claude Code via Google's back door (until it slams shut)

A proxy that tricks Claude Code into talking to Google's free Cloud Code tier instead of Anthropic's paid API.

3.7k stars JavaScript Coding AssistantsLanguage Models
antigravity-claude-proxy
Velocity · 7d
+22
★ / day
Trend
steady
star history

What it does This proxy sits between Claude Code CLI and Google’s infrastructure. It accepts requests in Anthropic’s API format, rewrites them for Google’s Generative AI (specifically Antigravity’s Cloud Code sandbox), and translates the responses back. The result: you run claude locally but the compute happens on Google’s dime, not yours.

The interesting bit The real work is the protocol shim — maintaining streaming, thinking tokens, and the full Anthropic response shape while actually hitting daily-cloudcode-pa.sandbox.googleapis.com. The proxy also juggles OAuth tokens from multiple Google accounts for load balancing, which suggests the free tier has rate limits aggressive enough to need circumvention.

Key highlights

  • Supports both Claude and Gemini model families through the same Anthropic-compatible endpoint
  • Web dashboard + CLI for account management, including headless/manual OAuth flows
  • Background daemon mode with acc start/stop/restart/status commands
  • “Paid Mode” toggle that cleanly switches back to official Anthropic API without config surgery
  • Auto-detects existing Antigravity app sessions to skip setup

Caveats

  • Google has reportedly banned or shadow-banned accounts using this; the README explicitly recommends burner accounts
  • Unofficial and unendorsed; the ToS warning is not buried in fine print, it’s banner-sized
  • Requires Node 18+ and either the Antigravity app or manual Google OAuth setup

Verdict Worth a look if you’re comfortable with the account-risk tradeoff and want to experiment with Claude Code without a subscription. Everyone else — especially anyone using a Google account they can’t afford to lose — should probably keep paying Anthropic.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.