>Foundations
What is Token?
A token is a chunk of text — roughly a word or part of a word — that an AI model reads and generates. Models measure input and output length in tokens.
Understanding tokens helps you grasp context limits and pricing: longer prompts and responses use more tokens.
It's a small concept with practical payoff, which is why kenai covers it when teaching prompting and context.
Related terms
Context Window →
A context window is the maximum amount of text an AI model can consider at once — its short-term memory for a given conversation or task.
Large Language Model (LLM) →
A Large Language Model (LLM) is an AI system trained on vast amounts of text to understand and generate human language, powering tools like Claude and ChatGPT.
Prompt Engineering →
Prompt engineering is the skill of writing clear, well-structured instructions that get reliable, high-quality results from an AI model.