Logo

Token

Core Concepts
Letter: T

The basic unit of text that an AI model processes, which can be a word or part of a word.

Detailed Definition

A token is the basic unit of text that an AI model understands. For LLMs, this is sometimes a word, but often just a part of a word. For example, "ChatGPT is smart." might be split into the tokens "Chat," "GPT," "is," "smart," and "." Even though "ChatGPT" is one word, the model breaks it into smaller pieces to make learning language more scalable, flexible, and efficient. There are analogous concepts like "patches" for image models and "frames" for voice models.