页面简介
Using a custom agent in Antigravity CLI (agy --agent <name>, an agent.md with my own system prompt and tool list) drains the Gemini weekly and 5-hour limits 4x faster than the default agent for the same work. This matche…
正文摘录
Antigravity CLI: custom agents (--agent) use 4x the Gemini quota of the default agent - reproduced on 1.5.18 Google Antigravity rate-limits, bug Kevin13 November 27, 2026, 11:02am 1 Using a custom agent in Antigravity CLI (agy --agent <name>, an agent.md with my own system prompt and tool list) drains the Gemini weekly and 5-hour limits 4x faster than the default agent for the same work. This matches GitHub issue #1890, which was reported on 1.5.17. I’ve confirmed it’s still there in 1.5.18. Test Google AI Pro, Linux, agy 1.5.18, Gemini 4 Neon (High), interactive CLI in the same terminal Two fresh conversations with identical messages: read two ~120 KB files with view_file and write a long review, then one follow-up Quota read from /usage JSON (remaining_fraction) before and after each turn. Token cost taken from the conversation DB and priced at Neon API rates ($3/M input, $0.15/M cached, $15/M output) Custom agent Default agent API-equivalent cost $0.543 $0.562 Weekly quota used 1.810% 0.469% 5-hour quota used 7.24% 1.87% Cost per 1% of weekly limit $0.30 $1.20 Each turn came out at exactly 4.0x, and the 5-hour limit shows the same 4x. Real impact Since the Nov 26 reset I used about $21 of Gemini (API-equivalent, 95% cache hit rate) through custom agents. That took ~75% of my weekly limit and hit the 5-hour limit. At the default-agent rate the same work would have used ~18%. In other words, my weekly limit is worth ~$120 of usage with the default agent and only ~$30 with a custom agent. /usage itself says “Quota is consumed proportionally to the cost of the tokens”, and nothing in the 1.5.17 or 1.5.18 changelog mentions a multiplier for custom agents, so this looks like a bug rather than a policy. (The background safety monitors from #1886 also draw from the plan quota, but for me they were small, about 5% of usage.) Requests Fix the custom-agent multiplier, or document it if it’s intentional. Restore the weekly quota it consumed for affected users. If you use --agent (or a tool that launches agy with a custom agent) and your limits run out much faster than expected, this is likely why. The same work without --agent uses a quarter of the quota. Google AI Pro (paid student plan): Antigravity Gemini 4 Neon quota ~71% below expected - ~$120/month API-equivalent vs ~$420 Paid Google AI Pro (student discount): Antigravity Gemini quota about 3.6x smaller since 26 Nov 2026's reset Google AI Pro (paid student plan): Antigravity Gemini 4 Neon quota ~71% below expected - ~$120/month API-equivalent vs ~$420 Kevin13 November 27, 2026, 11:28am 2 A note on the GitHub issue I linked: #1890 was reproduced through ACP (agy acp). I don’t use ACP. All my numbers above come from the regular interactive Antigravity CLI, started in a terminal with agy --agent <name>, and the 4x charge is there too. So it isn’t specific to ACP. It seems to apply to any custom agent loaded with --agent. Kevin13 November 28, 2026, 11:03am 3 Update: it’s intentional, not a bug. About 10 hours after I posted this, an Antigravity engineer answered on GitHub #1890 and closed the issue: 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 default agent and built-in agents are unchanged. For the standard rate, run without --agent and put your instructions in rules (AGENTS.md / GEMINI.md) or skills. My measurements above still hold, but they describe a deliberate pricing change, not a bug. If you use --agent, plugin agents or subagents, expect about 4x the quota use for the same work. To get the normal rate, use the default agent with rules or skills. Google AI Pro (paid student plan): Antigravity Gemini 4 Neon quota ~71% below expected - ~$120/month API-equivalent vs ~$420 Prasmit_Pradhan November 28, 2026, 7:23pm 4 Hello Kevin, Does this affect antigravity app too or this issue is only limited to agy, I observed my quota is draining at a more faster rate than the 2.36 update. Kevin13 November 29, 2026, 10:10am 5 Hi, this is about default vs custom agent, not CLI vs app. Per the engineer’s comment on #1890, conversations run by custom agents (.agents/agents/*), plugin agents, and their subagents are billed at the higher rate. So if you use a custom agent in the app, it most likely applies to you too. To confirm, you can ask your agent to run an A/B test. Prasmit_Pradhan November 29, 2026, 8:18pm 6 Thankyou for the suggestion I run custom 3 tier orcastration agent for better quota management and to keep main context window clean from chit chat, so I just moved it to gemini.md file and skill file with ai native dsl format so that it would take less token and it is burning quota considerably less than before. Kevin13 November 30, 2026, 8:53am 7 Update: reverted. On Nov 30 the Antigravity team posted on #1890 that they’ve reverted the change, with no update needed on our end. I re-ran the same test on agy 1.5.20 (same task, Gemini 4 Neon High, about $0.50 of API-equivalent usage per side): Custom agent (--agent): $1.20 per 1% of the weekly limit, up from $0.30 before the revert Default agent: $1.20 per 1%, unchanged Custom agents now use quota at the same rate as the default agent. Thanks to the team for listening, and to everyone who added their reports. Google AI Pro (paid student plan): Antigravity Gemini 4 Neon quota ~71% below expected - ~$120/month API-equivalent vs ~$420 Google AI Pro quota: I reproduced $1.20 per weekly percentage point on Neon High, but measured ~$0.40 on Carbon. Is this expected? Rebbanpalli_Naveen December 2, 2026, 11:52am 8 Hi @Kevin13 and @Prasmit_Pradhan, Thank you for the detailed measurements and for confirming the November 30 update. As shared in GitHub issue #1890, the higher quota rate for custom agents has been reverted with no client update required, so custom agents now draw quota at the standard rate again across your sessions (including if you switch back from rules/skills in the Antigravity App or CLI). Regarding the earlier request to restore weekly quota, forum support cannot manually adjust or restore previously consumed quota; Google AI Pro baseline quotas refresh automatically on their regular five-hour and weekly schedules. If either of you still sees unexpected quota consumption with custom agents, please share your client version, model, and usage details so we can look into this further. toriga December 2, 2026, 11:12pm 9 AGY CLI 1.5.22 AI for coding is still unusable. I don’t care about any of the other features, and I’m certainly not paying 20 euros a month for fake Google Studio coupons—none of that interests me. The reality is simple: your plan is useless for coding. I’m thinking of switching to Claude or another service with much higher usage limits. What’s the point of boasting about how cheap Gemini 4 is compared to the competition, when I hit my weekly limit after just two prompts—and on top of that, I have to wait five hours between each prompt? This situation is disgraceful. Before Gemini 4, I used Gemini 3.8 Flash and could work for days on end; in fact, I almost never hit the limit—never, and I mean never. When Gemini 4 (Hydrogen) was released, it worked fine for the first few days—just like Gemini 3.8 Flash—and I was very happy. Then came Gemini 4 (Neon); it was okay for the first 2–3 days, and I was thrilled. But after that first week, the situation became shameful. Both Hydrogen and Neon burn through the entire daily and weekly allowance in just a single day. You clearly changed something—don’t try to feed us nonsense; we aren’t stupid. On top of that, you introduced a 4x multiplier for custom agents—which makes absolutely no sense—without even notifying us. The situation is dire. If things continue this way, I’ll be taking my business elsewhere—and I hope many others do the same. Setting aside the fact that your models are a year behind the competition—with no “Pro” version for an entire year, being stuck on 3.1, and so on—what’s the point of paying for a subscription if I can’t even get four days of work out of it? It’s embarrassing—two prompts in a single day, and the whole allowance is gone. Since when did you become such an unserious company? BlackHope December 3, 2026, 12:25am 10 @Kevin13’s A/B test ($1.20 vs $0.30 per 1% weekly limit) and @Prasmit_Pradhan’s point about keeping the main context window clean highlight the two completely separate drivers behind coding-agent quota burn — and why people still see heavy drain even after the Nov 30 billing revert (or after switching to Claude Code / Codex): Plan billing rate (what Kevin13 isolated cleanly with identical short tasks). Effective prompt-cache hit rate over long coding sessions. In a 232-turn coding-agent JSONL trace we audited, the headline cache hit rate looked like 97.4%, while the effective cache hit rate was only 10.9% — a few uncompacted turns re-sending 150k–250k tokens after a cache-prefix break (tool-list changes, dynamic timestamps, or idle cache eviction) accounted for most of the burn regardless of vendor. If anyone here wants to run the same per-turn forensics on their own local JSONL transcripts (Antigravity / Claude Code / Codex) without uploading logs anywhere, we open-sourced a zero-dep, zero-telemetry MIT analyzer: Client-side browser audit (100% local, zero upload): Token Audit: Offline Coding Agent JSONL Cost & Cache Auditor | Integrity Harness Offline CLI (pipx install agent-token-forensics): GitHub - BlackBadHope/agent-token-forensics: Read-only JSONL token & prompt-cache burn forensics for Claude Code, Codex CLI, Cursor, Gemini, and Antigravity · GitHub Splitting billing-multiplier changes from per-turn cache invalidation usually makes it obvious in 30 seconds whether the drain is server-side accounting or a single bloated session loop. Related topics Topic Replies Views Activity Paid Google AI Pro (student discount): Antigravity Gemin