Last Thursday, people who use Google’s Antigravity command-line tool, agy, started saying their limits ran out far too early. One commenter wrote that the 5-hour limit was gone in 45 minutes when it used to last 4 to 5 hours. Another wrote 10 minutes. Those are anecdotes. What I can check is what the people who measured it wrote down, and what the project’s collaborator answered.
The short version, from the sources I re-read this morning: a user measured a custom agent drawing exactly 4 times the quota of the default agent for the same work, a collaborator on the project’s GitHub repo replied “This is intentional, not a regression”, and the issue was closed. The release notes I scanned do not mention it. Two other users did not see 4x at all.
If you use Antigravity with a custom agent, the useful question is not whether Google is right. It is smaller: what does one real task cost on your plan, with and without the custom agent? You can answer that in about twenty minutes. This post shows the evidence, then gives you a small script and a procedure. The judgment I keep coming back to is the same one I use for any tool bill: a setup that demos well is not a setup you can afford in week three, and only a number from your own plan tells you which one you have.
What a custom agent is, in plain words
A custom agent in Antigravity CLI is a Markdown file with a name, a short prompt and a list of tools. You put it under .agents/agents/ in your project and start the CLI with --agent <name>. People use it to give the tool a fixed role, such as a reviewer that only reads code.
The default agent is what you get when you run agy without --agent.
Quota here is not money. Your plan shows percentages: a weekly limit and a 5-hour limit. You see them with the /usage command. When the percentage reaches zero, you wait for the reset.
What was reported
The report is GitHub issue #1890 in the google-antigravity/antigravity-cli repository, opened on Nov 26, 2026. The title says agy acp --agent <custom-agent> consumes 4x Gemini quota per token in version 1.5.17 compared with 1.5.16. The reporter used a minimal custom agent with no tools and a one-line prompt, on a consumer OAuth plan, on Linux, with Gemini 4 Neon.
They priced the tokens at API rates ($3 per million uncached input tokens and $15 per million output tokens, their own assumptions) and divided by how far the weekly meter moved. Each run made exactly two model calls, with no tools, no safety-monitor calls and no rate-limit errors, according to the reporter.
| Run | agy version | Weekly points moved | Token cost per weekly point | Relative burn |
|---|---|---|---|---|
| Custom agent | 1.5.16 | 0.006470 | $6.0022 | 1.00x |
| Custom agent | 1.5.17 | 0.032133 | $1.5001 | 4.001x |
| Default agent, run 1 | 1.5.16 | 0.013173 | $6.0004 | 1.00x |
| Default agent, run 2 | 1.5.16 | 0.012857 | $6.0001 | 1.00x |
| Default agent, run 1 | 1.5.17 | 0.014293 | $5.9999 | 1.00x |
| Default agent, run 2 | 1.5.17 | 0.013536 | $6.0001 | 1.00x |
Compare the 1.5.17 custom row with the first 1.5.17 default row. The custom run cost about $0.048 in tokens and moved the weekly meter by 0.032 points. The default run cost about $0.086 and moved it by 0.014. The cheaper run moved the meter more than twice as far. That is the whole problem in one comparison: the meter did not follow the token cost.
A second report, on the Google AI developers forum, was posted on Nov 27. The author used a Google AI Pro plan, agy 1.5.18, Gemini 4 Neon (High) and the normal interactive CLI, not the protocol mode from the issue. Two fresh conversations, identical messages: read two files of about 120 KB each, write a long review, then one follow-up.
| Custom agent | Default agent | |
|---|---|---|
| Token cost (API-equivalent) | $0.543 | $0.562 |
| Weekly quota used | 1.810% | 0.469% |
| 5-hour quota used | 7.24% | 1.87% |
| Token cost per 1% of weekly limit | $0.30 | $1.20 |
The forum author wrote that each turn “came out at exactly 4.0x”. The arithmetic holds: $1.20 divided by $0.30 is 4.
Look at one thing before you trust either table. The two reporters’ default-agent numbers do not match: about $6.00 of tokens per weekly point in the issue, and $1.20 per percent in the forum. I cannot tell why. The plan (a consumer OAuth plan in the issue, Google AI Pro in the forum), the model effort (XHigh against High) and the task all differ, and none of the sources says which one matters. This is the reason to measure on your own plan. Only the ratio inside each report is the claim, and the absolute prices are not comparable across them.

