DietToken is a token-efficient proxy for AI coding assistants. It intercepts your LLM requests, compresses context using advanced identifier remapping, and helps you save up to 50%+ on token costs without losing accuracy.
Features 🚀
Advanced Token Compression: Shortens long identifiers and optimizes context before it hits the API.
Live Savings Dashboard: Track your token and dollar savings in real-time right from your sidebar.
Seamless Proxy: Works as a local interceptor—just point your AI tool to the DietToken port.
Privacy First: All compression happens locally on your machine.
How It Works 🛠️
Activate: DietToken starts automatically with VS Code.
Dashboard: Click the sparkle icon in the Activity Bar to see your live stats.
Connect: Configure your AI assistant (like Cursor or Deputy Dev) to use http://127.0.0.1:8080 as the API base URL.
Save: Watch your "Money Saved" grow as DietToken optimizes your prompts!
Commands ⌨️
DietToken: Show Savings Stats: Quick notification of total savings.
DietToken: Simulate Sample Request (Test): See the dashboard in action with a mock request.
Built with ❤️ for developers who love efficient AI.