-
What are tokens and what are they for?
The chunks of text a model reads, and why price, context window and speed are counted in them.
-
How do tokenizers work?
Byte-pair encoding in three steps, and why every model family counts differently.
-
Why are Gemini and Claude not included?
Their tokenizers are not published, and their counting APIs would send your text away.
-
Why does the same text cost more tokens in some languages?
Vocabularies learned mostly from English, with token counts for 12 languages.
-
Do tokenizers favour English?
English words are almost always a single token; Chinese ones only in tokenizers made for Chinese.
-
What do the colours and markers mean?
Coloured blocks, whitespace markers, raw bytes and the compare view explained.
-
Is my text sent anywhere?
No: all tokenization runs in your browser.
-
How exact are the counts, and where do the tokenizers come from?
Exact token IDs, what an API request adds, and the source and licence of each tokenizer.