AI token counter
Count tokens and estimate the API cost of a prompt for GPT, Claude, and Gemini models.
Use from your agent
Streamable HTTP at https://benchline.fabwaseem.com/mcp. No key. The tool name is count_tokens.
Related tools
- JSON-LD schema generatorFill a form, get valid schema.org JSON-LD for Article, FAQ, Product, Organization, and more.SEOMCPNew
- llms.txt generatorRead a public sitemap and write an llms.txt index, plus an optional llms-full.txt.AI searchMCP
- JWT decoderPaste a JSON Web Token, read the claims, and verify the signature in the browser.Auth debuggingMCP
- Cron expression builderBuild or paste a cron schedule, read it in plain English, and see the next run times.CronMCPNew
How it works
Free LLM token counter and API cost calculator. Paste text to count tokens with OpenAI's tokenizers and estimate input and output cost across GPT, Claude, Gemini, and other models.
- 01
Paste your prompt or file
Drop a .txt, .md, or .json file, or paste the prompt. The count updates in the browser.
- 02
Pick models and expected output
Choose the models to compare, set the output tokens you expect back, and the cached-input share.
- 03
Compare cost per request and per month
The table prices input and output separately. Copy it as markdown when you want to keep the estimate.