AI Token Counter

Paste text, see token counts for the major tokenisers (Claude, GPT, Gemini, Llama).

Paste text, see token counts across the major tokeniser families. Useful for sizing prompts against context windows and pricing them before you ship.

Claudetokens
GPT-4 / GPT-5tokens (cl100k-ish)
Geminitokens
Llama 3tokens
Input
0 chars · 0 words · 0 lines
Heuristic counts — within ~5% of exact for English, ~10% for code & mixed scripts. Use the provider tokeniser for billing-exact figures.

Runs entirely in your browser — nothing you enter is sent to a server.

Free forever · No signup

Need this for real, on your stack?

These free tools are a taste of how we think. We’re a senior software team across Romania & Pakistan that ships deep technical work — platforms, infra, data and the gnarly bits in between.

Talk to our engineers →

Heuristic, not exact

True BPE token counts require shipping the model's tokeniser (megabytes of JSON). We use the published per-character rules each provider publishes — within ~5% of exact for English, within ~10% for code and mixed scripts.

Built by WeWorkWorldwide — a senior software team in Romania & Pakistan that ships deep technical work. Need this turned into something production-grade for your stack? Talk to our engineers →