Part 0 · AI Without the Fog

Tokens are the meter behind the experience

Use an interactive tokenizer to see why text is billed in pieces, why input and output both count, and why language and formatting change the total. Token literacy connects cost, context, and latency.

THE QUESTION THIS PAGE ANSWERS

ANSWER FIRST

What is the key idea behind “Tokens are the meter behind the experience”?

Use an interactive tokenizer to see why text is billed in pieces, why input and output both count, and why language and formatting change the total. Token literacy connects cost, context, and latency.

DECISION RULE

A token is both a billable unit and a design constraint. Count the actual prompt format your product sends, not the text you imagine it sends. Small wrappers, repeated history, and verbose output compound at scale.

TRY NEXT

Measure one real request with system prompt, history, retrieved text, and output separately.

WATCH FOR

Estimating cost from the visible user message alone.

One-sentence answer

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.

Slice a sentence yourself

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.

Click any sentence above to see it sliced into tokens
0
Characters
0
Tokens
$0.00000
Read cost for this sentence (demo)
The split is the real result from the GPT-4o family's tokenizer (o200k). Other models will cut differently. Notice it doesn't follow human intuition: 「今天天气」 gets cut into 「今 | 天天 | 气」. The bill is estimated at a demo rate of "about $0.002 per 1,000 tokens" — just to give a feel for the scale.
Why charge by token

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.

So pasting a long chunk of unused material for it to read, or letting it ramble in circles, burns money on both ends. The prompt engineering page covered this: fluff in the prompt gets magnified, token by token, into the bill.
Does token count vary by language?

Use the tokenizer above to compare a Chinese sentence and an English one. Different languages, scripts, code, numbers, and punctuation can be split very differently, and the result changes by tokenizer. Never assume one language is always cheaper: count the tokens for the actual model, text, and prompt format you plan to ship.

Common misconception: character count ≠ token count. Numbers, symbols, and rare words get sliced especially fine — a code like "#2049" takes three tokens; 「今天天气真不错」 is seven characters but only five tokens. Don't estimate the bill from character count — the scale will be way off.

How “Slice a sentence yourself” changes an answer

“A token is the smallest unit AI uses to read and write text — roughly a small chunk of a word.” shows that a model does not process the “word count” we see. It processes Token pieces. Tokenization affects input length, how much context fits, and how much computation a request consumes.

Length, information, and context are different

As “A few ready-made sentences are below.” grows, separate three questions: how many Tokens the text becomes, which pieces can change the current decision, and whether older material has fallen outside the context window. Removing repetition is often more useful than simply making the window larger.

  • 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, token count can vary : language, script, code, and formatting all affect the split

Keep what can change the decision

Use “Use the tokenizer above to compare a Chinese sentence and an English one.” as an A/B test: keep the same question while removing repeated background, compressing format, and trimming irrelevant history. Compare answer quality, latency, and Token count.

From “Slice a sentence yourself” to “Why charge by token”

“Slice a sentence yourself” grounds the problem in “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”. “Why charge by token” then moves it toward “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 i…”. Together, they show that the lesson is not just a conclusion to remember, but a claim with conditions.

Carry the judgment into the next situation

For long text, keep what can change the conclusion before compressing format and history. A larger context is worth its cost only when the added information is useful.

  • “Slice a sentence yourself”: 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
  • “Why charge by token”: 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 i…
  • “The closing point”: A tighter prompt is money saved : every token you cut is real cash

The final “The closing point” brings the discussion to “A tighter prompt is money saved : every token you cut is real cash”. The useful thing to carry forward is knowing which judgments must be revisited when input, scale, or risk changes.

✅ 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, token count can vary: language, script, code, and formatting all affect the split
  • A tighter prompt is money saved: every token you cut is real cash
Mark as learned Your reading progress updates automatically
← PreviousNext →

Keep reading

The next useful article in the thread.

ARTICLE DISCUSSION

Leave one useful thought here.

Keep the idea that clicked, the question that stayed open, or a small note for the next learner.

Discussing Tokens are the meter behind the experience AI Without the Fog
3discussionsArticle discussion · synced with the Circle
View in the learning circle
LM
Leo MartinIndie developer
INSIGHTCost planning

Treating tokens as the budget behind an experience made me watch both context length and call count. I used to look only at per-call price; the real cost accumulated across repeated user actions.

ARTICLE DISCUSSION7 helpful
NB
Nadia BrownContent strategist
QUESTIONQuestion

When explaining tokens to non-technical teammates, is using word count as an approximation misleading? I want to give them a budgeting intuition without making the concepts seem identical.

ARTICLE DISCUSSION4 helpful
DA
Diego AlvarezApplication engineer
IDEAProduct hint

A rough token range beside the input, plus a warning near the context limit, could help users understand sooner why answers become shorter or slower.

ARTICLE DISCUSSION3 helpful