Skip to content
Tokens & temperature · Lesson 1 of 8

What is a token?

Tutor:

A model doesn’t read letters or words. Before it sees your prompt, a tokenizer chops the text into pieces called tokens, and each piece becomes a number.

Type anything below and watch where the cuts land. Spaces usually stick to the start of the next word.

tokenizer8 tokens · 30 characters

Tutor:

Unbelievably became three tokens, but the is just one. Common words are cheap; rare ones get split.

Which of these is most likely a single token?