All glossary terms
conceptsbeginner

Token

The smallest unit of text that an LLM processes, typically a word, subword, or character.

In more detail

Tokenization converts text into tokens. LLMs have a maximum token limit (context window). Tokens affect model cost and capability - more tokens enable longer conversations. Different models tokenize differently; the same text may be different numbers of tokens across models.

Examples

  • Word tokenization
  • Subword tokenization (BPE)
  • Character-level tokenization
  • GPT token encoding

Related terms

YOUR NEXT STEP

Checking your next step...