MiaAInow
How AI Works·

What Are Tokens in AI? Why ChatGPT Couldn't Spell Strawberry (Explained Simply)

This is the "try it yourself" part of the video: paste a sentence and watch it get sliced into tokens.

Paste a sentence

0 tokens0 characters

Mia's tips

  • Paste anything you like: the slicing happens right in your browser, and nothing you type is sent anywhere. It uses the tokenizer OpenAI publishes (o200k_base for GPT-4o and 4.1, cl100k_base for GPT-4 and 3.5).
  • Claude, Gemini and Llama each have their own vocabulary, so their counts come out a little different. The pattern holds, though: common words are one block, rare words get split up, and most languages other than English need more blocks per word.
  • See a little badge on a block? That one character ate several tokens. Emoji do this a lot, so a message full of emoji costs more than it looks.
  • The slicing I drew in the video is just a sketch; this is the real thing, so go compare.

Questions? Join the discussion on YouTube