Skip to content
ProductJuly 25, 2026

Bring your Antigravity credential to AnyRouter

A CLI that finds your local Antigravity credential, shows you exactly what it found, and uploads it as a BYOK key — with pool donation as a separate, explicit opt-in.

One more provider behind one API

Antigravity is Google's agentic IDE. If you have it installed, you can now add its local credential to AnyRouter as a BYOK key — the same Bring Your Own Key model that already covers 60+ providers here — and route your own Antigravity-backed traffic through the same OpenAI-compatible endpoint you use for everything else.

Antigravity's local credential format isn't publicly documented, so this isn't a one-click OAuth handoff. A small CLI does the finding and shows you exactly what it found before anything moves; you decide whether to proceed.

Find it, review it

On the machine where Antigravity is installed:

anyr byok locate antigravity

That scans a handful of plausible per-OS config directories — no network calls, nothing written or modified — and reports either a list of candidate files with a masked preview of each (only the last four characters shown), or a plain "nothing found here" if your install stores things somewhere else.

Add it — nothing happens without --yes

To actually upload it as a BYOK key:

anyr byok add antigravity --yes

Run it without --yes first and it's a dry run: same file, same masked preview, a plain description of exactly what will happen (the value gets encrypted and stored under an Antigravity (Google) key, your own future requests route through it, billed to your own Google account) — and nothing is sent anywhere. Add --yes once you've read that and you're sure.

It behaves like any other BYOK key from there: encrypted at rest, routes your own requests through your own credential, and AnyRouter never charges credits for BYOK traffic.

Pool donation is a separate decision

Adding a key never donates it. Donating it to the shared pool — so it can also serve other users' requests, earning you a share of the notional cost back — takes two explicit flags together:

anyr byok add antigravity --yes --donate --donate-yes

--donate alone shows you the donor consent text and stops there — you have to also pass --donate-yes to actually confirm it and donate. The same toggle is available from the dashboard at any time, with the same consent screen, and you can withdraw a donated key whenever you want.

One honest caveat

If what Antigravity issues locally is a short-lived OAuth access token rather than a long-lived API key, the copy stored in AnyRouter will simply stop working once it expires. Antigravity keeps refreshing its own local copy in the background; AnyRouter's stored copy doesn't share in that refresh. If requests against your Antigravity key start failing, that's the most likely reason — re-run anyr byok add antigravity to replace it with a fresh value.

We'd rather tell you that up front than have it surprise you mid-session.

Route your first request in 2 minutes

Start free with your own keys, or top up and pay per token. Get $4/mo in credits and free models on Go — $2/mo, or free when you donate a provider key.

Start free