Let me start with my own painful lesson: I'm on the $100/month Google Antigravity tier, and that weekly quota normally carries me comfortably through an entire week of coding. Earlier this week, something went completely sideways—my entire weekly allowance vanished in a single day.

At first I thought I was just working too hard. Then I dug through my local logs and the uproar across X and GitHub, and realized it wasn't just one bug: it was a perfect storm of my own bad habits colliding with Google's messy backend quirks.

The good news? Every single root cause is now crystal clear and fixed. After applying these changes and running a full day of real work, my usage dropped off a cliff—back down to a normal 5% to 10% of my weekly quota per day. The difference is immediate.

No dry engineering jargon here—just plain English on why your Antigravity quota leaks like water, which pitfalls Google itself has already admitted, and the exact fix you can apply in minutes. At the bottom of this page, you can also download a completely sanitized English Markdown guide and drop it straight into your Antigravity chat to automate the whole setup.

1. First, Two Expensive Habits I Caught Myself Doing (90% of Users Do This Too)

Before blaming Google, I checked my own machine and nearly laughed at myself. Two habits on my own side were silently burning money:

Habit #1: Never closing a chat window. I had active project threads that grew to hundreds of thousands of words—one single conversation directory on my disk was nearly 3 GB! Long threads don't just eat disk space: every reply makes the model re-read that massive history. When everything runs smoothly, prompt caching keeps it cheap. The moment a stream hiccups, disconnects for a few minutes, or times out, the model 'forgets' the cache and re-reads hundreds of thousands of tokens at full price. One hiccup can wipe out dozens of normal turns.

Habit #2: Switching models mid-conversation. Like many people, I used to swap between cheaper and stronger models inside the same thread thinking it saved quota. In reality, prompt caches are strictly tied to one model. Switching models inside a huge thread wipes out the cache 100%, forcing the new model to reprocess the entire history at 10x the cost.

2. Three Google Pitfalls That Even Google Admitted Backfired

My own habits were only half the story. The other half was Google shipping multiple quota-burning traps at the exact same time:

Pitfall #1: Orchestrator backfired—and Google is now telling users to avoid it. Ironically, I even recommended Orchestrator in an earlier episode because Google pitched it as a 'master + apprentice' routing mode to save quota. In practice, passing context back and forth between models ended up repeating massive token payloads and burning even more quota than a single model. Google has now acknowledged the issue and advised users to skip Orchestrator for the time being.

Pitfall #2: The silent 4x multiplier on custom agents. Developers on GitHub proved with controlled tests that custom agents (--agent / .agents/agents/*) suddenly started draining 4.00x more quota per token than the default built-in agent, with zero mention in the release notes. After massive community backlash, Google reverted the 4x multiplier on the server side—but to stay safe against future billing changes, stick to the default built-in agent and keep your instructions in GEMINI.md / AGENTS.md and on-demand Skills.

Pitfall #3: An over-aggressive hidden background 'security reviewer' billing your quota off the books. Even with auto-approve turned on, Antigravity runs background cloud safety checks on many routine commands—especially chained shell commands with pipes or redirects, MCP calls, or legacy manual hook scripts in GEMINI.md. When escalated, the backend repackages up to ~300,000 characters of your conversation with 0% cache reuse and sends it to a heavy model for review. Almost 100% of these alarms are false positives, yet they quietly eat your 5-hour and weekly quota without ever showing up in /usage.

3. Four Immediate Rules That Cut Quota Burn by 80%

Even without installing any scripts, changing these four habits today will stop the bleeding right away:

1. Stop selecting Orchestrator. Pick one fixed single model tier in the model dropdown until Google officially fixes Orchestrator routing.

2. Pick one model tier and stick to it for the entire chat. If you want a lighter model for chores or a flagship model for hard architecture, open a fresh chat instead of switching mid-thread.

3. One task, one clean chat—stop hoarding 3 GB mega-threads. Start a new conversation once a feature wraps up, or type /compact when a thread gets long so you aren't dragging hundreds of thousands of tokens into every turn.

4. Clean out manual script rules in GEMINI.md and archive unused global Skills. If your global rules tell the AI to manually run an external notification script before and after every reply, remove it and move to native async hooks.json—otherwise every turn wastes extra round-trips and repeatedly trips the hidden background reviewer. Archiving dozens of unused global Skills also trims thousands of wasted system tokens on every new chat.

4. The Lazy-Proof Setup: Zero-Token Auto Warnings + Post-Update Audit

Relying on willpower to remember token counts and cache health never lasts. Using Antigravity's official native hooks.json lifecycle system, I added a lightweight dashboard (~28ms per check) that stays completely out of the model's context:

• Zero-token context watermarks: Once a chat crosses 120K or 180K tokens, it pops a clean reminder right in the UI telling you to run /compact or open a fresh chat—using metadata.user_markdown with an empty systemMessage so it costs 0 model tokens and never breaks prompt caching.

• Instant alerts for mid-thread model switches & cache drops: If you accidentally switch models or your cache hit rate dips below 35%, you get warned immediately.

• Detached backup & upgrade audit: All configs live outside the Antigravity app bundle, paired with a one-command audit script so after every Google update you can verify hook latency, cache hit rate, and rule health in seconds.

5. Free Download: Drop This Markdown Guide Into Your Antigravity to Auto-Fix

You don't have to wire any of this by hand. Download the sanitized English Markdown guide below, drag it straight into your Antigravity chat window, and paste this prompt:

Follow this guide step by step: first audit my local Antigravity setup for quota leaks, Orchestrator waste, and hidden background safety reviews; then deploy the zero-token native hooks, slim GEMINI.md rules, and detached backup/audit script, and run the final audit check.

6. Addendum: Companion Open-Source Context Meter Plugin + Cost Spike Curve

Alongside the automated Markdown Harness guide above, I also open-sourced Context Meter (MIT, bilingual EN/ZH)—a minimalist side-pane gauge that reads your local transcript with zero token overhead so you can manually watch live context usage and cache hit rate right inside Antigravity. It defaults to a practical 250K sweet-spot ceiling with an 80% (200K) orange alert line; when it lights up, click 'New Chat w/ Brief' for a clean 0-token handoff or 'Copy /compact' to trim in place.

Addendum — Why keep chats under 200K–250K? Whether you are on $20 Pro, $100 Ultra 5x, or $200 Ultra 20x, per-session context windows are identical (higher tiers scale your total quota pool, not immunity to long-context burn). As the cost curve below illustrates, Gemini 3.1 Pro triggers an immediate 2× unit-price cliff past 200K; and even on newer Gemini 4 models (flat 1M rate, auto-compacting around ~512K), bloated sessions still snowball per-turn token volume and risk up to a 20× full-price recompute spike whenever a disconnect, model switch, or forced compaction breaks prompt cache.

No manual wiring needed—just paste the GitHub URL to your Antigravity agent and let it install the plugin automatically:

Context Meter Antigravity side-pane plugin preview showing safe state vs past-200K orange alert with built-in tips expanded
Context Meter in action: minimalist safe-zone gauge on the left (tips collapsed by default), and the orange past-200K alert with expanded quota-saving tips on the right.
Antigravity context length vs quota cost curve showing 200K 2x pricing cliff, Gemini 4 snowball slope, and 20x cache-miss spike
Quota cost curve addendum: why pairing system rules with manual 0–200K context control stretches every plan tier ($20 / $100 / $200).
Please install this open-source Antigravity Context Meter side-pane plugin for me: https://github.com/hooosberg/context-meter-pane — follow the repository README to install and enable it locally.
Get Context Meter Free on GitHub