What the collaborator said, and what is missing
On Nov 27 at 21:40 UTC, a collaborator on the repository, yaoshengzhe, replied on the issue and closed it as completed. The full reply:
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
--agentand put your instructions in rules (AGENTS.md/GEMINI.md) or skills.
What the reply gives you: custom agents, plugin agents and their subagents are billed at a higher rate than the default agent, and the default and built-in agents are not affected. What it does not give you: a multiplier, a reason, a start date, or a list of plans.
That matters because the reply uses the word “higher”, and the 4x figure comes from users. No Google source I read states a multiplier. If you quote “4x” anywhere, attribute it to the people who measured it.
I also read the project changelog file on GitHub for versions 1.5.17 through 1.5.20, the newest at the time of reading. I searched it for custom agents, --agent, subagents, quota, billing and weekly limits. The lines it has about quota are a /usage countdown format, an empty prepaid wallet message and a refresh fix. I found no line about a custom-agent rate. That is a search of one file by me, not proof that nothing was announced elsewhere.
There is also a line on Google’s side worth keeping next to that reply. The Antigravity blog post that introduced custom agents, dated Aug 12, 2026, reads: “This keeps your active context clean, minimizes token overhead, and gives you a predictable partner for specific tasks.” The post pitches custom agents as a way to save tokens, and the collaborator’s workaround is to leave them. I will not claim which setup is cheaper overall, because no source I read gives an end-to-end number.
Two reports that did not see 4x
The issue thread has two comments that point the other way. Read them, because they decide how widely the claim applies.
Gemini Enterprise Plus. A commenter ran agy 1.5.20 six times on one Gemini Enterprise Plus project, alternating the default agent with a minimal custom agent selected with --agent. They read the project’s pooled allowance counter in Cloud Monitoring and compared each response’s rise with a token-based estimate. They wrote that every run, default or custom, came in at 0.935 of its estimate, and concluded that on that project custom-agent requests “drew the same allowance per token as default-agent requests.” They also flagged the limits of their own test: a small sample, a pooled counter, and nothing to say about consumer plans.
Headless mode with a skill file. Another commenter, on 1.5.17, ran workers through headless agy -p with the role loaded from a SKILL.md and no --agent. Over a 33-minute run the 5-hour quota moved 3.1% against about 2.95% expected at normal rate, which they read as about 1.05x. They also reported 56% fewer total tokens than a run with built-in subagents.
Neither comment disproves the 4x reports. They tell you the 4x was measured on consumer plans with --agent, and that two other setups looked normal. Put together, the honest summary is: 4x was measured on two consumer-plan setups, the maintainer confirmed a higher rate without giving a number, and one Enterprise Plus project showed no difference.
Why one run cannot settle it
One run per side looks like enough: run the task each way and compare the percentages. Look at the forum numbers again: 1.810% divided by 0.469% is 3.86, not 4.0. The two conversations used slightly different token counts ($0.543 against $0.562), so the raw ratio is off. The reporter got to 4.0 by dividing by cost.
Two things follow for your own test. First, repeat each side at least twice and alternate them: default, custom, default, custom. Models vary in how much they think, and one run is noise. Second, make the task big enough to move the meter. The issue’s tiny runs moved it by hundredths of a point, which is hard to read from a display that rounds. The forum author’s task, two 120 KB files and a long review, moved it by whole percents.
The one-task check
You need three things: a custom agent, a script that measures how far the meters move, and a task you really run.
Here is the minimal custom agent from the issue, saved as .agents/agents/notools-custom.md. It has no tools and a one-line prompt, so the only difference from the default agent is that it is custom:
1---
2name: notools-custom
3description: Minimal custom agent with no tools
4mainAgent: true
5subagent: false
6tools: []
7inheritCustomizations: false
8excludeDefaultComponents: true
9---
10You are a terse assistant. Answer directly.
If you already use a custom agent, test that one instead. It is the number you pay.
The script below does one thing. It reads agy -p "/usage" --output-format json before and after a task, finds every remaining_fraction in the output, and prints how many percentage points each meter moved. The issue uses exactly that command and names remaining_fraction for the weekly and 5-hour Gemini meters. I do not know the exact shape of the JSON, so the script walks the whole structure instead of assuming a path. It also reads the meter until two reads in a row agree, because the issue’s reporter had to do the same.
1#!/usr/bin/env python3
2"""agy_quota_ab.py: how far does ONE agy task move your quota meters?"""
3import argparse, json, subprocess, sys, time
4from pathlib import Path
5
6LOG = Path("agy-quota-ab.jsonl")
7
8
9def walk(node, path=""):
10 """Yield (path, remaining_fraction) for every dict that has one."""
11 if isinstance(node, dict):
12 if isinstance(node.get("remaining_fraction"), (int, float)):
13 tag = next((str(node[k]) for k in ("id", "name", "label") if k in node), "")
14 yield f"{path}/{tag}".strip("/"), float(node["remaining_fraction"])
15 for k, v in node.items():
16 yield from walk(v, f"{path}/{k}")
17 elif isinstance(node, list):
18 for i, v in enumerate(node):
19 yield from walk(v, f"{path}[{i}]")
20
21
22def read_usage():
23 out = subprocess.run(["agy", "-p", "/usage", "--output-format", "json"],
24 capture_output=True, text=True, check=True).stdout
25 try:
26 return dict(walk(json.loads(out)))
27 except json.JSONDecodeError:
28 sys.exit("could not parse /usage output: " + out[:200])
29
30
31def stable_usage(tries=6, pause=5):
32 """The meter lags behind the task; read until two reads agree."""
33 prev = read_usage()
34 for _ in range(tries):
35 time.sleep(pause)
36 cur = read_usage()
37 if cur == prev:
38 return cur
39 prev = cur
40 sys.exit("usage never settled; wait a minute and retry")
41
42
43def report():
44 by = {}
45 for line in LOG.read_text().splitlines():
46 row = json.loads(line)
47 for meter, pp in row["moved_pp"].items():
48 by.setdefault((meter, row["label"]), []).append(pp)
49 for meter in sorted({m for m, _ in by}):
50 d, c = by.get((meter, "default")), by.get((meter, "custom"))
51 if d and c and sum(d) > 0:
52 ratio = (sum(c) / len(c)) / (sum(d) / len(d))
53 print(f"{meter}: custom/default = {ratio:.2f}x (runs {len(d)}+{len(c)})")
54
55
56def main():
57 ap = argparse.ArgumentParser()
58 ap.add_argument("--label", help="default or custom")
59 ap.add_argument("--manual", action="store_true", help="you run the turn yourself")
60 ap.add_argument("--report", action="store_true")
61 ap.add_argument("cmd", nargs="*", help="command that runs ONE task")
62 a = ap.parse_args()
63 if a.report:
64 return report()
65 if not a.label:
66 sys.exit("--label is required")
67 before = stable_usage()
68 if a.manual:
69 input("Run your one task now, then press Enter... ")
70 else:
71 subprocess.run(a.cmd, check=True)
72 after = stable_usage()
73 moved = {k: round((before[k] - after[k]) * 100, 4) for k in before if k in after}
74 with LOG.open("a") as f:
75 f.write(json.dumps({"label": a.label, "moved_pp": moved}) + "\n")
76 for meter, pp in sorted(moved.items()):
77 print(f"{a.label:8} {pp:9.4f} pp {meter}")
78
79
80if __name__ == "__main__":
81 main()
I did not run this against Google’s CLI. I have no Antigravity account on the machine that built this post. I tested the arithmetic and the argument handling against a small stand-in agy script I wrote that prints made-up usage JSON, and they behaved as described. If the real /usage JSON hides the meters behind a different key, the script prints nothing, and that is your signal to open the raw output and adjust walk.
Run it like this, in a fresh conversation each time, with the same model and effort setting, and nothing else using the plan while you test:
1# 1. default agent, your real task
2python3 agy_quota_ab.py --label default -- agy -p "Review src/Billing.php and src/Invoice.php for bugs"
3
4# 2. custom agent, same task
5python3 agy_quota_ab.py --label custom -- agy --agent notools-custom -p "Review src/Billing.php and src/Invoice.php for bugs"
6
7# 3. repeat 1 and 2 once more, then compare
8python3 agy_quota_ab.py --report
One caveat on step 2. The issue ran its custom agent through the protocol mode (agy acp), and the forum author used the interactive CLI. I did not verify that -p and --agent work together on your version. If the command is rejected, use the manual mode instead: start agy --agent notools-custom yourself, give it the task, and let the script take the before and after readings:
1python3 agy_quota_ab.py --label custom --manual

