SKILLUMEN
Try for free
Interview Questions  ›   The fundamentals

Tokenization

6 interview questions you should be able to answer.
3 worked answers   •   3 practice questions   •   Foundations
It sees chunks,
not letters. You
  pay per token.↘
Updated Sep 2026
01 CORE
1 / 6

What does tokenization do to your text, and why is it necessary?

Think about your answer before revealing.
Give it a try!
Interview answer
◷  ~ 25 seconds

A model only does math over numbers, so it can't read letters. Tokenization is the step that bridges that: it splits your text into small pieces, usually subwords, drawn from a fixed vocabulary, then swaps each piece for its integer ID.

What actually enters the network is that row of IDs, one per token. The letters are already gone by then.

Without tokenization there's no numeric input for the model to compute on.

TEXT
interesting tokens
↓
SUBWORD PIECES
interest ing token s
↓
INTEGER IDS, INTO THE MODEL
ID 1ID 2ID 3ID 4
What the interviewer is testing
▤
Splitinto subwords
⇢
Mappiece to ID
∑
Computenumbers only
Follow-up they may ask
02 TRADE-OFFS
2 / 6

Why split into word-pieces rather than whole words or single letters?
What does BPE buy you?

Think about your answer before revealing.
Interview answer
◷  ~ 30 seconds

Two extremes both fail. A whole-word vocabulary would need every word, typo, name and slang term, which is unworkably large, and it still chokes on any word it never saw.

Single letters keep the list tiny but make sequences painfully long and slow.

BPE (Byte-Pair Encoding) is the middle: it starts from characters and repeatedly merges the most common neighbouring pairs into bigger chunks, so frequent bits like "ing" or "tion" become single tokens while a rare word is built from a few smaller known pieces. The vocabulary stays small, and it can still spell out anything, including a brand-new word.

WORDS
Huge
vocabulary
Breaks on
new words
LETTERS
Tiny
vocabulary
Painfully long
sequences
BPE
Start from
characters
Merge common
pairs
Spells
anything
03 NUMBERS
3 / 6

Cost and length limits are counted in tokens.
What surprising consequence does that have for a long word?

Work it out before revealing the answer.
Answer
◷  ~ 20 seconds
One long or unusual word:
quietly splits into 3 to 4 tokens

Rough English rule:
100 tokens ≈ ~75 words
✓Your bill and your context window
are measured in tokens, never words.
What you see
1 word
↓
What you pay for
token
token
token
token
code + non-English
cost even more
More questions
04Why do LLMs sometimes miscount letters or struggle with code and non-English text?
05What is a vocabulary, and what does the model actually receive after tokenization?
06Why must you always use the tokenizer that ships with the model?
These run inside Skillumen with graded answers.

This is a small sample.
600+ interview questions live inside Skillumen.

Every concept card carries its own interview questions, graded as you answer.
Free to start.

See more interview questions