Skip to content

token

The minimum text unit that an LLM processes: it can be a word, syllable or character.

Definition

A token is the atomic unit that a language model receives and generates. In English, ~1 token is ~4 characters. A 1000-word text may occupy ~1300–1500 tokens. API prices are per million tokens. Models have a context window limit measured in tokens.

Connections

Etymology

Origin: english

token — señal, ficha

Cognates
  • es: señal, ficha

Semantic network

tokenLLMtransformeLLMprompt

● broader ● narrower ● related

Used in the garden

Sources