This product was not featured by Product Hunt yet. It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).
TokenLens counts your text's tokens exactly with OpenAI's official tokenizer and shows how it fits into 22+ models' context windows — GPT-5, Claude, Gemini, DeepSeek, Qwen, GLM, Kimi, Grok and more. See per-model input costs and per-1M pricing, auto-synced from the open LiteLLM database. 100% client-side: free, no sign-up, your text never leaves the browser.
Hi PH! 👋 I built TokenLens because every "token counter" I found was either inaccurate, plastered with ads, or vague about which tokenizer it actually used.
Three things I focused on:
🔍 Accuracy — OpenAI models are counted with the real o200k/cl100k tokenizers; other vendors are clearly marked as estimates
📊 Context + cost in one view — see where your text lands in each model's context window and what it costs, with pricing auto-synced from the open-source LiteLLM database
🔒 Privacy — everything runs in your browser; the only external request is the pricing data
It's a single HTML file, fully open source: https://github.com/Tliens/TokenLens
Would love your feedback on which models to add next!
TokenLens was submitted on Product Hunt and earned 0 upvotes and 1 comments, placing #33 on the daily leaderboard. TokenLens counts your text's tokens exactly with OpenAI's official tokenizer and shows how it fits into 22+ models' context windows — GPT-5, Claude, Gemini, DeepSeek, Qwen, GLM, Kimi, Grok and more. See per-model input costs and per-1M pricing, auto-synced from the open LiteLLM database. 100% client-side: free, no sign-up, your text never leaves the browser.
TokenLens was featured in Productivity (661.2k followers) and GitHub (41.4k followers) on Product Hunt. Together, these topics include over 191.5k products, making this a competitive space to launch in.
Who hunted TokenLens?
TokenLens was hunted by 宇宙无敌天下第一魁君主上. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.
Want to see how TokenLens stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.