OAuth subscription
ag/Antigravity
Google Cloud Code Assist — Gemini 3 + Claude via Vertex.
antigravity.googleQuick setup
Open the kRouter dashboard at http://localhost:20128
Go to Providers → click the Antigravity tile
Click Connect and complete the OAuth flow in your browser
Test the connection — kRouter auto-refreshes tokens from here on
Use in your IDE
Point any OpenAI-compatible client at kRouter using your local API key.
# Endpoint
http://localhost:20128/v1
# API key (from Dashboard → API Keys)
sk-krouter-XXXX
# Model
ag/gemini-pro-agentHow Antigravity billing works with kRouter
Antigravity connects with your existing subscription — kRouter signs in with OAuth and reuses the plan you already pay for, so there is no per-token bill. kRouter authenticates it via oauth. 10 models are routable as ag/<model>.
Through kRouter, Antigravity serves chat and code completion and image generation, exposed on /v1/images/generations. Requests reach it through the same local OpenAI-compatible endpoint as every other provider, so switching to or from Antigravity is a one-line model change in your client rather than a rewrite.
Antigravity models & pricing
Prices are USD per 1M tokens, cheapest first. You are not billed per token on this provider — the figures show what the same model costs elsewhere, which is what routing here saves you.
| Model | Route as | Input /1M | Output /1M |
|---|---|---|---|
| GPT-OSS 120B (Medium) | ag/gpt-oss-120b-medium | $0.50 | $2.00 |
| Gemini 3.5 Flash (High) | ag/gemini-3-flash-agent | $0.50 | $3.00 |
| Gemini 3.5 Flash (Medium) | ag/gemini-3.5-flash-low | $0.50 | $3.00 |
| Gemini 3.5 Flash (Low) | ag/gemini-3.5-flash-extra-low | $0.50 | $3.00 |
| Gemini 3 Flash | ag/gemini-3-flash | $0.50 | $3.00 |
| Gemini 3.1 Flash (Image) | ag/gemini-3.1-flash-image | $0.50 | $3.00 |
| Gemini 3.1 Pro (Low) | ag/gemini-3.1-pro-low | $2.00 | $12.00 |
| Claude Sonnet 4.6 (Thinking) | ag/claude-sonnet-4-6 | $3.00 | $15.00 |
| Gemini 3.1 Pro (High) | ag/gemini-pro-agent | $4.00 | $18.00 |
| Claude Opus 4.6 (Thinking) | ag/claude-opus-4-6-thinking | $5.00 | $25.00 |
Antigravity links
Antigravity FAQ
Is Antigravity free through kRouter?
Antigravity does not bill per token here — kRouter uses your existing subscription via OAuth, so the only cost is whatever you already pay Antigravity directly. kRouter itself is MIT-licensed and free.
How do I use Antigravity with Claude Code or Cursor?
Connect Antigravity in the kRouter dashboard, then point your tool at kRouter's local endpoint (http://localhost:20128/v1) with a kRouter API key. Any OpenAI-compatible client works, and models are addressed as ag/<model>.
Which Antigravity models can kRouter route to?
10 models, including Gemini 3.5 Flash (High), Gemini 3.5 Flash (Medium), Gemini 3.5 Flash (Low). Every one is addressed as ag/<model> from any client.
What happens when Antigravity is rate limited?
kRouter detects the limit, parks that account until its real reset time, and fails over to your next connected account or provider — so the request still completes instead of erroring.