Token Diet is a free, open-source tool by Ranker that counts the tokens in any prompt and trims it to use fewer tokens, lowering the cost of LLM and AI API calls. It runs entirely client side in the browser, with no login. Live tool: https://ranker.co.za/token-diet Source: https://github.com/rankerZA/token-diet
Built with