Antigravity CLI Quota Draining Fast: The Background Safety Review#
Published by Alex Sorokoletov
If your Antigravity CLI (agy) 5-hour quota drops much faster than your work explains, background safety reviews are the likely cause. Before tool calls, agy runs a small pre-check model and, when that flags a call or fails with HTTP 429, a large review model. Users report the review calls count against plan quota and never show in the conversation. Until Google fixes it, run fewer parallel sessions and avoid chained shell commands.[1]
What happens#
Three checks run before a tool call, as they appear in the agy log:
| Stage | Log name | Model | When it runs |
|---|---|---|---|
| 1 | agy_tool_safety | Tool rules, no model call reported | Every tool call |
| 2 | sir_flash_lite | Small pre-check model | When stage 1 flags the call |
| 3 | severe_internal_risks_agy | gemini-4-hydrogen-sonar | When stage 2 flags the call, or when stage 2 fails |
Stage 3 sends the conversation so far with each call, about 280,000 to 300,000 characters per review in the reports.[1] Two patterns make it expensive:
- Pre-check outage. Many parallel sessions exhaust the stage 2 quota (one report: about 4,800 pre-checks in 3.5 hours). From then on, each failed pre-check (
RESOURCE_EXHAUSTED (code 429)) falls through to a stage 3 review. In that report, 994 pre-check 429s lined up with 915 reviews until the pre-check quota reset, and the 5-hour quota fell 36 points in 71 minutes. - False flags. With no 429 at all, stage 2 flags normal edits and shell commands and stage 3 clears every one. Reports from four users (CLI 1.5.15 to 1.5.22 and the desktop app) show 100% of stage 3 reviews returning
triggered=false, for example 2,466 of 2,466 and 1,863 of 1,863.[1][2]
The stage 3 calls do not appear in the conversation history, so the token count you see in a session does not explain the quota you lost. One Pro user recorded 205 agent calls, 254 pre-checks and 49 reviews in 2 hours 8 minutes, and ended at 96.5% of the 5-hour quota.[1]
Is it happening to you?#
The CLI log is in ~/.gemini/antigravity-cli/log/. Count the reviews and the failed pre-checks:
cd ~/.gemini/antigravity-cli/log
grep -c severe_internal_risks_agy cli-*.log acp-server-*.log 2>/dev/null
grep -c 'sir_flash_lite.*429\|RESOURCE_EXHAUSTED' cli-*.log 2>/dev/null
Then compare quota before and after a run without starting a conversation (agy usage since 1.5.22):
agy usage --output-format json
Dozens of severe_internal_risks_agy lines per hour, or a quota drop far above your session's token count, point to this issue.
What reduces the drain#
| Change | Effect | Source |
|---|---|---|
Run fewer agy sessions at once | The stage 2 quota lasts longer, so fewer 429 fall-throughs | [1] |
Prefer single read-only commands to chains with &&, pipes or 2>/dev/null | Cut pre-check triggers from 2 to 0 in a controlled run | [1] |
Watch agy usage and pause when it drops without work | Limits the loss to one window | [1] |
Change --mode (default, accept-edits, auto) | No effect: same number of checks in 3 runs per mode | [1] |
--dangerously-skip-permissions | No effect: it skips your approval prompts, not these checks | [1] |
No setting turns the checks off, and the changelog through 1.5.23 (December 3, 2026) has no fix for this.[3]
Timeline#
| Date | Event |
|---|---|
| 2026-11-26 | Issue #1886 opened on 1.5.17 |
| 2026-11-27 to 11-29 | Reproductions on 1.5.18 and 1.5.19, macOS and Windows, CLI, ACP and the desktop app |
| 2026-11-29 | Issue #1999: 1.5.19 still falls back to the review model on any pre-check failure |
| 2026-12-02 | 1.5.22 adds agy usage; issue #2133 reports the same pattern on Linux |
| 2026-12-03 | 1.5.23 released, no related changelog entry; #1886 open, no maintainer reply |
Should you wait or switch?#
If you run one or two sessions and your quota matches your work, nothing changes for you. If you run many parallel agents on a Pro or Ultra plan, the quota you buy is shared with checks you cannot see or turn off, so budget for it: check agy usage between runs and keep long batch work off the five-hour window you need for interactive work. The reports so far come from Pro and Ultra plans.
FAQ#
Why is my Antigravity CLI quota running out so fast?
Background safety reviews (severe_internal_risks_agy) run on many tool calls, and users report they count against the same 5-hour and weekly quota as your chat. They are not shown in the conversation.
What is sir_flash_lite in the agy log?
The small pre-check model that runs before flagged tool calls. When it fails with HTTP 429, agy sends the call to the large review model instead.
Does --dangerously-skip-permissions stop the safety checks? No. It skips your approval prompts. The background checks still run.
Is the quota drain fixed? Not as of 1.5.23 (December 3, 2026). Issue #1886 is open.
How do I check my Antigravity CLI quota?
Run agy usage, or /usage inside a session. Add --output-format json for scripts.
Sources: [1] Issue #1886: safety pre-check 429 drains the 5-hour and weekly quota and its comments · [2] Issue #2133, #1999, #1823 · [3] Antigravity CLI changelog
Related: Antigravity CLI vs Gemini CLI