IT lexicon › AI & ML › Tokenizer

Tokenizer

AI & ML På svenska → Updated: 2026-05-23

The component that splits text into tokens before an LLM sees it.

Most common algorithms: BPE (Byte-Pair Encoding), WordPiece, SentencePiece. Words become tokens, common words often a single token, rare ones split into many. Different models have different tokenizers — token counts aren't comparable between GPT, Claude, Llama.

← Back to the lexicon