Lesson 06 of 8 · 4 min
Tokens: how AI reads text
The big idea
AI models read text in small pieces called tokens, and most AI services charge by the piece.
Updated October 8, 2026
Think of it like this
Think of text as something built from Lego bricks. A short, common word like "the" is one brick. A long or unusual word is built from several bricks. AI models do not read letters or whole words. They read these bricks, which are called tokens.
How it works
Before a model reads your text, a tool called a tokenizer cuts it into tokens. Common words usually stay whole. Rare words, names and long words get split into pieces.
In English, a token is often about three quarters of a word, so 1,000 words come to roughly 1,300 tokens. That is only a rule of thumb. Other languages, code and numbers can use more.
Tokens matter for two reasons.
Price. Most AI services charge per million tokens, with separate prices for the tokens you send in (input) and the tokens the model writes back (output). Output usually costs more.
Memory. Each model can only hold a certain number of tokens at once. This limit is called the context window. Think of it as the size of the model's desk: your question, any documents you add and the answer all have to fit on it.
Try it
Several AI companies offer free tokenizer pages. Paste in a paragraph, then a paragraph with lots of names and technical terms, and compare how many pieces each one becomes.
Why it matters at work
To estimate what an AI task will cost, count the tokens in one task and multiply by how many times a month you will run it. Prices change fast; in October 2026 one major provider cut the price of its small model by 90% for most requests, which made many tasks worth automating for the first time. Our essay The penny that doubled the mail looks at what that kind of price drop does.