Tokens: how a model reads (and why it bills you that way)
Models read neither letters nor words: they read chunks. Type something and see how it gets cut, how much it weighs and what it costs.
- IA
- Tokens
- Costos
Every AI service bills "per token", and almost nobody knows what a token is. It's not a technical footnote: understanding it helps you estimate costs, write better instructions and see why a model sometimes fails at things that look silly, like counting letters.
Chunks, not words
Before reading your text, the model cuts it into chunks called tokens. Common words are usually a single token; long or rare ones split into two or three; punctuation goes on its own; numbers get cut into groups. In English, as a rule of thumb, one token is about four characters.
Type anything and watch how it gets cut. With "Read like the model", the frame walks through the text one chunk at a time, in the order the machine processes it:
IneedtoautomatetheWhatsApprepliesofmybusinessin2026.
- Tokens
- 18
- Characters
- 63
- 1,000 messages like this
- $0.009
An approximation of how a real tokenizer (BPE) cuts text; cost uses US$0.50 per million tokens as a sample price.
Why it matters
Cost. APIs bill input tokens (what you send: instructions, history, documents) and output tokens (what it replies). An assistant that sends the whole catalog with every message spends ten times more than one that sends only what's relevant.
The limit. Every model has a maximum token window. When a long conversation fills it, the first thing to go is the beginning: the instructions you gave it.
Odd mistakes. Since the model sees chunks rather than letters, counting the "r"s in a word or spelling it backwards is harder than it looks. It isn't dumb: it has never seen the letters on their own.
Three habits that lower the bill
- Write short, concrete instructions. Every extra word is paid on every message.
- Don't send the full history: send a summary of what matters.
- Search before you ask. Instead of pasting all your documents, send only the fragments that answer the question. That has a name, RAG, and it's the topic of the next post.
More from the blog
- RAG: how an assistant finds the answer in your documents An assistant that answers with your data does not memorize it: it looks it up on every question. Pick a query and watch which fragments reach the model.
- Temperature: the knob that decides whether AI makes things up A language model does not pick words: it rolls loaded dice. Turn the knob and watch the odds change.
- What not automating costs you (do the math) Repetitive tasks never show up on an invoice, but you pay for them every month. Move the numbers and see how much yours takes.
Have something similar in mind?
Let's talk