← All lessons Reference

Cheat sheet

Tokens

Compressed facts from lesson 0001. Print this. Do not use it to learn the idea for the first time.

What a token is

Rules of thumb

Same skeleton, different flavour

Why later patterns care

Check with a real tokenizer

tiktokenizer.vercel.app — pick an encoding, paste text, read the IDs. The lesson’s chip lab is a toy. Next unit: context window.