EliteContentMarketer
Home / Tools / Token Counter

Token Counter

Paste a prompt or a document to see how many tokens it is on current OpenAI, Claude and Gemini models, and what a job costs across hundreds of runs.

How It Works

Paste text, set the output you expect and how many times you'll run it.

1

Paste your prompt

A brief, a system prompt, a transcript or a whole document.

2

Set output and runs

Expected output tokens per run, and how many runs (say 200 briefs a month).

3

Compare models

Tokens, cost per run and total cost side by side, sorted by price if you want.

0
Characters
0
Words
0
OpenAI tokens (o200k)
0
Claude tokens (est.)

The o200k count is exact for GPT-5.6 and an estimate for GPT-6, whose tokenizer OpenAI hasn't named.

What the model writes back, including any reasoning it does.

How many times you'll send this, e.g. 200 briefs a month.

Change models (6 selected)
OpenAI
Anthropic
Google

Cost by model

Token count and cost per model for 1 run with 1,000 output tokens each, sorted by provider order
ModelTokensPer run1 run
GPT-6.2 Astra~0$0.04$0.04
$8.00 in / $40.00 out per 1M · 0% of 922K input limit
GPT-6 Luna~0$0.0005$0.0005
$0.10 in / $0.50 out per 1M · 0% of 922K input limit
Claude Fable 5.2~0$0.04$0.04
$8.00 in / $40.00 out per 1M · 0% of 1M input limit
Claude Haiku 5.5~0$0.0005$0.0005
$0.10 in / $0.50 out per 1M · 0% of 1M input limit
Gemini 4 Carbon~0$0.02$0.02
$4.00 in / $20.00 out per 1M · 0% of 1.05M input limit
Gemini 3.5 Flash-Lite~0$0.0025$0.0025
$0.30 in / $2.50 out per 1M · 0% of 1.05M input limit

A ~ marks an estimate (GPT-6 rows are counted with the GPT-5 tokenizer because OpenAI hasn't said which one GPT-6 uses, Claude is that count times 1.45 from a small check, and Gemini is characters divided by 4, Google's rule of thumb). Prices are standard rates with no batch or caching discounts, checked on 2 December 2026 from OpenAI, Anthropic and Google, and they change, so check before you set a budget.

How the counts and costs work

What a token is

A token is the unit a model reads and bills by. Short common words are usually one token, longer or rarer words split into pieces, and punctuation, numbers and spaces take tokens of their own. Every API price is quoted per million tokens, with separate rates for what you send (input) and what the model writes back (output). Across the models in the table, output costs five to just over eight times as much as input.

Why the counts differ between providers

Each provider trains its own tokenizer, so one paragraph can be 400 tokens on one model and 550 on another. That's why I show a count per provider instead of one number.

  • OpenAI: counted with o200k_base, the tokenizer OpenAI's own library maps to the GPT-5 family. That count is exact for GPT-5.6. OpenAI hasn't said which tokenizer GPT-6 uses, so the same count is marked as an estimate for the GPT-6 models.
  • Claude: Anthropic doesn't publish an offline tokenizer, and it says Claude Opus 4.7 and later produce about 30% more tokens for the same text than older Claude models. I ran a small check: nine short texts sent to Claude, with the input token counts it reported compared against the OpenAI count. Claude came out between 1.34 and 1.53 times higher on my English, code, markup and Chinese samples, so the estimate uses 1.45. On my Spanish and German samples it came in 21% and 32% under Claude's real count. I haven't tested other languages.
  • Gemini: Google says a token is about 4 characters and 100 tokens is about 60 to 80 English words. The estimate is characters divided by 4. I couldn't measure real Gemini counts, so this is Google's rule of thumb, and it's meant for English.

When the exact number matters, each provider has a token counting endpoint: OpenAI, Anthropic and Google.

Estimating what a content workflow costs

Click "Load an example" above the text box and you get a real content brief of 1,547 characters and 237 words. It's 381 tokens on OpenAI's tokenizer, an estimated 552 on Claude and 387 on Gemini. The example sets 2,000 output tokens per run and 200 runs, about ten briefs a working day for a month.

