Skip to main content
Models · Token counter

LLM Token Counter

Count the tokens in a prompt with each model's own tokenizer, and compare the count across models.

Method

How the token count is made

Each model is counted with the tokenizer its creator published, not with a characters-per-token estimate.

The model's own tokenizer

The file each creator published with the model, run in your browser. The count is exact for the text.

Checked per model

A model is listed only after its tokenizer matched on 190 texts in 20 languages, or came within a tenth of a percent.

Text only

A chat request adds a few tokens per message. For the background, read what tokenization is.

Languages

Token count by language

One sentence, written in each language and counted on each tokenizer. An example, not an average: pick a sample above to see the text.

LanguageCharactersDeepSeekQwen3Qwen3.5 and laterOpenAI o200kGLMMistral
English153302929292929
Spanish168393937353836
German180434336333838
Russian170465141434247
Chinese52283130353047
Japanese81504835574858
Korean80546045486746
Hindi16492151674916597
Arabic121505340435640
Python code157383538353535

Tokens per tokenizer. The fewest in each row is highlighted.

FAQ

Frequently asked questions about token counting

How tokens are counted, why models disagree, and what the count means for cost and context.

Put intelligence in the middle.

Start on the free plan with 5,000 requests a month, no card required.