Token Diet API
API by Clawhard Studio · rest
Token Diet shrinks what you paste into AI. It shows what a prompt costs in tokens and cuts the junk in one tap (base64 blobs, giant JSON, repeated log lines, stack-trace noise) so you hit your AI usage limit later. Runs in your browser. Public, no API key. Rate limited. By Clawhard Studio.
Endpoint: https://tokendiet.clawhard.com/
Verification: observed. Source: crawl.
Capabilities (2)
- Count the exact tokens in a text
- Trim junk out of text before pasting it into an AI chat