Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>DietToken - AI OptimizerNew to Visual Studio Code? Get it now.
DietToken - AI Optimizer

DietToken - AI Optimizer

PraveenSalesGod

|
1 install
| (0) | Free
Token-Efficient Codebase Agent proxy for VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DietToken ✨

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 🛠️

  1. Activate: DietToken starts automatically with VS Code.
  2. Dashboard: Click the sparkle icon in the Activity Bar to see your live stats.
  3. Connect: Configure your AI assistant (like Cursor or Deputy Dev) to use http://127.0.0.1:8080 as the API base URL.
  4. 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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft