
TokenLens - A CLI tool to check token usage for Cursor and other AI providers.
This is a submission for the DEV Weekend Challenge: Community The Community If you’re like me, you don’t use just one AI tool. One day it’s Cursor. Then you hop into Codex. Then you try Gemini Code Assist. Each one has its own idea of: “usage” “limits” “reset time” “where the dashboard even is” And the worst part, you usually notice you’re out of quota only when you’re already in the middle of building something. TokenLens is for devs who bounce between multiple AI providers and just want one quick answer: “How much do I have left, and when does it reset?” No dashboards. No clicking around. Just one terminal command. What I Built TokenLens is a CLI that shows usage and limits for Cursor, Codex, and Gemini in one terminal view. Run: tlens status …and you’ll see usage, limits, and reset dates for: Cursor — Pro/Fast request usage + reset date (pulled from browser cookies) Codex — session (5h), weekly usage, credits (from ~/.codex/auth.json + usage endpoint) Gemini Code Assist — Pro + Flas
Continue reading on Dev.to
Opens in a new tab


