Feature Request: Transitioning AI Quota Management to a Sliding Window Rate Limiter

Hello Google Antigravity IDE Team,

I am writing to suggest an improvement to the current AI quota policy. Currently, the system appears to use a Fixed Window approach (where quotas reset at a specific time/day). While this protects the system, it often creates a “hard cliff” for developers—once the limit is hit, we are blocked for a long period, which disrupts the development workflow.

I would like to propose moving to a Sliding Window Limiter (similar to the implementation described in standard high-performance documentation like [ASP NET] Core’s performance guidelines).

I don’t know if you are (readers) familiar with this concept, so, how it works (The Concept)

Instead of a “bucket” that refills once a week, a Sliding Window treats time as a continuous flow. Every request has its own “expiration date.” As time passes, the “window” slides forward, and the oldest requests drop off the count, immediately freeing up space for new ones.

Why this is better for Google and Users:

  1. Eliminates Long Downtimes: Instead of a user being blocked for 3–5 days until a weekly reset, they might only need to wait a few hours for their “window” to clear enough space for a few more queries. This keeps developers inside the IDE instead of switching to competitors.

  2. Prevents Server Spikes: Fixed windows cause “Thundering Herd” issues where thousands of users’ quotas reset at the exact same moment (e.g., Monday 00:00), causing massive traffic spikes. A sliding window spreads this load perfectly evenly across the day.

  3. Encourages Fair Usage: It naturally rewards users who pace their work. A developer who works steadily throughout the day is never blocked, while a bot-like “burst” of 100 requests is still throttled until the window slides.

Comparison for Clarity:

  • Current (Fixed): “You used 50/50 requests. Come back in 4 days.”

  • Proposed (Sliding): “You’ve reached your hourly/daily density limit. Your next request will be available in 15 minutes.”

This small logical change would significantly improve the “Pro” feel of the Antigravity IDE and make the AI features feel more reliable and “always-on.”

Thank you for considering this improvement to the developer experience.

Best regards.

Hi @Yes

Thank you for your feedback. We appreciate you taking the time to share your thoughts with us, and we’ll be filing a feature request.

2 Likes