Google Antigravity ACP using "custom-agent" consumes 4x quota per token
Google Antigravity CLI 1.5.17 drains Gemini 4 Neon quota at 4.00 times the rate of 1.5.16 per token when developers execute sessions with custom agents.
By Dillip Chowdary • Nov 29, 2026 • Source: github.com

At a glance
- Product
- Google Antigravity CLI
- Version
- 1.5.17 (regressed vs 1.5.16)
- Price
- Free CLI with consumer OAuth plan
- Date
- November 26, 2026
- Availability
- Linux x86_64 Fedora 45 and Ubuntu
- Limits
- 4.00x quota draw on weekly and 5-hour limits
In this post
Google released version 1.5.17 of the Antigravity command line interface, introducing a billing regression that quadruples token consumption for custom agent workflows. According to github.com's report, invoking headless sessions through the Agent Client Protocol with a custom agent consumes exactly 4.00 times the Gemini weekly and five-hour quota per token compared to version 1.5.16. The issue occurs across identical models, prompts, and agent configurations without any disclosure in official release notes.
This report covers the automated headless reproduction methodology, exact billing metrics across CLI versions, and the operational impact on engineering accounts. It is intended for software engineers, automated pipeline architects, and developers managing custom agents through the Antigravity protocol.
01Fourfold quota multiplier on custom agents
Antigravity CLI version 1.5.17 introduced a regression where custom agent executions draw down consumer OAuth Gemini quotas at four times the baseline rate. When engineers invoke headless sessions using the agent parameter, both five-hour and weekly allocation windows diminish four times faster than in version 1.5.16. Standard sessions that run without specifying a custom agent remain entirely unaffected, maintaining the expected consumption pace.
The discrepancy appeared without any mention in the official version 1.5.17 release documentation. Developers tracking remaining allocation fractions discovered that identical tasks executed with Gemini 4 Neon XHigh consumed significantly larger portions of their quota budget. Under normal operation, a single percentage point of weekly quota corresponds to roughly six dollars in API value, but custom agents on version 1.5.17 yield only one-fourth of that capacity.
02Headless stdio protocol reproduction sequence
Software developer mascarenhas isolated the defect using an empty repository containing only a Git directory and a minimal custom agent file named notools-custom.md. The agent configuration excluded all default components, disabled tool definitions, and contained a single instruction to answer directly. Testing utilized a headless Python runner communicating across standard input and output channels directly with the Antigravity ACP binary.
- Directory preparation Create an isolated repository containing a Git folder and a tool-free custom agent configuration.
- Baseline recording Query the CLI usage endpoint with auto-updates disabled until consecutive JSON responses agree.
- Turn execution Initialize an ACP session, select Gemini 4 Neon XHigh, and dispatch a prompt with a fresh UUID nonce.
- Quota comparison Poll the usage endpoint until consecutive reads stabilize, recording the difference against SQLite token metadata.
- Control verification Repeat the execution sequence across both CLI releases and evaluate results against default agent sessions.
Each test run dispatched a prompt asking for the first 25 prime numbers, their mathematical sum, and a one-sentence explanation of why one is not prime. Incorporating a fresh UUID nonce prevented the server from serving cached token completions, guaranteeing fresh model generations on every execution.
03Controlled consumption metrics and token deltas
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
Benchmarking Gemini 4 Neon token usage across both client versions revealed consistent underlying model generation alongside divergent billing deductions. At standard API rates of three dollars per million input tokens and fifteen dollars per million output tokens, a single turn on version 1.5.16 drew 740 input tokens and 2,441 output tokens. This generated an API-equivalent cost of $0.038835 while consuming 0.006470 percentage points of weekly quota.
| Run | CLI version | agentScript | Neon tokens (in / out) | API equiv. | Weekly Δ | 5h Δ | $/weekly pp | Relative burn |
|---|---|---|---|---|---|---|---|---|
| Custom agent | 1.5.16 | true | 740 / 2,441 | $0.038835 | 0.006470 pp | 0.025886 pp | $6.0022 | 1.00× |
| Custom agent | 1.5.17 | true | 737 / 3,066 | $0.048201 | 0.032133 pp | 0.128532 pp | $1.5001 | 4.001× |
| Default agent run 1 | 1.5.16 | false | 12,007 / 2,868 | $0.079041 | 0.013173 pp | 0.052696 pp | $6.0004 | 1.00× |
| Default agent run 2 | 1.5.16 | false | 12,009 / 2,741 | $0.077142 | 0.012857 pp | 0.051421 pp | $6.0001 | 1.00× |
| Default agent run 1 | 1.5.17 | false | 12,001 / 3,317 | $0.085758 | 0.014293 pp | 0.057173 pp | $5.9999 | 1.00× |
| Default agent run 2 | 1.5.17 | false | 12,003 / 3,014 | $0.081219 | 0.013536 pp | 0.054145 pp | $6.0001 | 1.00× |
On version 1.5.17, the same custom agent prompt generated 737 input tokens and 3,066 output tokens, totaling an API equivalent of $0.048201. However, the client deducted 0.032133 percentage points from weekly quota and 0.128532 percentage points from the five-hour allowance. The effective value per weekly percentage point dropped from $6.0022 down to $1.5001, proving a relative burn multiplier of 4.001 times.
04Zero monitor calls and isolated trajectories
Investigation into local server logs confirmed that the quota inflation does not stem from previously documented safety escalation bugs. Earlier reports identified an issue where safety pre-check rate limits caused secondary reviews by larger models, inflating consumption by 2.6 times. The reproduction logs in the 1.5.17 testing showed zero background monitor calls, zero HTTP 429 throttling codes, and exactly two standard generation requests for title creation and turn output.
The findings also ruled out concurrent process resume defects where startup sequences inadvertently reconnect to background conversation threads. Inspecting runtime logs from the ACP server directory showed clean trajectory creation with the custom agent flag set to true across both software versions. Because both runs operated in complete process isolation, cross-session interference and runaway fork conditions were completely absent during testing.
Note: While diagnostic server logs confirm that internal execution mechanics and stream counts operated identically between releases, the backend billing system recorded four times the usage exclusively when custom agent flags were enabled. Default agent runs remained unaffected on the same infrastructure.
05Rapid allowance exhaustion across developer accounts
Developers participating in Antigravity development channels on November 26 and November 27 confirmed widespread quota exhaustion following the 1.5.17 deployment. User lolmatikx reported that five-hour usage allowances depleted in 45 minutes instead of the customary four to five hours. Contributor Pgooone observed even faster exhaustion, noting that five-hour limits vanished within 10 minutes of active usage.
Another engineer, uni1k, documented that a single testing session entirely emptied their five-hour allocation and drained more than half of their weekly quota. Community members EricGao-Byte and dbrenzis reported identical exhaustion, while collaborator yaoshengzhe acknowledged the issue thread. Because custom configurations are standard for restricting agent tools, the fourfold multiplier rapidly depletes automated developer pipelines.
Frequently asked questions
What causes the 4x quota consumption in Antigravity CLI 1.5.17?
Running sessions via the Agent Client Protocol with the custom agent flag consumes four times the normal quota per token compared to version 1.5.16.
Are default agent sessions affected by the 1.5.17 quota regression?
No, running the default agent without the custom agent flag consumes quota at the standard rate of approximately six dollars API equivalent per weekly percentage point.
Does the quota multiplier stem from safety monitor retries or prompt caching?
Diagnostic logs confirm the runs made zero safety monitor calls, encountered zero HTTP 429 errors, used fresh nonces to prevent caching, and made exactly two API requests.
How quickly are developers draining their usage allowances on version 1.5.17?
Community members report five-hour usage windows draining within ten to forty-five minutes rather than four to five hours, while weekly allowances drop by more than half.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement