What Are Tokens?
Part of the Fundamentals section of Coddy's AI Prompts journey. Lesson 7 of 23.
AI breaks your text into smaller pieces called tokens.
Think of tokens as the AI's basic unit of reading. Just like you might break a sentence into words, the AI breaks text into tokens.
But here's the twist: tokens aren't always whole words. A token might be a word, part of a word, or even just a single character.
For example, the word hello is typically one token. But a longer word like uncomfortable might be split into multiple tokens: un, comfort, able. The AI processes each token separately, one after another.
Challenge
Every reply in the chat shows how many tokens it used. Look for the output tokens count under the AI's answer.
Get the AI to answer using at most 10 output tokens. Ask anything you like, but make the AI keep its reply very short.
The AI's response must:
- Use 10 output tokens or fewer
This lesson includes a short quiz. Start the lesson to answer it and track your progress.
All lessons in Fundamentals
2How AI Reads You: Tokens
What Are Tokens?Words ≠ TokensWhy Token Counts MatterThe Context WindowTokens in Other LanguagesSpecial Tokens You Never See3Writing Your First Prompts
AI Talks Markdown (By Default)Controlling the Output FormatControlling Tone and StyleWhen the AI Ignores You