Token (Token)

The small chunks — roughly parts of words — that AI language models read and write instead of individual letters or whole words.

Technically: The basic unit of text a language model processes: usually a subword piece produced by a byte-pair or unigram tokenizer, averaging roughly 0.75 English words per token. Attention, generation, context limits, and API billing are all measured in tokens; tokenization also affects how models handle numbers and low-resource languages with longer average tokens.

Category: Data & Representations

Related ideas