AI glossary · Generative AI and LLMs

Token

A token is a small chunk of text, often a word or part of a word, that a language model reads and writes. Usage limits and prices are counted in tokens.

Also called tokenization, tokenisation

In more detail

Before a model can read text, a tokenizer splits it into tokens. Common words are usually one token; rare or long words are split into pieces. In English, one token is roughly three quarters of a word on average.

Tokens matter to everyday users because the context window, max tokens setting and API prices are all measured in them.

Example

The word “unbelievable” might be split into “un”, “believ” and “able”: three tokens.

Browse related tools

AI tools listed on BroUseAI in these categories.

More in Generative AI and LLMs · Full AI glossary