What Is a Token? Why Does AI Charge by It?
The bill says "billed by token," the news keeps talking about "a million tokens" — what even is a token? This page lets you slice a sentence open and see for yourself.
A token is the smallest unit AI uses to read and write text — roughly a small chunk of a word. Every token it reads and every token it writes burns compute, so you're charged per token. Same logic as a taxi charging by distance: the farther you go, the more you pay.
A few ready-made sentences are below. Click one and try. You'll see it get cut into colored chips — each chip is one token — and the counter and bill below will jump in real time.
A taxi charges by distance because every kilometer really burns fuel. AI is the same: every token it reads or writes, a GPU in a data center does a round of computation and uses electricity. Charging by count is the closest match to real cost. And note: the bill counts both ends:
What you send (input)
Every character you type, every document you paste — it has to read them token by token. Reading costs money too.
What it writes back (output)
Every character it writes is also computed token by token. Writing costs money too — and the unit price is usually higher, because writing is harder than reading.
Use the tokenizer above to compare a Chinese sentence and an English one: Chinese often takes one token for every one or two characters, while a fairly long English word often takes just one. So to say the same thing, Chinese often burns more tokens. It has to do with how the model "reads": it's seen more English and cuts it more fluently; Chinese characters get sliced finer.
✅ What this page wants to share with you
- A token is the billing grain: the smallest unit AI uses to read and write text, roughly a small chunk of a word
- Input and output both cost money: what you send costs money, what it writes back costs money, and the latter is usually more expensive
- Same meaning, Chinese often costs more: characters get sliced finer, so more tokens
- A tighter prompt is money saved: every token you cut is real cash