AI Token Counter

cl100k_base estimation · context window usage · multi-model

privacy-first · 0 uploads
0Words
0Chars
0Sentences
0Paragraphs
0sRead250 wpm
0sSpeak130 wpm
Grade
0Unique
0
AI Token Estimatelive
GPT-4
Claude
Context (128K)

0 chars → cl100k_base

Platform Character Limits

Twitter / X
0/2800%
Instagram
0/2,2000%
LinkedIn
0/3,0000%
Facebook
0/63,2060%
TikTok
0/2,2000%
YouTube
0/5,0000%
Weibo
0/2,0000%
WeChat
0/6000%
Douyin
0/550%
Xiaohongshu
0/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.