How to count tokens in a prompt
Short answer
Paste your text into a token counter for an estimate. As a rule of thumb, one token is about 4 characters or 0.75 words of English, so 1,000 tokens is roughly 750 words. Exact counts depend on the model's tokenizer.
Why token count matters
Models read and bill by tokens, not words. Your prompt plus the reply must fit inside the model's context window, and pricing is per token. Counting first avoids surprises. See what is a token.
Estimate tokens
- Paste the textDrop your prompt or document into the token counter.
- Read the estimateIt shows an approximate token count and word count.
- Budget the replyLeave room in the context window for the model's output, not just your input.
Why counts are only estimates
- Each model family uses its own tokenizer, so counts differ
- Whitespace and punctuation become tokens too
- Rare words split into several tokens; common words are one
- Non-English scripts and code often use more tokens per character