Antigravity Token Meter is a powerful VS Code extension designed for developers using the Antigravity AI IDE. It provides real-time visibility into token usage and estimated costs, helping you stay within your Gemini API budget while you build.
🚀 Features
Real-time Status Bar: See your total tokens and cost at a glance in the bottom right corner of your IDE.
Analytics Dashboard: A sleek, interactive webview dashboard with graphs showing your token consumption trends.
Daily Persistence: Automatically resets daily while keeping historical records for long-term spend analysis.
Multi-Model Support: Calculated based on Gemini 2.0 Flash and Pro pricing tiers.
Auto-Sync: Automatically detects token metadata from the Antigravity brain/ directory.
📊 Analytics Dashboard
Click on the Status Bar entry to open the Token Consumption Analytics view. This view provides:
Token Usage Bar Chart: Visualizes your daily token consumption.
Cost Line Chart: Tracks your spending over time.
🛠️ Configuration
The extension is zero-config by default. It looks for token metadata in your Antigravity workspace automatically.