Lab · Context windows · ~2 min

Token counter

Paste text to estimate tokens, see how much of an 8k–1M context window you used, and learn why token counts are not word counts.

Characters
128
Words
20
Estimated tokens
32

Rule of thumb: about 1 token per 4 characters, or 1.3 tokens per English word. Code, CJK text, and unusual punctuation can differ a lot.

Context windowUsedLeft
8k0.4%8,160 tokens
32k0.1%32,736 tokens
128k0.0%127,968 tokens
200k0.0%199,968 tokens
1M0.0%999,968 tokens

How to read this

  • This is an estimate for planning, not a vendor tokenizer.
  • If the 128k row is already full, split the job or retrieve instead of pasting the whole corpus.
  • Practice the mental model in What is an LLM, then pack a context window on purpose.