GPT & ChatGPT Token Counter

Count tokens and calculate OpenAI API costs for GPT-5, GPT-4o, and GPT-4o mini. Compare cached input discounts and monthly spend instantly.

Try sample:
Est. Input Tokens
0
Selected model estimate
Cost / Request
$0.00
Input + output + cache
Monthly Cost
$0.00
At configured volume
Characters
0
0 words · 0 B
0 / 200,000 tokens 0.00%

Multi-Model API Cost Comparison

Sorted from lowest to highest monthly cost · Prices in USD per 1M tokens
Model Provider Est. Input Tokens Input / Output (1M) Cost / Req Monthly Cost Context

Explore Model-Specific Calculators

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

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.