Token Counter for GPT, Claude, Gemini and Llama

Paste any prompt to count its tokens, see how the model splits it, and find out what it costs to send. Free, no sign-up, and your text never leaves your browser.

GPT tokens (estimated)
60
45words
240characters
4.0chars per token
What this text costs

Full pricing

Counting tokens by hand gets old fast.

TrueFoundry AI Gateway logs tokens and cost for every request, across every model and team.

See token tracking

How the model sees your text

Models don't read words. They read tokens: chunks of a few characters each. Every colored block below is roughly one token. Edit the text above and watch it re-split.

An illustration of how tokenizers split text. Exact splits differ by model.

~4

characters per token

A common rule of thumb for English. Code, numbers and other languages often use more tokens.

+30%

on newer Claude models

Claude 4.7 and later use a tokenizer that produces about 30% more tokens for the same text.

5x

output costs more

On most current models, output tokens cost about five times the input rate. Short answers save money.

Tokens to words converter

Planning a context budget? Drag to see roughly how much English text fits.

8,000
1K1M
6,000words
12pages (500 words)
<0.1novels (90K words)
Quick reference: tokens to words (English, rule of thumb)
TokensWordsRoughly
1,000~750A long email
10,000~7,500A 15-page report
100,000~75,000A short novel
1,000,000~750,000A full 1M-token context window

Token counter FAQ

What is a token?

A token is a chunk of text a language model reads, usually a short word or part of a longer one. In English, one token is about four characters or three quarters of a word.

Do GPT, Claude and Gemini count tokens the same way?

No. Each provider uses its own tokenizer, so the same text gives different counts. Claude 4.7 and newer models, for example, produce about 30% more tokens than older Claude models for the same text.

How many words is 1,000 tokens?

About 750 English words. Code, numbers and non-English languages usually need more tokens per word.

Is my text stored?

No. The counter runs entirely in your browser, so nothing you paste is sent to us or to any model provider.

How accurate is this token counter?

It gives a close estimate for English text. Exact counts depend on each model's tokenizer, so for billing-critical numbers, check the usage figures returned by the provider's API.

How do I track token usage in production?

Every API response reports its token usage. To see it across models, teams and apps in one place, route traffic through an AI gateway like TrueFoundry.

Every token, every model, one dashboard.

TrueFoundry AI Gateway tracks tokens and spend per request, team and app, and sets budgets before the bill surprises you.

Prices from Anthropic, OpenAI and Google, checked 1 Dec 2026.

Faites un rapide tour d'horizon des produits
Commencer la visite guidée du produit
Visite guidée du produit