Michael Tromba
Michael Tromba

A fast LLM token counter I vibe-coded and shipped in under an hour

Fast, minimal LLM token counter. Client-side, open source, no sign-up.

A fast LLM token counter I vibe-coded and shipped in under an hour

Every token counter I tried had something annoying about it — too slow, too cluttered, or wanted me to create an account just to count some tokens. So I built my own.

tokencounter.space is a fast, minimal token counter for LLMs. Paste your text in, see the token count instantly. It also shows a color-coded visualization of how your text gets split into individual tokens, which is useful for understanding exactly what you're sending to an API and what it'll cost.

The whole thing was vibe-coded in under an hour. AI wrote most of the code, and I had the Cursor agent deploy it to Vercel without me ever opening the dashboard. It runs entirely client-side using js-tiktoken — no backend, no API calls, nothing leaves your browser.

The domain was three dollars. I bought it, put it online, and open-sourced it. No sign-up, no ads. I use it all the time.