Tokenizer playground
Models read tokens, not letters. Type in any language and compare GPT-2’s 2019 tokenizer with the o200k tokenizer from 2024. Try the Hindi and Sanskrit examples to see why older models found Devanagari expensive.
GPT-2 tokenizer (2019)
Loading…
o200k tokenizer (2024)
Loading…
Related post: The same sentence costs 5.6× more tokens in Hindi.