How to read your result
The --report line gives you a custom-to-default ratio for each meter. These bands are my reading, not a Google rule.
| Your ratio | What it matches | What to do |
|---|---|---|
| About 0.8 to 1.3 | The Enterprise Plus test | Keep your setup. Write the date and agy version in your repo notes. |
| About 3.5 to 4.5 | The two consumer-plan reports | Decide whether the structure is worth four times the quota. |
| Anything else | Neither report | Repeat with a bigger task. If it stays there, that is your number. |
I have no source for what a tool-heavy custom agent does. The issue’s test used one with no tools, and the forum author’s agent had a tool list but was not described further. If your agent runs subagents, test the agent you actually use, because the collaborator said subagents of a custom agent are billed the same way.

If the ratio is about 4 on your plan
You have three options, and none of them needs a decision today.
Move the instructions into rules. The collaborator’s suggestion is to run without --agent and put the instructions in AGENTS.md, GEMINI.md or skills. For a reviewer role, that can be as small as this:
1## Review role
2
3When asked to review code:
4- Read only the files named in the task.
5- Report bugs first, style second.
6- Do not edit files unless asked.
Two users reported good results this way. One forum commenter wrote that after moving a three-tier orchestration setup into a GEMINI.md and a skill file, the quota burned “considerably less than before”. The headless commenter measured about 1.05x with SKILL.md. Both are single reports. Rerun the script with --label default and your rules file to see your own number.
Keep the custom agent where the structure earns it. A role that stops the tool from editing files, or a subagent split that keeps a long review out of your main conversation, is sometimes worth four times the quota. That is a budget decision, and now you can write the multiplier into it.
Watch the issue, not the headline. Google can publish a multiplier, a plan list or a reversal at any hour. The thread was still active on Nov 29. Rerun your check after the next few releases, because a measurement is only good for the version you took it on.
What you should do Monday morning
- Find out whether you use a custom agent at all. Check for a
.agents/agents/folder in your projects, runagy plugin list, and open/agentsinside the CLI. If you only ever run plainagy, you are on the default agent and this thread does not touch you. - Pick one task you really run, big enough to move the meter by about a percent, such as reviewing two real files.
- Run the default agent and the custom agent twice each, alternating, in fresh conversations, with nothing else using your plan. Use
agy_quota_ab.py, or read/usageby hand before and after and write the numbers down. - Write the ratio, the date and your
agyversion in a notes file in your repo. - If the ratio is near 4, try the same task with your instructions in
AGENTS.mdor a skill, and measure that too. Then pick the setup, not the headline. - Put a reminder in your calendar for two weeks from now and run the check again.
If you maintain coding-agent setups for a team, the AI agent operations hub collects the other cost and change-control checks on this site, and the developer tools hub lists the tool-specific ones. New here? Start here explains how I pick what to write about.
What I did not verify
- I did not install or run Antigravity CLI. Every number in the tables belongs to the people who measured it, and I re-read their posts today.
- The multiplier on plans other than the consumer plans those two users described. The Enterprise Plus test saw none, and it is one small test.
- Whether this applies to the Antigravity desktop app. A forum reply said it “most likely” does, which is a user’s guess.
- Why Google chose this rate, or whether it will refund anyone. The forum author asked for a refund, and I saw no answer.
- The full issue timeline. GitHub collapses part of it on the page, so I also pulled the comments through the GitHub API (45 came back; the issue counter says 46). The only reply from a repository collaborator is the one quoted above.
- Whether this is a bug or a price rise. The collaborator says it is intentional.
Further reading
Source Issue #1890: agy acp --agent consumes 4x Gemini quota per token (GitHub)
