For English prose, one token equals roughly 4 characters, or three-quarters of a word. That is OpenAI’s own rule of thumb, and Google gives the same 4-character figure for Gemini models. The ratio depends on three things: the model’s tokeniser, the language of the text, and the type of content. To estimate token count and cost before you send a prompt, either count with the model’s own tokeniser or apply a ratio measured on text like yours, then multiply by the per-million-token price.
How Many Characters Equal One Token in English Prose
Models do not read characters directly. They read tokens, which are sequences of characters that occur commonly: OpenAI’s example is “ tokenization” splitting into “ token” and “ization”, while a common word like “ the” stays a single token. The first token of a word usually carries the space in front of it. That is why “a token is about a word” is close for English but not exact.
The 4-character figure is a rough rule of thumb. The tiktoken README puts it at about 4 bytes per token in practice, which for plain ASCII English comes to about 4 characters, since each ASCII character is one byte. Measured ratios on clean English prose come out a little higher. A 2026 benchmark from Vibe Engines found nine tokenisers all landing between about 4.5 and 5.2 characters per token on English prose, within about 14% of each other. CalculateYogi’s measurements with OpenAI’s tokeniser give 4.4 to 5.6. So for ordinary English text, dividing characters by 4 slightly overestimates the token count, which is the safe side to be wrong on when you are budgeting.
OpenAI also gives word-based rules of thumb. OpenAI’s help centre gives 100 tokens as about 75 words, a paragraph as about 100 tokens and 1,500 words as about 2,048 tokens. Google’s Gemini documentation puts 100 tokens at 60 to 80 English words. To turn tokens into pages or longer documents, see our guide to how many tokens fit on a page, which covers document-level volumes.
Code, Punctuation and Non-English Text Compared with English Prose
Outside English prose the ratio spreads out a lot, and the published figures do not always agree. The table below collects the measured figures, with the tokeniser and who measured them. Higher characters per token means fewer tokens for the same text, so it is cheaper.
| Content | Characters per token | Tokeniser | Measured by |
|---|---|---|---|
| English prose | 4.5 to 5.2 | nine tokenisers | Vibe Engines benchmark, 2026 |
| English prose | 4.4 to 5.6 | OpenAI | CalculateYogi |
| TypeScript source (52,750 characters) | about 4.1 | OpenAI | CalculateYogi |
| Source code (second figure) | about 2.7 | OpenAI | CalculateYogi |
| Source code | 4.21 | cl100k_base | Vibe Engines |
| Source code | 2.3 | GPT-2 | Vibe Engines |
| Hindi and Chinese passage | 2.28 versus 1.04 | o200k_base versus cl100k_base | Vibe Engines |
| Chinese | 1.4 to 2.0 | provider averages | CalculateYogi |
| Spanish “Cómo estás” | 2 (10 characters, 5 tokens) | OpenAI | OpenAI help centre |
Source Code and Punctuation
The code figures disagree. The same calculator site reports about 4.1 characters per token on its own TypeScript in one place and about 2.7 for source code in another. We would treat code as a range of roughly 2.7 to 4.2 characters per token on OpenAI tokenisers, combining the CalculateYogi and Vibe Engines figures, and measure your own repository before relying on any single value. What is clear is that tokeniser generation matters for code: GPT-2 splits code into 1.83 times as many tokens as cl100k_base does, because its older vocabulary never learned common multi-character code patterns. Among post-2023 tokenisers, code efficiency has largely converged. The Tokka-Bench authors found Llama 3.1, Kimi K2 and gpt-oss reaching nearly identical bytes per token on programming languages.
Punctuation, indentation and unusual identifiers all cost more than an ordinary English word, according to CalculateYogi’s TypeScript measurement, which averaged about 12 tokens per line. Tokens are also sensitive to case and spacing: OpenAI’s help centre shows “ red” and “ Red” mapping to different tokens, and “Red” at the start of a sentence (with no leading space) is different again. JSON, tables and heavily formatted text therefore rarely match the prose ratio.
Non-English Text
In the audit below, non-English text costs more tokens for the same meaning, by an amount that depends heavily on the tokeniser. A 2026 cost audit measured the token fertility ratio (tokens needed for a language divided by tokens for the same content in English) across three tokenisers (GPT-4o, Qwen2.5-7B and Mistral-7B):
| Language | GPT-4o | Qwen2.5-7B | Mistral-7B |
|---|---|---|---|
| English | 1.00 | 1.00 | 1.00 |
| Arabic | 1.44 | 1.70 | 3.86 |
| Hindi | 1.72 | 4.86 | 5.20 |
| Bengali | 1.56 | 4.50 | 4.44 |
| Tamil | 2.09 | 6.55 | 6.57 |
| Yoruba | 2.37 | 3.18 | 3.33 |
All figures are from the same study. Yoruba has the highest GPT-4o premium even though it uses Latin script, which the authors read as evidence that vocabulary coverage, diacritics and tokeniser training data matter, not just script family. The worst cases go much further: Petrov et al. found that the same text translated into different languages can differ in token length by up to 15 times. Ahia et al. (EMNLP 2023) report a large variance across languages in the number of tokens needed to say the same thing.
Chinese is a useful corrective to the simple story. On 23 SWE-bench Lite instances, the GLM tokeniser produced fewer tokens for Chinese than for English (a ratio of 0.923), while cl100k_base used 15% more for Chinese. In other words, efficiency depends on how the tokeniser’s vocabulary was allocated during training.
One caution on reading these numbers: characters per token is not comparable across scripts. A single character takes 1 byte in ASCII, 2 to 3 in Cyrillic, Arabic or Devanagari, and 3 to 4 in CJK scripts, and a Chinese character carries more meaning than a Latin letter. To compare languages, compare token counts for the same content, as the fertility table does, rather than characters per token.
Why Do Two Models Give Different Token Counts for the Same Text?
Different models use different encodings, so one string becomes a different number of tokens on each. Transformers support three subword schemes (byte pair encoding, Unigram and WordPiece) that keep common words whole and break rare words into pieces. Byte-level BPE starts from the 256 possible byte values, so any text can be encoded without an unknown token. Beyond that, encodings differ in how they split words, group spaces and handle non-English characters. GPT-2’s vocabulary is 50,257 entries, OpenAI’s o200k_base (used by the GPT-4o and GPT-5 families) has about 200K, and Gemma 3 has 262K.
A bigger vocabulary helps only for text it actually covers. The Vibe Engines benchmark notes that XLM-RoBERTa’s 250K vocabulary is spread across 100 languages, while T5’s 32K covers English well and most other scripts barely at all. Tokka-Bench found Gemma 3 (262K) and gpt-oss (200K) reaching similar mean efficiency, at 4.30 and 4.25 bytes per token, while Kimi K2 (164K) reached 3.19 by concentrating its vocabulary on CJK subwords. Two tokenisers given the same document can differ by 2 times or more in token count, which means a 2-times difference in cost and context use for identical input. The 2026 audit found the same gap between commercial and open-weight tokenisers: Bengali costs 1.56 times English on GPT-4o but about 4.5 times on Qwen2.5 and Mistral.
Tokeniser Versions Shift Counts Within One Vendor
Changing model can change your token count even when the vendor stays the same. Anthropic states that Claude 4.7 and later models use a newer tokeniser that produces about 30% more tokens for the same text, with the exact increase depending on content. CalculateYogi works out the effect on a million-token window: about 750,000 words on OpenAI models and about 555,000 on Claude 4.7 and newer. A cost model built on last year’s ratio can be wrong after a routine model upgrade.
A Low Token Count Is Not Always Efficiency
A tokeniser that cannot represent some text can look efficient while it throws that text away. In the Vibe Engines benchmark, T5 seemed the most efficient on Hindi and Chinese at 3.39 characters per token, but 48% of its tokens were the unknown token and decoding reproduced only 17% of the original text. The benchmark’s authors conclude that any honest tokeniser comparison needs a round-trip fidelity check, and that most published comparisons lack one. BPE is lossless, meaning tokens decode back to the original text.
How Do I Count the Tokens My Text Uses Before Sending It?
For plain text on OpenAI models, a local tokeniser such as tiktoken works, using the encoding of the model you call. Our practical guide to counting tokens with tiktoken covers the code and the encoding choice. Token counts are deterministic: the same tokeniser version gives the same count on any machine.
A local count misses formatting tokens the model receives. OpenAI’s token counting API takes text, messages, images, files, tools or whole conversations and returns the exact count the model will receive, including formatting tokens for message roles and boundaries that never show up when you tokenise the text yourself. OpenAI also notes that local tokenisers do not handle images or files, and that estimates like characters divided by 4 are inaccurate for them. Image tokens depend on size and detail level. Gemini uses fixed rules: an image of 384 pixels or less in both dimensions counts as 258 tokens, and larger images are tiled into 768 by 768 tiles of 258 tokens each.
Anthropic and some other providers do not publish their tokenisers, so calculator counts for their models are estimates from the vendor’s characters-per-token guidance. Anthropic’s token counting endpoint accepts the same inputs as a message request (system prompts, tools, images and PDFs), is free to use within per-minute rate limits, and counts under the tokeniser of whichever model you pass. Anthropic’s advice for a model migration is to count the same request on the current model and the target model and compare the two input_tokens values.
Worked Example: Estimating Token Count and Cost for a Prompt
The procedure runs in this order:
- Find the tokeniser of the model you will call and count a representative sample with it (tiktoken locally, or the vendor’s counting endpoint for anything with images, tools or chat structure).
- If you cannot count yet, use a measured ratio for your content type and language from the tables above, not the English rule.
- Add the tokens you will send that are not your text: system prompt, tool definitions and, in a chat, the history sent with each turn.
- Multiply input and output tokens separately by their per-million-token prices, since output is usually priced higher.
- Multiply by expected call volume, then check the result against a sample of real traffic.
For a 6,000-word English prompt, using OpenAI’s 0.75 words per token, that is 6,000 ÷ 0.75 = 8,000 tokens. At the GPT-4o input price of $2.50 per million tokens as of May 2026, cited in the 2026 tokenisation audit, one call costs 8,000 × $2.50 ÷ 1,000,000 = $0.02, or $20 per thousand calls. The same content in Bengali, at a 1.56 fertility ratio on GPT-4o, is about 12,480 tokens, $0.0312 per call and $31.20 per thousand calls.
OpenAI’s pricing page lists chat-latest at $5.00 per million input tokens and $30.00 per million output tokens. Prices change, so take current rates from the vendor’s pricing page when you run the numbers.
Language also shrinks usable context. The 2026 audit estimates effective context as the nominal window divided by the fertility ratio. For Bengali on GPT-4o, a 128k-token window holds about the same content as 82k tokens of English. Token count is also not the whole cost: the SWE-bench study argues that expected cost per successful task, which includes retries after failures, can matter more than the raw token ratio.
Is 10,000 Tokens a Lot for a Prompt or a Session?
No source sets a threshold for “a lot”, so this answer is our judgement. A token count is large or small only relative to two things: the context window it has to fit in and the number of times you pay for it. By OpenAI’s rule, 10,000 tokens is about 7,500 English words (10,000 × 0.75). For scale, Anthropic lists an average 10 kB webpage at about 2,500 tokens, a large 100 kB documentation page at about 25,000, and a 500 kB research paper PDF at about 125,000. Against Gemini 4’s 1,048,576-token shared window, 10,000 tokens is about 1%.
Context size and cost give different answers. A 10,000-token prompt fits well within a 128k-token window. At the May 2026 GPT-4o input price, though, it costs $0.025 per call, and that adds up across every call in a production SaaS product. Sessions are where counts grow without anyone noticing: in chat-style APIs the conversation history is usually resent with each turn, so a long session pays again for its earlier turns. Inefficient tokenisation also reduces throughput and fills the context window faster, so a prompt that looks moderate in English can be large in Tamil on an open-weight model.
Ratios Are a Starting Point, Not a Measurement
Each ratio on this page describes someone else’s text. The Vibe Engines authors say this directly about their own migration example, which estimates about 2.88M tokens before and 1.32M after a tokeniser switch: it holds only if your text behaves like their passage, so check it against a sample of your own traffic. For code, other languages, tool-heavy requests or a model upgrade, count with the tokeniser you will be billed on, because those are the cases where the rule of thumb is least reliable. Our generative and agentic AI R&D work covers building LLM systems where token budgets like these are measured on real traffic.
FAQ
How Long Is 100 Tokens?
About 75 English words by OpenAI’s rule of thumb, or 60 to 80 words by Google’s guidance for Gemini. In other languages the same 100 tokens holds less text.
Why Is AI Usage Measured in Tokens?
Models process text as token sequences, so most commercial LLM services bill by token, and open-weight deployments are limited by sequence length, memory and latency, which also scale with tokens.
How Many Tokens Is 1 Dollar?
It depends on the model and on whether the tokens are input or output. At the GPT-4o input price of $2.50 per million tokens as of May 2026, $1 buys 400,000 input tokens (1,000,000 ÷ 2.50).