AI IQ™
AI Glossary

Token

A chunk of text, like a word, part of a word or punctuation, that a language model reads and writes.

Language models don't see letters or whole words directly. Text is split into tokens by a tokenizer, often using byte-pair encoding. Common words may be one token, while rare words are split into several pieces.

In English, a token averages about three-quarters of a word. Model limits and API pricing are usually measured in tokens, and tokenization explains quirks like LLMs struggling to count letters.

💡 Example: "Unbelievable" might be split into tokens like "Un", "believ" and "able".

Related terms

Think you know your AI terms? 🤓

Take the Medium quiz Back to glossary

AI IQ™ ของคุณเท่าไร?

เล่นควิซฟรี 10 ข้อ ดูคะแนนและระดับของคุณภายในไม่กี่นาที แล้วท้าเพื่อนมาลองเอาชนะ