Count LLM Tokens & Estimate Cost - GPT, Claude, Gemini
Pricing
from $0.50 / 1,000 text counteds
Count LLM Tokens & Estimate Cost - GPT, Claude, Gemini
Count tokens and estimate cost for GPT, Claude and Gemini. Offline. Exact OpenAI counts via tiktoken; Claude/Gemini marked as estimates. $0.0005 per unique text. Works from Apify MCP and the API.
Pricing
from $0.50 / 1,000 text counteds
Rating
0.0
(0)
Developer
Tidy Byte Tools
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a minute ago
Last modified
Categories
Security
Limited permissionsShare
LLM Token Counter & Cost Estimator - GPT, Claude, Gemini
Count tokens for GPT, Claude, Gemini and more, and estimate cost from public list prices. Offline, no API key. $0.0005 per text, all selected models included.
Website and local versions
- Website — Tidy Byte Tools product page
What it does
- Counts tokens for each text you paste, list, or load from a file.
- You can pick more than one model. You still pay once per text.
- OpenAI counts (GPT and o3) use the real tiktoken rules and are exact.
- Claude and Gemini counts are close estimates. Each result is marked exact or estimate.
- Estimates input and output cost from public list prices (dated 9 Nov 2026, America/Chicago). Prices can change.
- Gives a short summary of totals.
Price
You pay $0.0005 per unique text counted. Every model you pick is included in that price. Blank lines and repeats are free. There is no start fee from us. Apify adds its normal small platform cost. Set a max cost for the run and we stop there. We never charge for work we did not save.
How to use
- Paste text, add a list, or add file links.
- Pick the models you care about.
- Click Start.
- Get results in the Output tab.
Input
- Texts: One text per line.
- Or paste text: Paste one text, or many if you split by line.
- File links: Links to text files. Each file is one text, unless you split by line.
- How to split paste and files: Keep as one text, split on every line, or split on blank lines.
- Models: The models to count. OpenAI is exact. Claude and Gemini are estimates.
Good to know
- No API key is needed. Nothing is sent to OpenAI, Anthropic or Google.
- Cost figures use public list prices as of 9 Nov 2026 (America/Chicago). They are a guide, not a bill from the model maker.
- Claude and Gemini token counts can be a little high or a little low.
- Files up to 50 MB each.
- Your data is only used for your run.
- Made by Tidy Byte Tools. Questions? Open an issue on this Actor's page.
More tools from Tidy Byte Tools
These Actors work well together:
- PDF Table Extractor — PDF tables to CSV, Excel and JSON. $0.003 per page with a table.
- PDF, Word and Web Page to Markdown — Clean Markdown and RAG chunks. $0.003 per file.
- HTML Table Extractor — Web tables to CSV and JSON. $0.0005 per data row.
- Broken Link Checker — Check site and sitemap links. $0.001 per link.
- Markdown Chunker for RAG — Split Markdown by headings. $0.0001 per chunk.
- CSV and Excel Data Cleaner — Dedupe and fix dates, emails and phones. $0.0005 per clean row.
- JSON to CSV Converter — Flatten nested JSON for spreadsheets. $0.0001 per row.
- CSV Encoding Fixer and Splitter — Fix garbled letters like é and split big files. $0.01 per file.
- Phone Number Validator — Check and format numbers offline. $0.001 per number.
- LLM Token Counter — Offline token and cost estimates for GPT, Claude and Gemini. $0.0005 per unique text.
Free local tools (no Apify account needed): pdf-table-pull-lite, doc2md-lite, link-check-lite, md-chunk-lite, json-shaper-lite.
Website: https://tidybytetools.github.io. All Actors: apify.com/tidybytetools.
Agent tip
Count tokens and estimate cost for GPT, Claude and Gemini. Offline. Exact OpenAI counts via tiktoken; Claude/Gemini marked as estimates. $0.0005 per unique text. Works from Apify MCP and the API.