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.

Sample:
Fast client-side estimate. Need exact reconciliation? Switch to Exact Token Counts.
Est. Input Tokens
0
Client-side heuristic estimate
Cost / Request
$0.00
Standard API rates
Monthly Cost
$0.00
At configured volume
Prompt Text Stats
0
0 words · 0 B
0 / 200,000 tokens 0.00%
Share link carries parameters & price version only — never prompt text.

Multi-Model API Cost Comparison

Sorted from lowest to highest monthly cost · Prices in USD per 1M tokens · Verified 2026-12-02
Model Provider Input Tok In / Out (1M) Cache Read (1M) Cost / Req Monthly Cost

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.