ChatGPT Token Counter

Paste your text to instantly count tokens, estimate cost, and see how many tokens you have remaining in the context window.

Loading tokenizer...

What is a token in ChatGPT?

Tokens are units of text used internally by language models. They are not the same as words—spaces, punctuation, and subword fragments can all count as tokens.

Why token limits matter

Every model has a maximum context window. If your input and response exceed this limit, text may be truncated or ignored.