What you will learn
Watch text break into the smaller units a language model processes.
In simple words
Language models do not read words exactly as people do. Text is split into tokens, which are converted to numbers the model can process and predict.
Visual explanation: Text becomes tokens
A sentence separates into coloured token blocks before entering the model.
WATCH THE IDEA
Text becomes tokens
- 1Observe: Text
- 2Transformation: Tokens
- 3Outcome: Token IDs
Observe: Text. A sentence separates into coloured token blocks before entering the model.
The diagram highlights Text, Tokens, Token IDs. Use the labels to trace the main relationship from left to right.
Real-world example: Customer-service cost control
A contact centre estimates LLM cost and context capacity for long customer histories.
What the team decides: Measure prompts and outputs in tokens, then budget truncation and summarisation deliberately.
Risk to avoid: Counting words instead of tokens creates unpredictable cost and context failures.
Technical explanation
Language models do not read words exactly as people do. Text is split into tokens, which are converted to numbers the model can process and predict.
Common misconception
This concept is not a guarantee of a correct outcome by itself. Its value depends on suitable evidence, careful implementation, and evaluation against the real task.
QUICK QUIZ
What does an LLM process directly?
Practical application
Measure prompts and outputs in tokens, then budget truncation and summarisation deliberately.
Key takeaway
Tokens are the model's working pieces of text.
Next concept
Continue with Next-Token Prediction.
Was this lesson helpful?
Lesson discussion
Comments are reviewed before publication. Keep discussion focused on learning and do not post private information.
Loading discussion…
Your quiz answer and current lesson are saved on this device. Sign in to explore account-backed learning features.
Content version 1 · Last reviewed 2026-10-16