
If you have used an AI chatbot or read about AI pricing, you have seen the word "token." API prices are listed per million tokens, models advertise token limits, and long documents are described by how many tokens they contain. A token is simply the small chunk of text an AI model actually reads and writes, and understanding it explains a lot about how these systems behave and what they cost.
What a token actually is
Before an AI model can work with your text, a piece of software called a tokenizer splits it into tokens. A token might be a whole common word like "hello," part of a longer word like "ing" or "explain," a single character, a number, or a punctuation mark. As a rough average for English, one token is about three quarters of a word, so 1,000 tokens is roughly 750 words. OpenAI's public tokenizer page lets you paste text and watch exactly how it gets split, which is the fastest way to build an intuition.
Tokenization is why some words are "expensive" and others are not. Common words are usually one token. Rare words, names, unusual spellings, code, and languages other than English often break into many small tokens, sometimes down to single letters. The same sentence can cost very different numbers of tokens depending on its language and formatting.
Why tokens matter for cost
AI services that charge by usage bill per token, usually with separate rates for input (what you send) and output (what the model writes). A price like "$3 per million input tokens" sounds abstract until you translate it: a million input tokens is roughly 750,000 words, about ten average novels. For chatbots with a flat subscription, tokens still matter behind the scenes, because they decide how much you can send before hitting limits.
Why tokens matter for memory
A model's context window is measured in tokens. Everything the model can "see" at once, your message, the conversation history, any files you attached, and the reply it is writing, must fit inside that window. When a long conversation starts forgetting early messages, tokens are the reason: the window filled up and the oldest parts were dropped or summarized. If you want to work with a long document, its token count, not its page count, is what decides whether it fits.
Practical tips
You can often reduce token usage with small habits. Paste only the relevant part of a document instead of the whole thing. Remove repeated headers, footers and boilerplate. Ask for a shorter answer when a short one will do, since output tokens usually cost more than input. And when a model seems to struggle with arithmetic, unusual words or counting letters, remember it sees tokens, not characters: "strawberry" may look like several pieces to it, which is why letter-counting questions sometimes go wrong.
How to check a token count yourself
Most AI platforms show token counts somewhere: API dashboards report usage per request, and many chat interfaces warn you as you approach the limit. For a quick estimate before you paste something large, OpenAI's free tokenizer page shows the exact count for its models, and the Hugging Face course explains how different tokenizers split the same text in different ways. Different models tokenize differently, so treat any count as model-specific rather than universal.
The short version
Tokens are the units AI reads, writes, remembers and bills. Roughly three quarters of an English word each, they set the real limits on how much you can send, how much the model can hold in mind, and how much you pay. Once you think in tokens, model limits and pricing pages stop being mysterious.
Source basis: OpenAI's public tokenizer tool and Hugging Face's LLM course chapter on tokenizers.
0 Comments