In the context of Large Language Models (LLMs), what is the definition of a 'token'?

Answer

A fundamental unit of text, such as a word, part of a word, or punctuation, that the model processes.

Explanation

A token is a basic unit that large language models use to process text. It can be a whole word, a part of a word, or punctuation. LLMs measure input and output length and compute cost in terms of these tokens, which are treated as individual pieces of information.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list