TokenLens

Overview
TokenLens is a privacy-first VS Code extension that brings AI usage, quotas, rate-limit windows, spending, prompt-cache insights, budgets, and development ROI into one dashboard. It supports 11 providers including OpenAI Codex, Claude Code, GitHub Copilot, Cursor, Google Antigravity, Windsurf, Ollama, DeepSeek, Mistral, OpenRouter, and Groq. Data stays local with zero telemetry.
Technologies
Features
Track the cost and impact of AI-assisted development across tools.
- Monitor live quotas, rate-limit windows, and reset times
- Track usage, spending, and monthly budgets
- Analyze prompt-cache performance and savings
- Explore trends by model, provider, and project
- Get cost-optimization suggestions and calculate ROI
- View spending in multiple currencies with local data
Development and Challenges
Unifying quota and cost information across providers while keeping the dashboard useful and all data local.
Conclusion
TokenLens helps developers understand what their AI stack consumes, costs, and saves without sacrificing privacy.