A token is a unit of text used by an AI model to process input and produce output. Depending on how text is split, a token may be a whole word, part of a word or punctuation; token counts therefore differ from word and character counts.
Token counts are used to describe context windows, usage and API pricing. In design systems, a token instead means a variable defining a value such as a color or spacing measurement.