
TokenCalculator.dev
Privacy-first token counter for text, code & files.
About TokenCalculator.dev
What TokenCalculator.dev does
AINave analysisEstimates how many LLM tokens a prompt, codebase, document or image will use and what that costs across several model providers.
- Best for
- Developers building with LLM APIsEngineers estimating AI usage costs
- Use it to
- Counting tokens in text prompts before sending them to a model
- Measuring token usage across a codebase
- Estimating token counts for local PDF and DOCX documents
- Estimating token counts for vision inputs such as PNG, JPEG, WebP and GIF images
- Comparing estimated API costs across OpenAI, Claude, Gemini and DeepSeek
Show you're on AINave
Add the badge to TokenCalculator.dev's site. It links back to this page.
Alternatives to TokenCalculator.dev
See all 3 alternatives- 1
AICostIndependent LLM API price desk: compare model pricing
Pick it if you need to forecast a monthly LLM API bill, compare per-model input, output and cached rates, or weigh subscription plans against API usage, including for…
- 2
AIQualityHQFree, deterministic AI prompt quality and security checker.
Pick it if you need to lint prompts for structural defects, injection or jailbreak risks, and token waste before shipping, with analysis that runs locally in the browser.
- 3
OpenAI ChatGPT API Pricing CalculatorEstimate and Optimize OpenAI ChatGPT API Costs
Claim this listingPick it if you only need a quick cost estimate from a word count for a chosen model during project planning, and do not need token counts for files or images.
Covers some of itFreeSimilar price to TokenCalculator.devView OpenAI ChatGPT API Pricing Calculator