Real-time AI model token consumption, context window health, cost analyzer, and context optimization extension for Antigravity IDE and Visual Studio Code.
✨ Features
⚡ Real-time Telemetry & Context Health: Scans active session transcript logs to compute exact prompt tokens, completion tokens, context window occupancy percentage, and context cache hit rates.
📊 Interactive Radial Gauge & Visual Breakdown: Radial SVG meter displaying context window capacity with breakdown by System Prompts, Transcripts, Working Files, and Tool Execution outputs.
💵 Live Cost Estimator: Calculates dollar cost estimates ($) and context caching savings across Vertex AI & Gemini models (Gemini 3.6 Flash, Gemini 1.5 Pro, Claude 3.5 Sonnet, GPT-4o).
🖥️ Flexible Display Options:
Full-Page Editor Tab Dashboard: Expands into a dedicated editor canvas tab.
Activity Bar Sidebar: Live widget embedded alongside your file explorer.
Persistent Status Bar Badge: $(pulse) Tokens: 91.2k (8%) in bottom bar.
🧹 Context Pruning Action: One-click optimization to free context window memory from old transcript logs.
📥 Data Export: Export session token telemetry as formatted JSON reports.
🚀 Installation
From VS Code Marketplace
Open Antigravity IDE / VS Code.
Open Extensions (Cmd+Shift+X / Ctrl+Shift+X).
Search for Antigravity Token Monitor and click Install.