How to use API key with Antigravity

At the recommendation of Google Gemini I bought an 25 euro API key from the Google AI Studio. I’m now trying to us it in Google AntiGravity, but I cannot find a way. Is this possible? Why is it so hard?

Gemini walked me through a whole host of things in the command line without success. Surely the UI should just make this plug and play?

i have de same question..

Hi @losvast,

Currently, there is no way to use a standalone API key created in Google AI Studio to power the models inside the Antigravity CLI or IDE. As outlined in the documentation, there is no support for a “Bring Your Own Key” setup at this time.

You can absolutely still use Antigravity on the baseline (Free) tier simply by logging in via OAuth (using the command agy login). However, if you need higher quotas and faster rate limit resets, those benefits are tied directly to your logged in Google Account through the Google AI Pro or Ultra subscription plans. You can check out exactly how the account-based tiers and quotas map out in the Antigravity Plans Documentation.