On GPT-6.2 Astra, one run costs $0.083, of which $0.003 is reading the brief and $0.08 is the output. Two hundred runs come to $16.61. Claude Fable 5.2 lands at $16.88, Claude Sonnet 5.5 at $4.22, Gemini 3.5 Flash-Lite at $1.02, and GPT-6 Luna and Claude Haiku 5.5 at $0.21 each.

The output is almost the whole bill, so a shorter or tighter output saves more than trimming the brief. And the gap between a flagship and a small model is about 80 times at OpenAI and Anthropic (closer to 8 times at Google), which is why I'd run first passes and classification on a small model and keep the flagship for the step where quality shows. Real prompts also grow. A system prompt, a style guide and a few examples sent with every call can be several times the size of the brief, so paste the whole prompt, not just the brief.

What this calculator doesn't count

  • Images, PDFs, audio and file attachments. Only the text you paste is counted.
  • Tool definitions, tool results and the extra formatting tokens an API adds around messages. Agents that call tools can use far more input than the prompt alone.
  • Reasoning tokens, unless you include them in the output field. All three providers bill thinking at the output rate.
  • Batch and prompt caching discounts. Prices are standard, on-demand rates; batch is half price at all three providers.
  • Taxes, regional pricing and priority or fast tiers. If you need the other side of the job, the word counter gives you reading time and paragraph stats for the same text.

Token counter FAQ

How many tokens is 1,000 words?

It depends on the model and the text. In my check, 418 words of plain English prose came to 479 tokens on OpenAI's tokenizer and 660 on Claude, so roughly 1,150 and 1,580 tokens per 1,000 words. Google says 100 tokens is about 60 to 80 English words, which works out to about 1,250 to 1,670 tokens per 1,000 words. Code, tables, markup and non-English text use more tokens per word than prose does.

Are the Claude and Gemini counts exact?

No, and the table marks them with a ~. Neither Anthropic nor Google publishes an offline tokenizer for its current models. The Claude estimate is the OpenAI count times 1.45, a ratio from a small check of nine short texts against the input token counts Claude reported. It held within about 8% on my English, code, markup and Chinese samples and came in 21% and 32% low on Spanish and German; other languages are untested. The Gemini estimate is Google's own rule of about 4 characters per token. For an exact number, send the text to Anthropic's or Google's token counting endpoint before you run the job.

Why does Claude count more tokens than GPT for the same text?

Each provider trains its own tokenizer, so the same paragraph splits differently. Anthropic says Claude Opus 4.7 and later models use a newer tokenizer that produces about 30% more tokens for the same text than earlier Claude models. That matters when you compare prices: a model with a lower price per million tokens can still cost more per job if it needs more tokens to read the same brief.

Do thinking or reasoning tokens count as output?

Yes. OpenAI, Anthropic and Google all bill reasoning tokens at the output rate, even when you never see the reasoning text. This calculator can't predict how long a model will think, so put your expected total output, reasoning included, in the output tokens field. If you don't know it yet, run the job once and read the output token count from the API response.

Does the calculator include batch or prompt caching discounts?

No. Every cost here uses standard, on-demand prices. Batch processing is half price at all three providers if you can wait for results, and prompt caching makes repeated input (a long system prompt or style guide sent with every call) much cheaper. If your workflow uses either, treat these numbers as the ceiling.

What happens with very long documents?

Some models charge more once a prompt gets long. The GPT-6 and GPT-5.6 models listed here switch to a higher rate for the whole request when input goes over 272,000 tokens, and Claude Haiku 5.5 does the same over 100,000 tokens. The table applies that rate automatically and flags it. It also checks each model's limits and warns when the text won't fit. The OpenAI models listed accept at most 922,000 input tokens inside their 1,050,000-token window.

Is my text sent anywhere?

No. The counting runs in your browser. The OpenAI tokenizer downloads once when you first type, and nothing you paste leaves the page.

Related Tools

See all tools