What is a token? What your AI plan actually buys, measured

From December, ChatGPT plans are measured in tokens. I ran real tokenizers: the same 99-character message is 26 tokens in English and 111 in Hindi on GPT-4's tokenizer (31 today), 'strawberry' is one token or three, output costs 5× input, and the thinking you never see is billed as output.

From December, ChatGPT Plus, Pro and Business stop counting messages. According to OpenAI’s Help Center (a page added on October 31, as reported by several outlets), those plans get one token-based allowance shared across ChatGPT and Codex. Bigger models and harder tasks use it up faster, quick “Instant” chats don’t count, and the number of tokens per plan hasn’t been published yet.

So the unit on the bill is about to be the token. Here’s what that is, measured with real tokenizers instead of rules of thumb. The scripts and raw numbers are in the post’s notes; every count below comes from OpenAI’s o200k_base (the tokenizer of its current models), the older cl100k_base (GPT-4, 2023) and the open Qwen3 tokenizer.

A model reads numbers, not letters

A language model never sees your letters or even your words. A tokenizer first chops the text into pieces from a fixed list, and each piece has an ID number. OpenAI’s current list has about 200,000 pieces; GPT-4’s had about 100,000.

My train to Jodhpur is late becomes My · train · to · J · odh · pur · is · late: eight tokens, and the model only ever gets their eight ID numbers.

Common words are a single piece (hello). Longer or rarer words are split: unbelievable is un · bel · ievable, and this site’s name, meghraj.dev, is me · gh · raj · .dev.

Where the list comes from

The list is learned with byte pair encoding (BPE): start with single bytes, find the pair that appears together most often in a huge pile of text, glue it into a new piece, and repeat, about 200,000 times for the current list. Text the tokenizer saw a lot ends up as big, cheap pieces; rare text stays in small, expensive crumbs. That one sentence explains most of what follows.

How many tokens is a word?

I ran the tokenizer over this blog’s posts: 4,793 words came out as 6,756 tokens, about 1.4 tokens per word. Technical writing is heavier than chat because of names, numbers and code; the common “a token is three quarters of a word” is a decent guess for plain English.

Strawberry: one token, or three

Quiz: how many tokens is the word strawberry?

Both one and three. In the middle of a sentence it comes with a space in front, and strawberry (with the space) is one token. On its own, strawberry is three: st · raw · berry. In capitals, STRAWBERRY is four different pieces: ST · RAW · B · ERRY.

That’s why models famously struggled to count the r’s in strawberry. They never see the letters, only one ID or three. Counting r’s means remembering how each piece is spelled, which is a strange question for a system that never reads letters.

Numbers are chopped too: 1234567 is 123 · 456 · 7 for OpenAI, while Qwen3 splits it into seven single digits. Even emoji aren’t safe: 🤯 is two tokens, and neither half is a valid character on its own.

The same message in five languages

Here’s the same message (about a late train to Jodhpur) in English, Hinglish, Hindi, Chinese and Tamil. The English and Hindi versions are exactly 99 characters each.

today's OpenAI tokenizer (o200k)GPT-4 tokenizer, 2023 (cl100k)EnglishEnglish: 25 tokens (o200k)25English: 26 tokens (cl100k)26HinglishHinglish: 35 tokens (o200k)35Hinglish: 40 tokens (cl100k)40HindiHindi: 31 tokens (o200k)31Hindi: 111 tokens (cl100k)111ChineseChinese: 30 tokens (o200k)30Chinese: 43 tokens (cl100k)43TamilTamil: 47 tokens (o200k)47Tamil: 200 tokens (cl100k)200
The same message in five languages (English and Hindi are 99 characters each). On GPT-4's tokenizer Hindi needed 4.3× the tokens of English and Tamil 7.7×; today's tokenizer brings them close.
Language Characters Today (o200k) GPT-4 (cl100k) Qwen3
English 99 25 26 26
Hinglish 115 35 40 40
Hindi 99 31 111 98
Chinese 33 30 43 24
Tamil 147 47 200 162

With GPT-4’s tokenizer, the Hindi message needed 4.3× the tokens of the English one for the same meaning. The old list had very few Hindi pieces, so Hindi fell apart into crumbs: नमस्ते alone is six tokens there. When OpenAI doubled the list for its newer models, the same Hindi line dropped from 111 to 31, almost four times cheaper.

Not everywhere, though. The Qwen3 tokenizer, used by a popular family of open models, still needs 98 tokens for that Hindi line. If you build for Indian languages on an open model, measure your own text before you size the hardware or the budget: the tax is still there.

What a token costs

Prices per million tokens, from the providers’ pricing pages today:

inputinput: $2.00 per million tokens$2.00outputoutput: $10.00 per million tokens$10.00cached inputcached input: $0.10 per million tokens$0.10
Per million tokens on Claude Sonnet 5.5 and OpenAI gpt-6.1-sol (both identical, Nov 2026): writing costs 5× reading, cached input 1/20.
Model Input Cached input Output
Claude Sonnet 5.5 $2 $0.10 $10
OpenAI gpt-6.1-sol $2 $0.10 $10
Claude Haiku 5.5 $0.10 $0.01 $0.50
OpenAI gpt-6.1-terra $1 $0.05 $5

Two patterns hold across them:

  • Writing costs 5× reading. Your input is processed in one big parallel pass; the answer is generated one token at a time, and every token is another trip through the whole model.
  • Cached input is 1/20 of the price on these models (it was 1/10 a generation earlier). When the start of your prompt is identical to a recent request, the provider reuses the work it already did. That’s the KV cache, which I explained in the KV cache post.

The tokens you never see

Thinking models reason before they answer, and that reasoning is made of tokens too. It’s billed as output, at the expensive rate. Anthropic’s documentation spells it out: the response shows you a summary of the thinking, while usage.output_tokens_details.thinking_tokens reports how many of the billed output tokens were internal reasoning. A short answer can sit on top of a long, invisible bill.

There’s a second hidden cost. A model has no memory between messages: every time you send one, the whole conversation so far is sent again as input. Message 40 of a long chat costs far more than message 1, even if you only typed one word. Caching softens that, but doesn’t remove it.

Making a token allowance last

  • New topic, new chat. Don’t drag a long history into an unrelated question.
  • Paste the part that matters, not the whole file or log.
  • Use Instant for quick questions; per OpenAI’s announcement, those chats don’t count against the allowance.
  • Ask for short answers when short is enough. Output is the expensive side.
  • Don’t fear your language on OpenAI’s current models: Hindi and English are now within about 25% of each other for the same message.

Try it yourself

import tiktoken
enc = tiktoken.get_encoding("o200k_base")   # GPT-4o and newer OpenAI models
for s in ["strawberry", " strawberry", "STRAWBERRY", "नमस्ते"]:
    print(repr(s), [enc.decode([t]) for t in enc.encode(s)])

Which language do you chat with AI in? Tell me, and I’ll count its tokens.