Track how many tokens your AI solutions cost.
Your API key never leaves your browser. No backend. No logging. No trust issues.
- Install Tampermonkey
- Click this link
- Tampermonkey will prompt you to install
- Visit any LeetCode problem page
- Write a prompt in the LeetCode editor
- Click 🚀 Run with AI
- The script calls OpenAI/Anthropic directly from your browser
- Response auto-fills the editor
- Submit normally through LeetCode
- The script tracks pass/fail and token usage
We taught engineers to optimize for time and space. Now we train them to optimize for tokens.
- API keys stored in your browser (Tampermonkey's isolated storage)
- No prompts or responses are ever sent to any server
- Direct browser → API calls (no proxy)
- Open source. Audit it yourself.
- OpenAI (GPT-4o-mini, GPT-4o, etc.)
- Anthropic (Claude 3.5 Haiku, Sonnet, etc.)
This is a single .user.js file. No build step. No dependencies.
MIT