What are tokens in language models?
Tokens are the pieces of words in which a model counts text. Providers usually charge separately for input tokens — instructions, documents, conversation history — and for output tokens, that is, the text of the answer. That is why long instructions and whole documents in every request noticeably increase running costs.
More in the guide to choosing a language model for business.