Skip to content

Language model token

Tokens are processing units for language models. They do not reliably correspond to whole words and differ from design tokens.

Also known asTokenLLM token
AI & Automation

Measure text in processing units

A token is a unit into which a language model divides text for processing. Depending on the tokeniser, it may correspond to a word, part of a word or a character. The count depends on the method and the actual text.

In a fictional project, the same product catalogue will be processed in German and Turkish. The same number of entries does not automatically mean the same token count. Check the actual texts with the appropriate tokeniser when estimating input limits or usage.

A fixed conversion from words to tokens is unreliable for this purpose. A design token has a different meaning: it names a design value such as a colour. These concepts share a name but serve different purposes.

Sources

Articles on this topic

AI & Automation with ASES

AI assistants and automated workflows