AI & DataBeginner
Token
PronunciationTOH-ken
Definition
A small piece of text, like part of a word, that an LLM reads and writes. Limits and prices are measured in tokens.
Where you hear it
AI pricing and context limits. Note: "token" also means a login token in security.
Examples
The prompt is 2,000 tokens, so it fits in the context window.
We limit the output to 500 tokens to control cost.
The article is 3,000 words, which is about 4,000 tokens for most models.
Common mistake
Confusing an AI token with an authentication token. The same word, different meanings.
Don't confuse with
An AI token represents a piece of text processed by a language model, while an authentication token is a security credential used to verify a user's identity.
Say it at work
- In a meeting or chat
Let's check how many tokens this prompt uses before we run the batch job.
- In an email or ticket
Please ensure the input does not exceed the maximum token limit for this model.