⚡ Antigravity AI Quota Monitor
Real-Time AI Rate Limits & Quota Tracker for Antigravity IDE & VS Code
Track Gemini, Claude, and GPT model limits right inside your status bar and sidebar dashboard.
🎯 Overview
Never be caught off guard by rate limits again. Antigravity AI Quota Monitor seamlessly connects to your local Antigravity IDE daemon to provide live, glanceable feedback on your AI model usage across 5-Hour Velocity Limits and Weekly Allowances.
┌────────────────────────────────────────────────────────────────────────┐
│ ... Ln 12, Col 4 ✨ Gem (5h): 89% 🤖 Claude (5h): 100% UTF-8 │
└────────────────────────────────────────────────────────────────────────┘
▲ Status Bar Live Widget
✨ Features
1. 🌈 Smart Status Bar Indicators (Glanceable & Non-Intrusive)
Separate Widgets: Gemini and Claude/GPT have dedicated status badges side-by-side.
Adaptive Color Coding:
| Quota Remaining | Text Color | Visual Indicator | Status Description |
| :--- | :--- | :--- | :--- |
| ≥ 50% | Standard White (#ffffff) | $(sparkle) / $(hubot) | Healthy — Calm, standard editor aesthetic |
| 10% – 49% | Vivid Orange (#fb923c) | $(sparkle) / $(hubot) | Warning — Quota is consuming, keep an eye on it |
| < 10% | Coral Red (#ef4444) | $(sparkle) / $(hubot) | Critical — Limit nearly exhausted or depleted |
Rich Markdown Tooltip: Hover over any badge to see detailed breakdowns:
- Gemini Weekly & 5-Hour remaining percentages
- Claude Weekly & 5-Hour remaining percentages
- Exact countdown timer until refresh (e.g., "will fully refresh in 4 hours, 22 minutes")
- Account Tier & Available Credits
Access a full visual suite by clicking the AI Quota icon in your Activity Bar:
- 🟢 Dynamic Progress Bars: Animated gradient progress bars indicating exact remaining fractions.
- ⏱️ Countdown Timers: Real-time reset countdowns for each rate limit window.
- 💳 Account & Credits Strip: Live overview of your Google AI Pro tier, Available Prompt Credits, and Flow Credits.
- 🗂️ Model Catalog Breakdown: Expandable inspector showing quota allocations for individual models (Gemini 3.8 Flash, Gemini 3.1 Pro, Claude Opus 4.6, Claude Sonnet 4.6, GPT-OSS, etc.).
3. 🪙 Token Usage & Request Tracker (New in v1.1.0)
- Interactive Metrics Grid: Live tracking of Input Tokens, Output Tokens, and API Requests.
- Dual Scope Switcher: Instantly toggle between Current Task (active conversation) and Today's Total (all tasks completed today).
- Thinking vs Response Breakdown: See detailed token splits for reasoning models (e.g. Gemini Thinking / Claude Thinking).
- Ratio Visualization: Visual dual-gradient proportion bar comparing input prompt context vs output generation.
- Model & Task History Inspector: View token breakdowns per model and inspect recent tasks.
4. 🔄 Real-Time Background Synchronization
- Zero Config: Automatically auto-detects the running Language Server PID, CSRF Token, and port.
- Ultra Low Latency: Communicates directly over local Connect-RPC (
127.0.0.1) in ~10ms.
- Battery & Resource Friendly: Polling every 30 seconds consumes negligible CPU and zero internet data.
- Instant Refresh: Dedicated
↻ Refresh button and commands for on-demand updates.
⚙️ Extension Settings
Customize your monitoring experience in VS Code Settings (⌘ + , or Ctrl + , -> search antigravityQuota):
| Setting |
Type |
Default |
Description |
antigravityQuota.statusBarDisplayMode |
string |
"5h" |
Choose what to show on status bar: "5h", "weekly", or "both" |
antigravityQuota.refreshInterval |
number |
30 |
Auto-refresh interval in seconds (set 0 to disable auto-refresh) |
antigravityQuota.showInStatusBar |
boolean |
true |
Toggle display of status bar badges |
antigravityQuota.warningThreshold |
number |
20 |
Threshold percentage to trigger warning color |
⌨️ Command Palette
Open with ⌘ + Shift + P (macOS) or Ctrl + Shift + P (Windows/Linux):
Antigravity Quota: Open Quota Dashboard — Focus the Activity Bar quota inspector
Antigravity Quota: Refresh Quota — Fetch latest rate limits from language server immediately
Antigravity Quota: Show Quota Summary in Toast — Display a floating notification modal with full summary
🛠️ Architecture: How It Works
┌───────────────────────────────────────┐
│ Antigravity AI Quota Monitor │
└──────────────────┬────────────────────┘
│
▼ (100% Local Discovery)
[Scan Process Table & Active Ports]
│
▼ (Connect-RPC over HTTPS)
┌────────────────────────────────────────────────────────┐
│ Local Language Server Daemon (127.0.0.1) │
│ - /RetrieveUserQuotaSummary │
│ - /GetUserStatus │
└────────────────────────────────────────────────────────┘
- Process Discovery: Discovers the active
language_server background daemon and its CSRF handshake token.
- Local RPC Query: Issues lightweight Connect-RPC requests to
/exa.language_server_pb.LanguageServerService/RetrieveUserQuotaSummary.
- State Propagation: Updates the status bar widgets and Webview panel simultaneously.
🔒 Privacy & Security
- 100% Local: All queries are sent strictly to
127.0.0.1 (localhost).
- Zero External Telemetry: No personal data, email, token, or metrics are ever transmitted outside your machine.
- No Credentials Stored: Authentication uses transient runtime CSRF tokens directly from memory.
🚀 Installation
In Antigravity IDE:
- The extension installs automatically or via VSIX:
antigravity-ide --install-extension antigravity-ai-quota-monitor-1.0.1.vsix
- Reload Window (
⌘ + Shift + P -> Developer: Reload Window).
In VS Code:
- Open VS Code.
- Go to Extensions (
⌘ + Shift + X) -> Click ... (Views and More Actions) -> Install from VSIX...
- Select
antigravity-ai-quota-monitor-1.0.1.vsix.
📄 License
Distributed under the MIT License.