Skip to content
Koit Academy

AI token counter

Your details

From your provider’s pricing page. Leave empty to skip the cost.

The details filled in are an example. Everything runs in this browser; nothing you type is sent anywhere or stored.

Token estimate

About 69 tokens (51 words, 273 characters).

Estimated with published rules of thumb, not a model’s own tokenizer: 64–85 tokens by word count.

Characters: 273
Words: 51
Estimated tokens, at about 4 characters each: 69
Estimated tokens, at 60 to 80 words per 100: 64 to 85
  • Note: For an exact figure, use the token-counting feature or tokenizer of the model you are paying for. These are rules of thumb, and every model family splits text differently.

How to use it · free, no signup

How to use the Token Counter

Paste any text to see its characters, words and an estimate of the tokens it will use, with the cost at a price you enter. Runs in your browser.

  1. 01

    Paste the text

    A prompt, a document or a reply: anything you will send to a model.

  2. 02

    Add a price

    Optional: your provider’s price per million input tokens.

  3. 03

    Read the estimate

    Tokens by characters, a range by words, and the cost.

How the estimate works

An exact token count needs the tokenizer of the model you will use, and every model family has its own. What can be counted exactly is the characters and the words, and Google’s documentation for Gemini gives two rules for turning them into tokens: a token is about 4 characters, and 100 tokens are about 60 to 80 English words. The counter applies both, so you can see how far apart they are.

RuleCount in the exampleEstimated tokens
About 4 characters a token273 characters69
80 words per 100 tokens51 words64
60 words per 100 tokens51 words85

For ordinary English prose the two rules land close together. When they do not, the text usually has unusually long words, many numbers or a lot of punctuation.

Why counts differ between models

  • Different vocabularies. Each tokenizer has learned its own set of word pieces, so the same sentence can be a few tokens longer in one model than another.
  • Other languages. Text that is not English, and especially text in other scripts, usually takes more tokens per word.
  • Code and data. Brackets, indentation, symbols and long identifiers often split into many small tokens.
  • Formatting. Markdown, tables and repeated spaces all count.

What tokens cost

Providers price their models per million tokens, with output usually priced higher than input. A price typed into the counter gives the cost of sending this text once, and optionally a thousand times. For a whole workload, with input and output priced separately and scaled to a month, use the AI API cost calculator. To see how much text fits in a model at once, use the context window calculator.

Getting an exact count

When an exact figure matters, for a hard limit or a large bill, count with the tokenizer or token-counting feature your provider offers for the model you use. The estimate here is for planning: how long a prompt is, whether a document will fit, and roughly what it will cost.

Published by Koit Academy. Who runs it, how it is paid and how its tools are checked.

Questions

What people ask about the Token Counter

What is a token?
The unit a language model reads and writes in. A token is often part of a word, a whole short word or a punctuation mark, and models are priced and limited by tokens, not words.
How many tokens is a word?
In English, roughly one and a third on average. Google’s documentation for Gemini puts 100 tokens at about 60 to 80 English words.
Is this count exact?
No. It is an estimate from published rules of thumb. Each model family has its own tokenizer, and the exact count comes from that model’s own token-counting tool.
Why do other languages use more tokens?
Tokenizers are built mostly from English text, so words in other languages and scripts are often split into more, smaller pieces.
Does the text I paste go anywhere?
No. The counting happens in your browser. Nothing is sent to a model or a server, and nothing is stored.