RESOURCE_EXHAUSTED: Antigravity CLI 1.4.9 with Gemini API key

Antigravity CLI 1.4.9
Gemini API key
Gemini 4 Argon (High)

Task: review a small codebase

Within 1-2 minutes after prompting for the code review:
agent executor error: generating and executing: Error 429, Message: Resource has been exhausted (e.g. check quota)., Status: RESOURCE_EXHAUSTED, Details: []

The “Gemini API Rate Limit” dashboard for our enterprise shows that we are no where near our API rate limits

Hi @Nick_Youngblut1 ,

Welcome to the Forum,

Thanks for the details! When the Antigravity CLI is signed in with a Gemini API key, requests go to the Gemini API and count against the Google Cloud project that the key belongs to. So this 429 comes from the Gemini API, not from Antigravity’s plan quota.

A few things to check:

  • Is the key from the same project as your dashboard? Limits apply per project, so if the key was created in a different project (for example a personal or free-tier project), that project’s limits apply. You can check the key’s project in AI Studio → API keys or the Google Cloud console.
  • Per-model limits: limits are set per model. Check the requests-per-minute, tokens-per-minute and requests-per-day limits for Gemini 4 Argon specifically, since they can be lower than for other models. Reviewing a codebase sends large prompts, which can hit the tokens-per-minute limit even when request counts are low.
  • Temporary capacity: your error has no quota details (Details: []). That often means temporary high demand on the model rather than your project’s own limit. The CLI already retries automatically, so if it still fails, waiting a few minutes and trying again usually helps. You can also switch to another model for that task.

To request higher limits for this model, please contact your Google Cloud / Gemini API account team.

It appears to be temporary high capacity, so a poor UX due to lack of compute allocation by Google