What is a token? AI pricing units explained in plain English

What is a token in AI pricing? A chunk of text the seller measures with its own ruler, and the ruler changes. How tokens work, and where they fool you.

Anthropic’s Claude Opus 4.6 costs $5 per million input tokens and $25 per million output tokens. Its successor, Opus 4.7, costs exactly the same: $5 and $25 (Anthropic). No price rise. Nothing to see.

Except a few lines further down the same page, Anthropic explains that Claude 4.7 and later models use a newer tokenizer that “produces approximately 30% more tokens for the same text” (Anthropic). The price per token didn’t change. The number of tokens in your text did.

That’s the whole story of AI pricing in two sentences, and it’s why the question what is a token in AI pricing deserves a better answer than “about three-quarters of a word.” A token is a unit of measure. The seller makes the ruler, and the seller can swap it.

What a token actually is

A token is the chunk of text, image or sound that an AI model reads or writes in one step, and the unit AI companies use to bill you. It might be a whole word, part of a word, a single character or a bit of punctuation (OpenAI).

The piece of software that chops your text into tokens is called a tokenizer. Each model family has its own. OpenAI says it plainly: “The same text can produce different token counts depending on the model, its encoding, and the language” (OpenAI).

So when two companies both charge “per million tokens,” they’re not quoting in the same currency. It’s like two greengrocers pricing apples “per bag” without telling you how big the bags are.

How text becomes tokens

You can watch this happen. OpenAI publishes its tokenizers as an open-source library called tiktoken (GitHub). We ran a few words through o200k_base, the encoding tiktoken assigns to GPT-4o, GPT-5 and OpenAI’s o-series models (tiktoken):

  • “ receipts” (with a leading space) is one token.
  • “receipts” (no space) is two: “rece” + “ipts”.
  • “hallucination” is three: “hall” + “uc” + “ination”.
  • “1234567” is three: “123” + “456” + “7”.

(Measured Nov 4, 2026 with tiktoken 0.14.0.)

Yes, a space changes the count. OpenAI’s own help page uses the example of “red”, “Red” and “ red” being encoded differently (OpenAI). Common English words get their own token; rarer words and numbers get chopped up.

That’s why the familiar rules of thumb are only that. OpenAI says one token is about four characters, and 100 tokens are about 75 words (OpenAI). Google says that for Gemini a token is also about four characters, but 100 tokens are “about 60-80 English words” (Google). Two vendors, two rulers, and a range on one of them.

The receipt: one sentence, four languages, two rulers

Here’s where it stops being trivia. We took one sentence, “The receipt is the only part of the bill that never lies,” translated it into German, Bulgarian and Greek, and counted the tokens with two of OpenAI’s encodings: the older cl100k_base (GPT-4 and GPT-3.5 Turbo) and the newer o200k_base (GPT-4o and later) (tiktoken).

Language Chars Old tokens New tokens
English 57 13 13
German 65 22 17
Bulgarian 71 35 25
Greek 72 61 24

Old = cl100k_base, new = o200k_base. Our measurement, Nov 4, 2026, tiktoken 0.14.0. One sentence is an illustration, not a study.

Two things jump out. On the older encoding, the Greek sentence costs 4.7 times as many tokens as the English one (61 ÷ 13), for roughly the same number of characters. Same meaning, same price per token, nearly five times the bill.

And the newer encoding cut the Greek count from 61 to 24 while English didn’t move at all. Nobody issued a press release saying “Greek is now 60% cheaper.” The ruler changed, quietly, in Greek speakers’ favor. With Claude 4.7, it changed the other way.

This isn’t a quirk of one sentence. A paper presented at NeurIPS 2023 found that the same text translated into different languages can have tokenization lengths that differ “up to 15 times in some cases,” and that this means some language communities pay more for the same commercial AI service (Petrov et al.).

Tokens aren’t just words

“Per token” sounds like “per word.” It increasingly isn’t.

Google’s Gemini API turns everything into tokens: an image up to 384 pixels on each side counts as 258 tokens, larger images are cut into tiles of 258 tokens each, and audio counts as 32 tokens per second (Google). By our arithmetic, a one-minute voice note is 60 × 32 = 1,920 tokens before the model has said a word.

Then there are the tokens you never typed:

  • Reasoning tokens. “Thinking” models write out working before they answer. OpenAI says these “are not visible as answer text, but they count toward output usage and are billed as output tokens” (OpenAI). Output is usually the expensive kind. We’ll give these their own post.
  • Tool instructions. If you give Claude any tools, Anthropic adds a hidden system prompt. It’s 286 tokens on Opus 5.5 and 675 on Opus 4.7, charged on every request (Anthropic).
  • Fetched pages. Let a model read the web and the page lands on your bill. Anthropic’s own example: an average 10 kB webpage is about 2,500 tokens (Anthropic).

None of this is hidden in the sense of secret. It’s all on the vendors’ own pages. It’s hidden in the sense that nobody reads them.

Where tokens fool you

  • Same sticker, different bill. A model upgrade can keep the per-token price and still cost more if the new tokenizer splits text finer. Work it through with Anthropic’s ~30% figure: text that tokenized to 1 million input tokens on Opus 4.6 ($5) would be around 1.3 million on Opus 4.7, so roughly $6.50 at the same rate. Anthropic says the exact increase “depends on the content” (Anthropic), so measure, don’t assume. To be fair, it also says the new tokenizer contributes to better performance. You may be getting something for it. You’re just not being told on the price tag.
  • Cross-vendor comparisons. “$2 per million” from one company and “$4 per million” from another aren’t half and double unless both chop your text the same way. They don’t. OpenAI’s own advice is to compare “the total tokens and cost needed to complete your task” rather than the price per million (OpenAI). That’s what cost per task measures.
  • Language. If your users don’t write in English, the rules of thumb don’t apply to you. Count in your own language.
  • Context windows. A “1 million token” context window is also measured in the vendor’s tokens. A bigger tokenizer means fewer of your pages fit.

For a worked example of how token counts swing a real bill, see how Gemini 4 Argon’s launch price compared with GPT-6 Astra once you count the tokens each one burns per task in Issue #001.

A five-step token checklist

  1. Find out which tokenizer the model uses and whether it changed since the last version. Anthropic’s note is on its pricing page, below the price table.
  2. Count your real text, in your real language, with the vendor’s own counter: tiktoken or OpenAI’s input-token counting API, Anthropic’s token counting endpoint, or Gemini’s token counter.
  3. Check the API’s usage fields after a few real requests. They show what you were actually billed for, including reasoning tokens.
  4. Add the invisible extras: tool definitions, system prompts, images, fetched pages.
  5. Compare cost per job, not cost per token, the same way you’d read a benchmark claim: ask what’s actually being measured.

That’s also roughly how we check pricing claims; see our methodology.

The bottom line: a token is whatever the seller’s tokenizer says it is, so the price per token is only half the price.

More from the blog

All posts →

Get the receipts every Sunday

The week's AI hype, fact-checked. Plain English, free.