Skip to content

Token counter

Models do not read characters or words — they read tokens. Paste your text to see how many tokens it becomes, and where the boundaries fall.

Try:

Names are written the way each vendor's own model documentation writes them, which is not always the name on the chat page you use.

Result

Nothing counted yet. The encoding dictionary is only downloaded once you type — it weighs megabytes, so we do not fetch it for visitors who just read the page.

Your text stays in your browser. This site has no server runtime at all — the dictionary is downloaded to your machine and the counting happens there, so nothing you paste is uploaded, logged or stored.

Need to know whether a long document fits a model's context window? Context fit takes a file.