LLM Token Counter

Tokenizer model

Not sure, or your model isn't listed? Keep General.

OpenAI

Anthropic

Google

Meta

Or drop a text file here, up to 1 MB. It isn't uploaded.

…tokens

Loading the o200k_base tokenizer in your browser…

Counts cover the text only. Chat formatting, system prompts, tools and images add more tokens to a real request.

17
Words
88
Characters
72
Characters (no spaces)
2
Sentences
1
Lines
…
Tokens / word
Interactive tool by TechComparePowered by TechCompare