Skip to content
← Glossary
Glossary

Tokenization

Splitting text into the smaller units (tokens — often sub-words, not whole words) that a language model actually operates on. What you’re charged for by most LLM APIs, and a common source of padding/length errors.