nowfound

AI · June 26, 2026

Token Diet

Free prompt token counter and optimizer - cut LLM API costs

Token Diet launched on June 26, 2026 with 2 votes.

What it does

Token Diet is a free, open-source tool that counts tokens in any prompt and optimizes it to use fewer tokens - lowering the cost of LLM and AI API calls. Runs entirely client-side with no login and no data leaving the page. Built by the Ranker team.

Free prompt token counter and token optimizer from Ranker. Reduce LLM tokens, cut AI API costs, lower OpenAI and Claude costs, and slim bloated prompts in your browser.

Trim the fat from your prompts. Same instructions, fewer tokens, a smaller AI bill. Every token costs money and eats your context window. Bloated prompts quietly burn budget at scale, especially anything you run thousands of times. The normal diet runs in your browser. Prompt Lock is optional and uses your own OpenRouter key. Optional AI pass with DeepSeek V4 Flash on OpenRouter. Your key is only used for this request and is not stored by Ranker. Local mode never sends your prompt anywhere. If you use Prompt Lock, your prompt goes directly from this browser to OpenRouter with your own key. Token Diet only trims filler and verbose phrasing, it never changes your actual instructions, so…from ranker.co.za

Does a similar job

all alternatives →
  • Diet ClaudeAug 2026 · dietclaude.com · ▲433

    Diet Claude — a usage meter for Claude that drains as you go and refills when your session resets. Crack open the can — free on the Chrome Web Store.

  • TokenCounter2024 · tokencounter.co · ▲117

    Count tokens and estimate costs for any AI model

  • Token price calculator for 400+ LLMs2024 · github.com · ▲268

    Hey HN! Tokencost is a utility library for estimating LLM costs. There are hundreds of different models now, and they all have their own pricing schemes. It’s difficult to keep up with the pricing changes, and it’s even more difficult to estimate how much your prompts and completions will cost until you see the bill. Tokencost works by counting the number of tokens in prompt and completion messages and multiplying that number by the corresponding model cost. Under the hood, it’s really just a simple cost dictionary and some utility functions for getting the prices right. It also accounts for…

  • TokenwiseJun 2026 · tokenwisehq.com · ▲143

    A smart LLM proxy that shows where you're overpaying

  • LLM Token CounterMay 2026 · singhajit.com · ▲3

    Estimate prompt cost before you call the LLM API

  • Free Token counter2025 · freetokencounter.com · ▲8

    toolify100.com is a collection of tools

More ai this month

the category →
  • Video model that turns script into viral social media videos

    AI · 17d ago · spira.ai

  • The browser where Claude Code and Codex work beside you

    AI · 17d ago · rill.love

  • Kolibri is Aleph Alpha

    AI · 19d ago · tej.as

  • Paintings by AI models: programs run through a simulation of oil paint.

    AI · 20d ago · stillwet.art

  • A real-time world model you can explore and change

    AI · 29d ago · world.pixverse.video

  • Hemory▲381

    Keep listening. Searchable memory for your AI agents.

    AI · 29d ago · hemory.com

Source: Product Hunt launch ↗

Launched alongside, June 2026

the whole month →
  • Fundraisly▲1,537

    AI fundraising agent that finds investors and books meetings

    AI · Jun 2026 · fundraisly.com

  • Today, I’m proud to announce Homebrew 6.0.0. The most significant changes since 5.1.0 are a new tap trust security mechanism, the new faster, smaller, default internal Homebrew JSON API, sandboxing on Linux, better defaults informed by our user survey, many brew bundle improvements, improved performance and initial support for macOS 27 (Golden Gate). Happy to discuss any questions here!

    Dev tools · Jun 2026 · brew.sh

  • Hi HN! I was super frustrated at apps like tiktok and wechat preventing me from saving or downloading the animated gifs, so I made a little tool to turn a screen recording into a slack-sized emoji. Hope you get some value from this!

    Life & fun · Jun 2026 · vorpus.github.io

  • Upstream▲976

    The inbox designed for humans and agents

    AI · Jun 2026 · upstream.do

  • Goldfish▲958

    Press Option. It knows your work and replies like you

    AI · Jun 2026 · goldfish.sh

  • Search 18 years of Hacker News and chart how any topic, tool, or person trended. Overlay terms to compare their rise and fall across 45M posts and comments.

    Life & fun · Jun 2026 · hackernewstrends.com