Token
Also known as: tokens, text fragments, tokenization
Definition
A basic unit of text, such as a word or a part of a word, that a language model uses to process and generate language.
A sequence of characters representing a semantic unit of text, created during tokenization to serve as the structural input and output for a language model.
Why it matters
AI provider pricing is calculated based on the number of tokens processed. Understanding tokens helps you estimate API costs, manage model limitations, and optimize your prompts to write more efficient queries.
Improvement tips
- Use a tokenizer tool to estimate your prompt costs before sending large batches of requests to an AI provider.
- Keep prompts concise and remove unnecessary text to reduce token usage and lower your bills.
- Remember that non-English languages and complex symbols often require more tokens per word than English.
Common mistakes
- Assuming one token always equals one word, which leads to underestimating actual API costs.
- Failing to monitor token usage in automated loops, resulting in unexpectedly high API bills.
- Exceeding the maximum token limit of a model, which causes the system to cut off the end of your prompt or reply.
Token tokens
A short sentence split into the small chunks a model can process.
A basic unit of text such as a word or
Related terms
LLM
A type of artificial intelligence model trained on massive amounts of text data to understand, generate, and manipulate human language.
Context Window
The maximum amount of text, measured in tokens, that an AI model can read and process at a single time.
Prompt
The text, question, or set of instructions provided to an AI model to guide its output and generate a response.
Quick check
How do tokens relate to words in English text?
Choose an answer
Frequently asked questions
Do I need to understand tokens before starting my business?
What does a token cost when using commercial AI tools?
When does token usage first become relevant for a new business?
How do I account for token costs in my startup budget?
Why does token count matter for a business already using AI?
What goes wrong when a business ignores token limits?
How do I reduce my business token usage without hurting output quality?
Why are my non-English AI tasks costing more tokens than English ones?
What is a token in simple terms?
Is a token a type of cryptocurrency?
Do I need to calculate tokens manually when using AI?
Can I run out of tokens while using a chatbot?
Sources: OpenAI API Help, Hugging Face Documentation, Google Cloud AI
Last reviewed: 2026-07-16