
AI token counter
Count tokens and estimate the API cost of a prompt for GPT, Claude, and Gemini models.
In Prompt text or a text file, selected models, expected output tokens, requests per day, and a cached-input share./Out Token, character, and word counts, a token boundary preview, and a cost table per model.
How to use it
- 1Paste your prompt or fileDrop a .txt, .md, or .json file, or paste the prompt. The count updates in the browser.
- 2Pick models and expected outputChoose the models to compare, set the output tokens you expect back, and the cached-input share.
- 3Compare cost per request and per monthThe table prices input and output separately. Copy it as markdown when you want to keep the estimate.
Questions
Related
Fill a form, get valid schema.org JSON-LD for Article, FAQ, Product, Organization, and more.
Open instrumentRead a public sitemap and write an llms.txt index, plus an optional llms-full.txt.
Open instrumentPaste a JSON Web Token, read the claims, and verify the signature in the browser.
Open instrumentBuild or paste a cron schedule, read it in plain English, and see the next run times.
Open instrument