Skip to content
Toolsmith

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

  1. 1Paste your prompt or fileDrop a .txt, .md, or .json file, or paste the prompt. The count updates in the browser.
  2. 2Pick models and expected outputChoose the models to compare, set the output tokens you expect back, and the cached-input share.
  3. 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

Search tools

Jump to an instrument