HowDoesAIDoThat?

Glossary / plain-language definition

Token

A token is a small unit of text a language model reads or writes, such as a word fragment or punctuation mark.

By HowDoesAIDoThatSources checked 11 October 2026
Example

An unfamiliar surname may split into several tokens rather than count as one word.

Language models work with tokens rather than a simple word count. A tokenizer splits your text and maps the pieces to numerical IDs. One word may become several tokens, and different models can split the same paragraph differently. Hugging Face explains tokenization.

Input tokens include your question, supplied material and any conversation history sent with it. Output tokens are the reply the model generates.

This matters when you attach a document, reach a context limit or pay by usage. Use the app's token count or the model's tokenizer when you need an exact number. Code, punctuation and language all affect the count.

If an answer stops halfway through, check its output limit. If the app struggles with a long conversation, start a fresh chat with the relevant passage instead of carrying the whole history forward.

Sources

Primary references checked 11 October 2026.