the short version
- In agy 1.5.17, an ACP session started with --agent <custom-agent> was measured consuming 4.00x the Gemini weekly and 5-hour quota per token of 1.5.16. The default agent's rate was unchanged.
- A collaborator on the google-antigravity/antigravity-cli repository closed the issue as intentional. Conversations run by .agents/agents/* files, plugin agents and their subagents are billed as custom-agent requests at a higher rate.
- The multiplier does not appear in the 1.5.17 release notes. The sources point to no documentation for it beyond that GitHub comment.
- The stated workaround is to drop --agent and move instructions into AGENTS.md, GEMINI.md or skills. Custom-agent conversations show agentScript=true in the acp-server logs.
Starting in Antigravity CLI 1.5.17, running agy acp --agent <custom-agent> uses 4.00x the Gemini weekly and 5-hour quota per token compared with 1.5.16. The default agent's per-token rate is the same in both versions. A collaborator on the google-antigravity/antigravity-cli repository says the change is intentional and that custom-agent conversations draw quota at a higher rate. The default agent and built-in agents are unchanged. For the standard rate, the guidance is to run without --agent and put instructions in rules or skills.
The report is issue #1890 on google-antigravity/antigravity-cli, opened on November 26, 2026 by mascarenhas. Its labels include regression issue, comp:billing/quota and ACP. It was closed as completed on November 27, after the collaborator's reply. Any harness that launches agy acp with --agent and a custom agent file falls inside the scope that comment describes.
Custom agents burn 4x quota per token
The reporter ran one turn of a fixed prompt against Gemini 4 Neon (XHigh) through a minimal stdio ACP client, on Fedora 45 with a consumer OAuth plan. Each run used a fresh UUID nonce to avoid caching, and the fresh sessions had 0 cached tokens. The client sent initialize, authenticate, session/new with mcpServers: [], session/set_model and session/prompt, then exited. Quota deltas came from /usage, read until two consecutive reads agreed. Token counts came from the session database. Tokens were priced at API rates of $3 per million uncached input tokens and $15 per million output tokens.
- agy 1.5.16, --agent notools-custom: 740 input / 2,441 output tokens, $0.038835 API-equivalent, 0.006470 weekly pp. That works out to $6.0022 per weekly percentage point.
- agy 1.5.17, --agent notools-custom: 737 input / 3,066 output tokens, $0.048201 API-equivalent, 0.032133 weekly pp. That works out to $1.5001 per weekly percentage point, or 4.001x the burn.
- agy 1.5.16 and 1.5.17, default agent (two runs each): between $5.9999 and $6.0004 per weekly percentage point, or 1.00x.
- The 5-hour deltas for the custom agent were 0.025886 pp on 1.5.16 and 0.128532 pp on 1.5.17. Normalized by each run's API-equivalent cost, that is the same 4x gap the weekly figures show.
Input tokens were nearly identical across versions, at 740 and 737. Output rose from 2,441 to 3,066, mostly thinking tokens. The quota charged per API-equivalent dollar moved from about $6.00 to $1.50 per weekly point, while the default agent stayed at $6.00 on both versions. That pattern is consistent with a weighting applied to custom-agent requests rather than the custom agent generating more tokens. Every run made exactly 2 streamGenerateContent calls, one for title generation and one for the main turn. The runs used zero tools, made zero safety-monitor calls, logged zero 429s and resumed zero conversations.
What the repository collaborator said about billing
The only explanation in the sources is a short comment from yaoshengzhe, who carries the Collaborator badge on the repository. The comment defines the scope. Conversations run by agents in .agents/agents/*, by plugin agents and by their subagents are all billed as custom-agent requests. The default agent and built-in agents are unchanged.
This is intentional, not a regression. Conversations run by a custom agent ( .agents/agents/* , plugin agents, and their subagents) are billed as custom-agent requests, which draw quota at a higher rate than the default agent.
The comment does not say why the rate is higher. It does not state that 4x is the fixed figure, and it does not say whether the figure varies by model or plan. The reporter measured only Gemini 4 Neon (XHigh) on a consumer OAuth plan. The comment drew 404 thumbs-down reactions on the issue.
Commenters on Hacker News split on the rationale. One objected that tokens are tokens and that the matrix of subsidized and unsubsidized requests changes silently. Replies argued that subscription tokens are subsidized to keep users inside Google's product, and that ACP turns that product into a proxy for another product that usually competes with it. The sources contain nothing from Google confirming either reading. A later commenter on the issue asked why a one-line custom agent with tools: [] and subagent: false costs 4x. The same commenter said that if the concern is people turning a subscription into an API proxy, that abuse should be named and targeted directly.
The multiplier is absent from release notes and /usage
The reporter states that nothing in the 1.5.17 release notes mentions a 4x multiplier for custom agents. Commenters on Hacker News said they could find no documentation stating it apart from the GitHub comment itself. One commenter on the issue said there is no line item for it in /usage and no warning before the request.
Two commenters on the issue said their 5-hour limits drained in 45 minutes and in 10 minutes, where previously they lasted 4 to 5 hours. A third said a full 5-hour allowance also emptied a weekly quota that had been more than half remaining. These are anecdotes, not measurements, and the commenters did not state their versions or agent setups.
The reporter lists three other quota and session bugs as unrelated to this one. Issue #1886 covers a background safety pre-check that hits HTTP 429, after which every tool call is re-reviewed by a larger model at about 2.6x normal burn. Issue #1872 covers agy acp 1.5.17 resuming another live process's conversation at startup, where a new session can pick up that conversation's MCP server. Issue #1884 covers print-mode or concurrent CLI startup auto-resuming live conversations, which can cause a fork-bomb and runaway spend.
How to detect custom-agent billing from a harness
The reproduction steps can also serve as a monitoring recipe. Set AGY_CLI_DISABLE_AUTO_UPDATE=1, as the reporter did, so the CLI does not update itself between measurements. Read quota until two consecutive reads agree, and record remaining_fraction for gemini-weekly and gemini-5h under Gemini Models.
AGY_CLI_DISABLE_AUTO_UPDATE=1 agy -p "/usage" --output-format json- Check ~/.gemini/antigravity-cli/log/acp-server-*.log for the line Creating new cascade trajectory. The custom-agent runs logged agentScript=true and the default-agent runs logged agentScript=false. The flag was true on both 1.5.16 and 1.5.17, so it marks a custom-agent conversation but does not tell you which rate applied.
- Check the same log for Language server version to confirm which agy build served the session.
- Compare the quota delta against the token usage in ~/.gemini/antigravity-cli/conversations/<session>.db (gen_metadata). In the reporter's runs the default agent sat at about $6.00 API-equivalent per weekly percentage point. The 1.5.17 custom agent sat at $1.50.
- Count streamGenerateContent calls, monitor calls and 429s in the log. That rules out the #1886 escalation and the startup-resume bugs before you attribute the burn to custom-agent billing.
Avoid the rate by dropping --agent
The collaborator's stated workaround is to run agy acp without --agent and put your instructions in rules (AGENTS.md or GEMINI.md) or in skills. For a harness, that means dropping the --agent argument from the launch command and moving the agent file's prompt into rules. The trade-off is control. The reproduction agent set tools: [], inheritCustomizations: false and excludeDefaultComponents: true. The sources do not say whether rules or skills can reproduce those restrictions on the default agent.
The default agent has a measurable cost of its own. In the reporter's runs it consumed about 12,000 input tokens per turn, against about 740 for the stripped custom agent. On 1.5.16 that made the default agent more expensive in API-equivalent dollars, at $0.077 to $0.079 against $0.038835. On 1.5.17 the default agent's runs drew 0.013536 to 0.014293 weekly pp, against 0.032133 pp for the custom agent. That makes it the cheaper option in quota at the 4x rate.
Running 1.5.16 avoided the multiplier in the reporter's tests. The sources do not say whether older clients will keep being billed at the old rate. A commit referencing the issue on November 29, 2026, from ericxk, adds warnings that mark custom subagents billed at 4x during execution. The same commit adds a diagnostic that checks which local custom agents would be used. A harness can run a similar preflight check before it sends the first request.
Questions this raises
Why does agy acp with a custom agent use more quota since 1.5.17?
A collaborator on the google-antigravity/antigravity-cli repository says conversations run by custom agents, plugin agents and their subagents are billed as custom-agent requests at a higher rate. The reporter measured that rate at 4x the default agent's per-token quota on Gemini 4 Neon (XHigh). The comment does not explain why or say whether 4x varies by model or plan.
How can I avoid the higher Antigravity custom-agent quota rate?
The collaborator's stated workaround is to run agy acp without --agent and put instructions in rules or skills instead. The default agent and built-in agents are billed at the unchanged rate.
How can a harness detect custom-agent billing in Antigravity CLI?
Look for agentScript=true on the Creating new cascade trajectory line in the acp-server log, then compare the /usage quota delta against token counts in the session database. In the reporter's runs, the default agent sat near $6.00 API-equivalent per weekly point and the 1.5.17 custom agent sat near $1.50. Also count 429s and streamGenerateContent calls to rule out issues #1886, #1872 and #1884.
Get the next notes by email
New notes on what moved in AI, read from the primary sources. One confirmation email, then unsubscribe any time with one click.
Spotted an error? Email samir.s.sengupta@gmail.com and I will correct it and date the change at the top of the note. How these notes are researched, drafted and checked is in the editorial policy.
