Tokens and Context Window

Illustration: round tokens feeding into a narrow slot

A token is a chunk of text, roughly three quarters of a word, that AI models use to read and write. The context window is the maximum number of tokens a model can consider at one time, including your instructions, documents, conversation history, and its own answer.

Why leaders should care

Tokens are the unit of cost. Most AI pricing is per million tokens in and per million tokens out, so token counts drive your bill. The context window sets the practical limit on how much information you can hand the model at once, and stuffing it full doesn’t automatically improve results.

Example

An email-processing system uses about 191 tokens in and 81 tokens out per message. At 10,000 emails a month, that works out to roughly $15 on a mid-tier model. Swap in a model that’s dozens of times more expensive, or triple the size of each prompt, and the same workflow costs real money.

My take

AI cost isn’t a black box. It’s price per token times tokens per call times calls per month. Estimate early, use the smallest model that does the job well, and remember that more context isn’t always better context. Sometimes less, better-chosen information beats more.

Related videos

Leave a Reply