Independent community project. Not affiliated with or endorsed by Google.
ModelCraft modelcraft.dev
← All Fix Guides
high ✓ Verified: 2026-11-26 AGY v2.35.2 / Gemini Pro & Ultra
quota google agygemini-cligemini-web

Shared 5h Rolling Window or 7-Day Weekly Cap Reached

429 WEEKLY_LIMIT_EXCEEDED RATE_LIMIT_EXCEEDED
Matching Symptoms
  • • Heavy Neon or Carbon agent loops exhaust quota early in the 5h window.
  • • Daily PT midnight passes, yet Antigravity still blocks frontier models due to the 7-day rolling weekly cap.
  • • Single long uncompacted session burns tens of millions of uncached input tokens.
Root Cause

True shared-bucket exhaustion across the 5-hour rolling window or 7-day weekly ceiling. Note that implicit full-request KV caching requires >= 4,096 base tokens AND >= 2,050 new tokens added per multi-turn loop.

Step-by-Step Fix

  1. 1 Audit local 5h/7d burn and long-session snowball warnings with agycraft-mcp (analyze_token_usage + get_saving_recommendations).
  2. 2 Run /compact immediately or switch mid-turn (AGY v2.35.2+) from Neon to Hydrogen.
  3. 3 Check /usage and /credits in Antigravity CLI to see whether AI Credit overages are set to Never or Always.
  4. 4 Add .geminiignore to exclude node_modules, build outputs, and lockfiles from context ingestion.

Copyable Commands

Run local quota & context hygiene check (all)
npx agycraft-mcp doctor
Create a minimal .geminiignore to stop context bloat (unix)
printf 'node_modules/\ndist/\nbuild/\n.git/\n*.lock\n' >> .geminiignore

Verify Fix

Verify
test -f .geminiignore && npx agycraft-mcp doctor