Free token & USD cost estimator for Anthropic / OpenAI / Google API calls — paste text below, no install, no signup.
0 characters · 0 words · ~0 tokens (estimate)
| Provider | Model | Input cost | Output cost* |
|---|
*Output cost assumes a response of roughly the same token length.
npm install -g llm-tokencheck tokencheck myfile.txtThere's an optional $9 Pro license that unlocks batch processing of a whole folder + CSV export — useful if you're auditing costs across a codebase or a dataset.
No external tokenizer dependency (keeps the CLI install at zero deps): the estimate blends a
characters/4 approximation with a word-count based approximation, which stays within roughly 15% of real
BPE tokenizers for typical English/French prose. Always shown as an estimate, never as an exact count —
for exact counts, use the tokenizer your provider ships (e.g. tiktoken for OpenAI).