← All posts
AI explained · Part 4 of 8 · 3 min read

Context is everything: tokens, prompts and the context window

The same AI model can give you a brilliant answer or a useless one. Most of the difference comes from what it can see when it answers.

Abdul Azize HossenCEO & Chief Consultant, HFC · November 2026

When a client tells us an AI tool “doesn’t work”, the model is rarely the problem. The problem is usually what the model was given to work with. Three ideas explain why: tokens, the context window and the prompt.

Tokens: the units AI reads

An LLM does not process letters or whole sentences. It processes tokens: a whole word, part of a word, a punctuation mark or a small chunk of text. As a rough rule for English, a token is about three-quarters of a word.

One sentence, six tokens
Transformation with real ROI.
Illustrative. Each model splits text its own way, but the idea is the same: AI reads, writes and is billed in tokens.

Tokens matter because they are how AI usage is measured and priced, and how its limits are set.

The context window: the model’s workspace

When a model writes a response, it can only consider a certain amount of information at once. That limit is the context window. Think of it as the model’s desk: everything it needs for this task has to be on the desk, because it cannot walk to the filing cabinet on its own.

The context window
  1. 1System instructionsThe role and rules set by the application
  2. 2Your promptWhat you are asking for, right now
  3. 3The conversation so farEarlier questions and answers
  4. 4DocumentsThe contract, email or bill you attached
  5. 5Retrieved knowledgePassages found in your own content
  6. 6Tool resultsLive data returned by your systems
The same model gives very different answers depending on what is on its desk.

Today’s windows are large, often hundreds of thousands of tokens, enough for a long contract or a full set of meeting notes. But large is not infinite, and more is not automatically better. A desk piled with irrelevant paper makes any worker slower and less precise.

The prompt: telling it what you want

A prompt is the instruction or information you give the model. Compare these two:

A simple prompt

Summarise this email.

A clear prompt

You are helping a sales manager. Summarise this email in three bullet points and list any action the salesperson must take, with a date.

The second one says who the answer is for, what shape it should take and what matters. No clever tricks, just the clarity you would give a capable new colleague on their first day.

What it learned versus what is true today

Here is the idea that clears up most of the confusion. A model knows two very different kinds of things.

  • Training knowledge: what it learned before it was released. Broad, general and frozen at a point in time.
  • Current knowledge: what is true in your business right now. Today’s stock level, a customer’s open balance, the price list you updated on Monday, the leave policy HR changed last week.

Ask a model “How many units of product A do we have in stock?” and it cannot know. That figure lives in your ERP, not in the model. Either the system fetches it and puts it on the desk, or the model guesses, and a guess written in fluent English is the most dangerous kind of answer.

The model brings the skill. Your systems bring the facts. Context is where the two meet.

Putting it to work

  • Give it the source. Attach the contract, paste the email, link the record. Do not ask it to remember what it never saw.
  • Be specific about the outcome. Format, length, audience, and what to do when information is missing: “say so, do not guess”.
  • Keep the desk clean. The relevant documents beat everything-just-in-case.
  • Connect it to your ERP. The real gains come when AI reads live data from the system where your work already happens, with the same access rights as the person using it.

That last point raises a practical question: how do you get the right information onto the desk automatically, out of thousands of documents? That is what RAG is for.

Next in the series, part 5: RAG explained: how AI answers from your own knowledge

Try Odoo freeSee AI in Odoo for yourself. Start your free trial.Start free trial ↗︎

Thinking about AI in your business?

Start with a complimentary consultation. You leave with a clear plan and a quote.

Keep reading