LLM & Transformer Fundamentals·Question 69 of 109Quick-fire

What is a token, and why does tokenization matter in practice?

Quick-fire answer from the Awesome Generative AI Guide (MIT)

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

A token is the unit a model reads and generates, usually a subword fragment produced by a tokenizer like byte-pair encoding, so "tokenization" is roughly 3 or 4 tokens, not 1. It matters because context limits, latency, and cost are all measured in tokens, not characters or words. Tokenization also explains failure modes: models struggle with character-level tasks (counting letters, reversing strings) and with rare words or numbers because those split into odd token sequences. A rough rule of thumb is 1 token to about 4 characters or 0.75 words in English.

Full worked answer

A token is the unit a model reads and generates, usually a subword fragment produced by a tokenizer like byte-pair encoding, so "tokenization" is roughly 3 or 4 tokens, not 1. It matters because context limits, latency, and cost are all measured in tokens, not characters or words. Tokenization also explains failure modes: models struggle with character-level tasks (counting letters, reversing strings) and with rare words or numbers because those split into odd token sequences. A rough rule of thumb is 1 token to about 4 characters or 0.75 words in English.

Learn more: Foundations topic

What a good answer covers

  • A token is the unit a model reads and generates, usually a subword fragment produced by a tokenizer like…
  • It matters because context limits, latency, and cost are all measured in tokens, not characters or words
  • Tokenization also explains failure modes
  • A rough rule of thumb is 1 token to about 4 characters or 0.75 words in English

Key terms: Learn more

Quick-fire answer from the Awesome Generative AI Guide (MIT) · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep