How OpenAI GPT Tokenization Works (o200k_base)
Modern OpenAI models (GPT-4o, GPT-4o mini, and GPT-5) use the o200k_base vocabulary with 200,000 tokens. Compared to the older cl100k_base tokenizer, it compresses non-English languages and whitespace more efficiently, reducing token counts for multilingual prompts.
OpenAI automatically applies Prompt Caching for repeated prefixes over 1,024 tokens, discounting cached input tokens by 50%–90% depending on the model. Use the cache hit-rate slider above to model your real production savings.
Quick Rule of Thumb for ChatGPT Tokens
- 1,000 tokens ≈ 750 English words
- 10,000 tokens ≈ 7,500 words (a short novella chapter or medium codebase file)
- 128,000 tokens ≈ ~300 pages of standard book text
Frequently Asked Questions
How much is 1 million tokens in ChatGPT API?
GPT-4o mini starts at $0.15 per 1M input tokens and $0.60 per 1M output tokens. GPT-5 is $1.25 input / $10.00 output per 1M tokens.
How many words are 10,000 tokens?
10,000 tokens is approximately 7,500 English words, or about 20–25 single-spaced pages.
How many words are 20,000 tokens?
20,000 tokens is roughly 15,000 English words, depending on formatting, code blocks, and punctuation.