OneShopAI
Collab Space

I'm in. Fixing my LLM token calculator in 4 weeks

Meera Iyer
Meera Iyer
Level 4, Contributor, Silver league, Conversationalist badge

Hey everyone 👋

So I've been building a side project called Calculate Token (calculatetoken.com). It's a free LLM token calculator. You paste your prompt and it shows the token count and the API cost across 15 models at once.

I built it because I kept getting surprised by API bills. I'd test something, feel good about it, and then see the cost later. I wanted to know the number before shipping, not after.

What it does right now:

- Counts tokens live as you type, or you can drop in a .txt or .md file

- Compares cost across OpenAI, Anthropic and Google models side by side

- Shows how much of the context window your prompt uses

- Has a Prompt Optimizer and a Smart rewrite to make prompts shorter

- Works without an account. If you sign up (free), you can save calculations, share them and export to CSV, JSON or Markdown

- Counting happens in your browser, so your prompt stays with you

Models it covers: GPT-5.6 (Sol, Terra, Luna), GPT-4o, GPT-4o mini, GPT-4.1, GPT-4 Turbo, GPT-3.5 Turbo, Claude Opus 5, Sonnet 5, Haiku 4.5, Gemini 3.1 Pro, Gemini 3.6 Flash, Gemini 2.5 Flash and Gemini 3.1 Flash-Lite.

But honestly, it's not where I want it yet:

1. It only counts the text you paste. System prompts, chat history and retries aren't included, so your real bill can be higher than what it shows.

2. The pricing needs an update. GPT token counts are exact, but Claude and Gemini are still estimates.

So here's my plan for the next 4 weeks:

- Week 1: update pricing for all 15 models

- Week 2: include system prompts and chat history in the cost

- Week 3: make it super clear which numbers are exact and which are estimates

- Week 4: get real people to test it, fix what breaks, and ship

I can give around 6 to 8 hours a week, mostly evenings and weekends.

If you're building anything with OpenAI, Claude or Gemini APIs, I'd love to be in your pod. And if you're up for testing, tell me where the numbers look off. That's the feedback I need most 🙏

Add your perspective

Sign in to comment, like, and build your reputation.

Comments (1)

AK
Adarsh kumar
Level 6, Connector, Diamond league, Community Star badge

yes i have used it multiple times .it works completely good👍👍

0