[Bug]: VS Code Extension — Follow-up messages and mid-turn steering burning full thread input quota on every message / mid-turn weekly usage drops of 5-10% repeatedly in seconds

At the beginning of a chat thread, normal agentic tool-use and planning consume quota gradually as expected (presumably utilizing context caching, moving from 100% to ~98% over substantial work). However, once a plan is written, sending a short follow-up message to approve/proceed instantly burns 3% of total quota in a single turn (likely the entire chat thus far got cache-busted). Immediately steering the LLM with another short follow-up message seconds later (while it is still actively working, ruling out any TTL cache expiration / cold cache) burns the same full 3% instantly again.

This is happening repeatedly during the agent’s turn as well, without needing to even send a new message at all. As a long-running task continues on, usage drops at expected rates, but mid-way through I am losing progressively larger percentages instantly in random chunks. As the turn progresses I am now sporadically losing upwards of ten whole percent at a time, repeatedly. This number is going up as the chat grows larger. It doesn’t appear to be some ‘mass-injest’ event, it just starts chunking down growing percentages as the chat grows in size, seriously hinting that the cache is being invalidated mid-work, repeatedly billing the entire chat thus far from the weekly usage limit percentage.

I’m not sure if it’s expected behaviour for even a pro sub to lose 10% of a weekly limit in a single second, multiple times in a row within one minute. This seems like it must be a bug. It seems like I am gambling to have my usage not drain in a single turn in 120 seconds flat.

Update: it is also happening for Gemini 3.8 flash. I am losing 5-7% of my 5 hour limit in instant chunks rapidly. Just now testing, I dropped 7%, 5%, then 5% all in the space of 5 minutes. It is impossible to do this ordinarily, even with 5 chats running it would not even be possible to use it this fast. It simply must be a bug, or cache invalidation. Confirmed this does not happen in Antigravity IDE.

  • Surface: VS Code Extension
  • Model(s) tested: Gemini Argon and 3.8 flash
  • Version: Version: 1.143.1 (user setup)
    Commit: e646868227c3e3a9e3f24277c8c72****
    Date: 2026-10-22T17:23:22Z
    Electron: 43.7.7
    ElectronBuildId: 15743441
    Chromium: 150.0.7871.250
    Node.js: 24.21.0
    V8: 15.0.245.31-electron.0
    @github/copilot: 1.0.100-1
    @github/copilot-sdk: 1.0.23-preview.5
    OS: Windows_NT x64 10.0.22631

Steps to Reproduce:

  1. Start a chat session in the Antigravity VS Code extension with Argon on a Pro plan and build up a large context window through normal work and planning (quota drops slowly from 100% to ~98%).
  2. Once the chat is large enough to have used a noticeable amount of your usage limit, send a short follow-up message (e.g., “go ahead”).
  3. Observe quota usage: it immediately drops by ~3% in a single message.
  4. Within seconds, while the agent is still working/streaming, send a short steering follow-up message.
  5. Observe quota usage: it immediately drops by another ~3% (full uncached thread cost).
  6. Optional: observe long running agent turns while it is working and the rate of usage limit percent drop over time while the turn is still ongoing. Sporadically, you will lose multiple percents, as much as 10% in a single update, sometimes multiple times in a row within seconds of each other repeatedly. The drops seem to grow with the chat size up to about 5-10% of the weekly limit in a single update randomly with no indication of anything the agent is doing in particular, while other times remaining stable for long stretches with minimal usage drops.

Expected Behavior:
Follow-up messages and mid-stream steering in an active thread should append to the existing conversation history and hit the warm context cache, only billing incremental tokens + discounted cached input tokens. Weekly usage limit should probably not drop 20% in a few seconds in multiple 10% increments rapidly. On the Antigravity IDE desktop app (the one that is not updated for Argon yet) it behaves correctly. Even with 2 chats at the same time, my 5 hour limit is going down 1% every 1-3 minutes totally steadily and reliably.

Actual Behavior:
Every user follow-up or mid-turn interruption appears to invalidate the prompt cache prefix (possibly due to dynamic IDE state/system prompt mutation at the start of the payload or how interrupted turns are reconstructed), re-billing the entire long conversation thread as fresh, uncached input tokens. While the agent turn is ongoing, weekly Argon limit can drop upwards of 20% in seconds, with multiple 10% chunks observed only some seconds apart from each other. Same with 5 hr limit on 3.8 pro, similar chunking of 5-10% of the limit in seconds, during the agent turn which is not happening on the Antigravity app.

Hi @DeSinc,

Thank you for the detailed report and breakdown comparing quota consumption in the Antigravity for Visual Studio Code extension against the standalone desktop app.

Please use the following workarounds to minimize quota usage during multi-step tasks:

  1. Use the standalone Antigravity App or Antigravity CLI (agy) for long multi-step sessions: As noted in the Overview and Models documentation, the latest Antigravity App (v2.28.0) supports Gemini 4 Argon (Medium and High) and Gemini 3.8 Flash (Low, Medium, and High). So please update to the latest version. Because Antigravity uses a unified authentication layer (Installation), your sign-in credentials are automatically shared across the Antigravity App, the CLI, and the VS Code extension.
  2. Partition tasks into separate Exploration, Planning, and Execution phases and use @ file mentions: Per the Plans documentation, quota consumption correlates with the amount of work and context processed by the agent on each prompt. Following the Best Practices guide, we recommend splitting large workflows into separate conversations for Exploration, Planning, and Execution rather than continuing a single long thread, and typing @ in the prompt input to target specific files and minimize token overhead.
  3. Wait for the current turn to finish before sending follow-up prompts and adjust the Thinking Level: As documented in Models, the agent continues executing its current turn parameters until it completes its steps for that turn (or until you cancel the current execution). Waiting for the current turn to complete before sending follow-up instructions—and selecting a Low or Medium thinking level or Gemini 3.8 Flash for straightforward execution steps—will help conserve your weekly quota.