Token counter & cost estimator

Paste a prompt or document. Nothing leaves your browser.

FAQ

How accurate is this token estimate?

For OpenAI GPT-4o, GPT-4.1, GPT-5 and o-series models the count is exact: we run OpenAI's o200k_base tokenizer in your browser. For other providers we take that count and apply the provider's measured token ratio for the language of your text (English, Korean, Chinese or Spanish), because the same sentence produces a different number of tokens depending on the tokenizer and language. Those counts are estimates; the margin is shown next to the result.

How many tokens is 1,000 words?

Roughly 1,300 tokens of English prose with OpenAI models. The same content in Korean, Chinese or Spanish usually takes more tokens, and the gap differs by provider.

How many more tokens does Korean, Chinese or Spanish use than English?

On 250 parallel sentence sets from this site (English, Korean, Chinese, Spanish), OpenAI's o200k_base tokenizer used about 1.34x the English tokens for Korean, 1.13x for Chinese and 1.16x for Spanish. Applying our per-language ratios gives estimates of about 1.74x for Korean on Claude Opus 4.7 and later models (about 2.17x on the Claude 4.5 and 4.6 generation) and 1.25x on Gemini. Individual sentences vary (the middle half of the Korean sentences ran 1.22x to 1.49x on o200k), so paste your own text above to check it.

How many tokens is an image?

This counter counts text only. Images are billed as input tokens set by their resolution and the model's settings, not by file size. Claude: one token per 28×28-pixel patch, ⌈width ÷ 28⌉ × ⌈height ÷ 28⌉, so a 1000×1000 image is 1,296 tokens; larger images are scaled down to at most 4,784 tokens on Claude 4.7 and later models and 1,568 tokens on older ones (Anthropic). Gemini 4 and 3: the media_resolution setting caps tokens per image at about 1,120 by default, 280 on low and 560 on medium; ultra_high (2,240) can only be set per image (Google). OpenAI: the rule differs by model, so use OpenAI's image input cost calculator. Checked 2026-11-28.