`antigravity-acp` never draws on AI credits when the plan quota is exhausted (credits work in the app)

I use T3 Code, which runs the official, unmodified antigravity-acp server (v1.3.0, oauth-personal sign-in, macOS 26.5 arm64). Thread #197131 confirms that use is permitted. I’m on a Google AI Pro plan with purchased AI credits, and AI Credit Overages is set to always use them.

What happens. Through the ACP server, Gemini 4 Argon uses my Pro plan quota normally. Once that quota runs out, every prompt returns “Usage Limit Reached… Your limit will reset in 3 days, 23 hours.” My AI credits are never used. In the Antigravity app, with the same account at the same time, the same model keeps working and draws on the credits.

What I checked

  • settings.json accepts only auth (type) and gcp (project, location). Other keys are ignored with a warning. There is no credits option, and the gateway guide documents none.
  • useAiCredits: true in the app’s config.json has no effect on the ACP server. I also tried the same userSettings.useAiCredits key in a config.json under the ACP server’s GEMINI_HOME, and got the identical notice.
  • The agy CLI has the same class of problem (#52, #184, #1352 in antigravity-cli), but at least has a credits setting.

Questions

  1. Is there a supported way to make antigravity-acp use AI credits when the plan quota is exhausted?
  2. If not, is it planned? The ACP server defines an enableAiCredits request field, but I couldn’t find a way to set it.

Thank you.

Hi @nerophon,

Thank you for the detailed report and troubleshooting steps. Here are direct answers to both of your questions, along with the options available right now:

  • Is there a supported way to make antigravity-acp use AI Credits when plan quota is exhausted?

    • No — antigravity-acp (v1.3.0) does not currently support drawing on Google One AI Credits.
      • As you observed, ~/.gemini/antigravity-acp/settings.json currently accepts only the auth (type) and gcp (project, location) configuration blocks.
      • antigravity-acp maintains an isolated configuration and credential scope under ~/.gemini/antigravity-acp/ (or $GEMINI_HOME/antigravity-acp/) and does not read useAiCredits from the Antigravity App’s config.json or useG1Credits from the Antigravity CLI’s settings.json. Because of this, oauth-personal requests sent through antigravity-acp only consume included plan quota and stop with Usage Limit Reached once that bucket is depleted.
  • Is AI Credits support planned, and what is enableAiCredits?

    • About enableAiCredits: That field comes from shared internal runtime schemas bundled inside the binary (used by the Antigravity App, IDE, and CLI). In antigravity-acp v1.3.0, it is not wired to any settings.json key, environment variable, or ACP request/session parameter, so it cannot be toggled from an ACP client today.
    • Feature request status: We have logged your feedback with the antigravity-acp engineering team to support Google One AI Credit overages over ACP. While we cannot share a specific release timeline yet, updates will be posted in the antigravity-acp release notes as new versions ship.

Workarounds Available Today

  1. Switch to Gemini 3.8 Flash in antigravity-acp to keep using your Google AI Pro plan quota: On paid Google AI Pro plans, Gemini 4 Argon uses its own separate weekly quota allocation distinct from your main Gemini plan quota. Hitting the weekly reset timer on Gemini 4 Argon does not exhaust your included Pro plan allowance for Gemini 3.8 Flash (High, Medium, or Low) — you can run /usage inside your ACP session to check your remaining Gemini Models quota and switch models in your ACP client to keep working on your plan right away.
  2. Use your purchased Google One AI Credits in Antigravity surfaces: To continue running Gemini 4 Argon backed by your Google One AI Credits while the weekly Argon plan allocation is exhausted, you can use:
    • Antigravity App / IDE: Ensure Settings > Models > Enable AI Credit Overages (under Model Credits) is turned on.
    • Antigravity CLI (agy): Enable Use AI Credits via /config (or "useG1Credits": true in ~/.gemini/antigravity-cli/settings.json). Note that GitHub #1352 tracks the opposite CLI quirk (turning off Use AI Credits in the CLI when it is already enabled in the App), so AI Credit overages work in interactive agy CLI sessions.
  3. Optional pay-as-you-go API / Cloud billing in antigravity-acp (separate from Google One AI Credits): If you specifically need pay-as-you-go access inside antigravity-acp (billed to your Gemini API or Google Cloud account rather than your Google One AI Credits balance), antigravity-acp supports:
    • Gemini API ("auth": { "type": "gemini-api-key" }): Authenticates via GEMINI_API_KEY for standard Gemini API models (Gemini 3.8 Flash, Gemini 3.1 Pro, etc.; note that Gemini 4 Argon is not served on the gemini-api-key path).
    • Gemini Enterprise Agent Platform (Preview) ("auth": { "type": "agent-platform" }): Authenticates via Application Default Credentials or GOOGLE_API_KEY with "gcp": { "project": "<YOUR_PROJECT_ID>", "location": "global" } for Google Cloud projects with Agent Platform model access (including Gemini 4 Argon at location: "global")

I’ve been having the same problem. I have also tried the workarounds you suggest and none of those worked for me. This issue defeats the purpose of having a paid plan.