AI Token Counter
cl100k_base estimation · context window usage · multi-model
0Words
0Chars
0Sentences
0Paragraphs
0sRead250 wpm
0sSpeak130 wpm
—Grade
0Unique
0
AI Token Estimatelive
GPT-4—
Claude—
Context (128K)—
0 chars → cl100k_base
AI Token Estimatelive
GPT-4—
Claude—
Context (128K)—
0 chars → cl100k_base
Platform Character Limits
Twitter / X0/2800%
Instagram0/2,2000%
LinkedIn0/3,0000%
Facebook0/63,2060%
TikTok0/2,2000%
YouTube0/5,0000%
Weibo0/2,0000%
WeChat0/6000%
Douyin0/550%
Xiaohongshu0/1,0000%
AI Token Estimate
GPT-4
~0
Claude
~0
Context: 0% of 128K
What Are AI Tokens?
Large language models process text in tokens — chunks of roughly 4 characters or 0.75 words in English. Knowing your token count before sending a prompt helps you stay within context limits and estimate API costs accurately.
This tool estimates tokens using the cl100k_base encoding (GPT-4 / Claude family) and shows what percentage of a 128K context window your text occupies. For an exact count, click 'Get accurate count' to run the full tokenizer locally in your browser.