Token counter & cost estimator

Paste a prompt, document or draft to get a quick token estimate and compare its likely input and output cost across models. The text stays in your browser and is not uploaded.

Pricing updated 2026-06-19. Estimates only.

The formula

Estimated tokens ≈ characters ÷ 4 (blended with words × 1.33). Input cost = tokens ÷ 1,000,000 × input price. Output cost = tokens ÷ 1,000,000 × output price. Actual tokenisation depends on the model's tokenizer and language.

Questions

How many tokens is a word?

In English, about 0.75 words per token, or roughly 4 characters per token. Code and non-English text use more tokens per word.

Is this token count exact?

No, it is a close estimate from a characters-and-words heuristic. The exact count comes from the model's own tokenizer, which this tool approximates without uploading your text.

Is my text uploaded anywhere?

No. The counting and cost estimate run in your browser, and nothing goes to a server.

Related reading and tools