#03 · What the FAQ?

What are tokens?

Tokens are the chunks of text AI models read and write, and the unit AI is priced and limited in.

In a hurry? Watch the one-minute version.

View as MarkdownPaste into ChatGPT, Claude or Gemini to ask questions about this page.

Someone said "we ran out of tokens" and everyone nodded. In about two minutes: what a token actually is, why AI gets priced and limited in tokens, why the same message can cost more in another language, and why a model may never actually see the letters in "strawberry". No code, no maths, one very rude tokenizer.

Read Tim's takeMore thinking doesn't make AI smarter at everythingReasoning models write out their steps before they answer. That helps on hard, multi-step problems. On simple ones, you pay for homework nobody asked for, and sometimes get a worse answer.Read Tim's takeThe best AI habit nobody teaches: start a new chatAI chatbots don't remember your conversation. The app sends the whole thing again with every message, so long chats get slower, pricier and more forgetful. A fresh chat with a good summary usually beats the marathon.

What you'll be able to explain

Explain what a token is, why AI usage is priced and limited in tokens, and why token counts vary by word, language and tokenizer.

The question to ask

"Great, what's eating them?"

Usage limits and bills count tokens in and out. Long pasted documents, long chats, images and hidden reasoning add up fast.

A good answer sounds like: A specific culprit: a 50-page paste every message, a huge chat, or a thinking model on simple tasks. All the questions →

Transcript

Everyone nodded

Someone in your meeting just said: we ran out of tokens. Everyone nodded. Somebody pictured a bucket of arcade tokens. Nobody asked what a token actually is. Let's fix that.

The meter and the limit

A token is a chunk of text: the unit an AI model reads and writes. An LLM, very expensive autocomplete, predicts one token at a time. Tokens are also the meter. Companies pay per token, by the million. And every model can only handle so many at once.

Fridge magnet poetry

Think of fridge magnet poetry. Common words get a whole magnet. Rarer words, you build from bits. A tokenizer works the same way: a fixed set of chunks, learned from piles of text. Deliverables becomes deliver, ables. Even Nodding becomes N, odd, ing. Rude.

A long row of numbers

In English, one token is roughly three quarters of a word. So a hundred tokens is about seventy-five words. Then each chunk becomes a number. The model never sees your words. Just a long row of numbers.

Why tokens hit the bill

That's why tokens hit the bill. You pay for what goes in and what comes out, and replies usually cost more per token. Paste a fifty-page report into every question, and you pay for all of it, every time. And language matters. Researchers found the same text, translated, can need up to fifteen times as many tokens. Same message. Bigger bill.

Ten letters, one chunk

Here's the catch. The model sees chunks, not letters. Ask it how many R's are in strawberry. In one of OpenAI's tokenizers, that whole word is a single token. Ten letters, one chunk. Plenty of models famously fumbled it, and researchers link that, at least partly, to tokens. It's three, by the way.

The question that silences the room

So, we ran out of tokens means we hit the budget, or the limit. And those arcade tokens? Close. You do pay per token. You just never win the plush. Next time someone says we ran out of tokens, nod. Then ask the question that silences the room: great, what's eating them? Silence. Congratulations. You're nodding with intent.

Sources

Every claim in this episode was checked against these 5 sources on before recording. AI moves fast: if something here is out of date, tell Tim.

  1. What are tokens and how to count them? (OpenAI Help Center)
  2. Pricing (Claude API docs)
  3. openai/tiktoken (OpenAI's open-source tokenizer), o200k_base encoding
  4. Petrov et al., Language Model Tokenizers Introduce Unfairness Between Languages (NeurIPS 2023)
  5. Fu et al., Why Do Large Language Models (LLMs) Struggle to Count Letters?

Related