Tokens and Context Windows Explained

AI explained: Tokens and context windows. Explained simply.

Two terms explain a lot about how AI tools behave and what they cost.

What Is a Token?

Models don't read words exactly as we do. They split text into tokens: chunks that might be a whole word, part of a word or punctuation.

Why Tokens Matter

What Is a Context Window?

The context window is the amount of text the model can consider at once: your instructions, the conversation so far, any documents you provided, and its own reply.

Practical Tips

  1. Be concise. Cut irrelevant text.
  2. Put key instructions at the start and restate them for long tasks.
  3. Start a fresh chat for a new topic.
  4. Summarise long conversations and carry the summary forward.
  5. For big document sets, use retrieval (RAG) instead of pasting everything.
  6. Estimate cost before running large batches.

Common Confusions

Takeaway

Tokens are the units, the context window is the working memory. Keep both in mind, and you'll get better results at lower cost.

Call us