AI Basics

What Is a Context Window?

How much an AI can remember in one conversation, why it runs out, and what to do when your document is bigger than its brain.

6 min read June 2026 Token by Token

The question everyone quietly has

You've been having a great session with ChatGPT or Claude. You've uploaded your price list, given it your brand guidelines, and spent twenty minutes refining a client proposal. But then, suddenly, the AI forgets that you're a plumber based in Geelong. It starts suggesting solutions for a company in New York, or it forgets the specific constraint you mentioned ten prompts ago. You start to wonder: Did I imagine that it knew this? Is it broken? Or is it just ignoring me?

The answer isn't that the AI is "forgetting" in the way humans do — it's that it has physically run out of room. You've hit the ceiling of the context window.

This article is for every Australian business owner who's ever felt like their AI assistant had early-onset dementia. We'll explain what a context window actually is, why it matters for your wallet, how to manage it, and what to do when your document is bigger than the AI's brain.

"AI is not magic. It's a very fast, very patient, very literal assistant that has read most of the internet and can pattern-match against what you give it. The trick is knowing what to ask and how to keep it honest."

— The working definition I use with clients

What is a context window, actually?

In the simplest possible terms, the context window is the "active memory" of an AI model. It is the maximum amount of information the AI can "see" and consider at any one single moment when it is generating a response.

When you type a prompt into an AI, you aren't just sending that one sentence. The software is actually sending a huge bundle of data back to the AI's brain every single time you hit enter. This bundle includes your current question, the previous ten questions you asked, the AI's previous ten answers, and any documents you uploaded to the chat.

The "window" is the limit on how big that bundle can be. Once the conversation exceeds that limit, the AI has to start throwing things overboard to make room for new information. It doesn't pick and choose based on importance; it generally just drops the oldest stuff first. This is why the AI seems to "forget" the beginning of a long conversation.

Here's the part that trips everyone up: the context window is measured in tokens, not words. If you haven't read our article on tokens yet, the short version is that a token is roughly three-quarters of a word. A standard A4 page is about 650–700 tokens. So a context window of 4,000 tokens is roughly five or six pages of text — and that includes everything: your prompts, the AI's replies, and any uploaded documents.

The workbench analogy

To make this feel obvious, let's step away from computers and imagine you're a tradie — say, a cabinet maker — working in a shop.

You have a massive warehouse out the back. This is the AI's training data. The warehouse contains every manual, every piece of wood, and every technique known to man. The AI "knows" all of this. However, you can't build a cabinet while standing in the middle of a warehouse; you need a workbench.

The workbench is your context window.

When you start a project, you go into the warehouse and pull out the specific blueprints for the job, the client's measurements, and the specific timber you're using. You lay them all out on the bench. As long as the information is on the bench, you can see it, reference it, and use it to make a cut.

But here is the catch: the workbench has a physical limit. If the project gets huge and you keep bringing out more blueprints, more material samples, and more notes, eventually the bench gets cluttered. To make room for a new set of drawings, you have to push the old ones off the edge of the table. Once those drawings hit the floor, they are gone. You can't see them anymore. If you forget that the client wanted a specific hinge and you've pushed that note off the bench, you're going to install the wrong hinge.

The key takeaways from this analogy:

The crucial insight is that the AI cannot walk back into the warehouse during a conversation. It only has what's on the bench. If you want it to "remember" something from the start of the chat, that memory has to stay on the bench — and the bench is cramped.

Why this matters for your business

For most people playing around with AI for fun, the context window is invisible. You ask it for a recipe for lasagna, it gives you one, and you're done. But for a mortgage broker managing a complex loan application or an accountant auditing a year's worth of spreadsheets, the context window is the difference between a tool that saves you ten hours a week and a tool that hallucinates a fake tax law.

The "memory" illusion

Many small business owners mistake AI for a sentient assistant that "gets to know them" over time. It doesn't. Unless you are using specific features like "Custom Instructions" or "Memory" (which are essentially just small, permanent notes pinned to the corner of the workbench), every new chat starts with a completely empty workbench.

Even within a single chat, the memory is precarious. If you upload a 50-page PDF of a building code and then have a long conversation about it, the AI will eventually "forget" the first few pages of that PDF because those tokens have been pushed off the workbench to make room for the ongoing chat.

This is why you can't treat an AI chat like a patient apprentice who quietly takes notes. It's more like a colleague with a perfect memory for what's directly in front of them, and total amnesia for anything that's slid off the desk.

The hidden cost of context

If you are using an AI via an API — connecting it to your own software or a third-party tool — you aren't paying per "question." You are paying per token.

Crucially, you pay for the tokens in the entire context window every time you send a prompt. If your conversation history is 10,000 tokens long and you ask a three-word question like "Is this correct?", the AI doesn't just process those three words. It processes the 10,000 tokens of history plus the three words.

This means that as a conversation gets longer, it becomes exponentially more expensive to maintain. A chat that costs you half a cent at the start might cost you five cents by the fiftieth message — because every message carries the weight of every previous message. This is why some "cheap" AI tools suddenly become slow or start charging more as the chat progresses.

For a business processing a hundred customer queries a day, that cost creep can turn a $50 monthly bill into a $400 monthly bill without anyone noticing. The context window isn't just a memory limit — it's a billing multiplier.

The "lag" factor

There is a physical toll on the hardware when the context window is nearly full. Processing 100,000 tokens takes significantly more computational power and time than processing 1,000. You may notice that as your chat history grows, the AI takes longer to "think" before it starts typing.

This isn't just a glitch; it's the AI struggling to read the entire, cluttered workbench before it can decide what to do next. For a customer-facing chatbot, that lag can feel like apathy. For an internal tool, it wastes the very time you were trying to save.

⚠️ The "Lost in the Middle" phenomenon

Research has shown that AI models are great at remembering the very beginning of a prompt and the very end, but they often struggle with information buried in the middle of a massive context window. If you put the most important instruction on page 14 of a 30-page document, there is a high chance the AI will overlook it. It's like hiding your most important tool in the middle of a cluttered workbench — the AI reaches for what's visible at the edges and misses what's buried underneath.

Real-world example: Sarah the mortgage broker

Let's look at how this plays out for Sarah, a mortgage broker in Brisbane. Sarah wants to use an AI to help her analyse a client's financial situation.

Sarah uploads four documents to her AI chat:

  1. A 10-page summary of the client's income and expenses.
  2. A 5-page credit report.
  3. The current lending criteria for three different banks.
  4. A detailed set of notes from her initial discovery call with the client.

At the start, the workbench is clean. Sarah asks: "Based on the credit report and the lending criteria for Bank A, does this client qualify?" The AI looks at the workbench, sees the credit report, sees Bank A's rules, and gives a perfect answer.

Sarah then spends the next hour chatting with the AI, brainstorming ways to improve the client's application, drafting emails, and asking for alternative loan products. This conversation adds thousands of tokens to the context window.

Finally, Sarah asks: "Wait, looking back at the discovery call notes, did the client mention any other debts?"

What happens? Because the discovery call notes were uploaded at the very beginning, they were the first things pushed off the "workbench" to make room for the hour-long brainstorm. The AI might respond: "The notes don't mention any other debts," or it might hallucinate and say, "The client didn't specify any others," even though the notes clearly stated there was a $5,000 private loan from a family member.

Sarah hasn't "broken" the AI. She has simply exceeded the context window. The AI isn't lying; it literally cannot "see" the notes anymore. If Sarah makes a lending decision based on that answer, she could be in serious trouble.

The fix? Sarah should have started a fresh chat, pasted only the discovery notes and the specific question, and asked again. A clean workbench would have given her the right answer in seconds.

What goes wrong when the window overflows

When the context window overflows, the AI doesn't usually stop working and give you an error message like "Out of Memory." Instead, it fails silently. This is the most dangerous part of AI for a business owner. You can't see the problem, but the answers are quietly getting worse.

Context-loss hallucinations

When an AI loses the context of a previous instruction, it doesn't say "I forgot." It tries to be helpful. If it can't find the answer on the workbench, it might try to guess based on the patterns it learned during training. This is where hallucinations come from.

If the AI forgets you are an accountant in Australia and starts giving you US tax advice, it's because the "Australian Accountant" part of the context window was pushed off the edge. If it forgets that a client specifically wants no email contact and drafts an email anyway, it's because that constraint slid off the bench.

The worst part? The AI will sound just as confident when it's guessing as when it's quoting your actual documents. Confidence is not accuracy. This is why every AI output that affects a business decision needs a human review step.

The token overflow loop

You might notice a "shorter" response than usual. This happens when the AI is so close to its token limit that it only has room to generate a few sentences before it hits the ceiling. It will cut off mid-sentence or give a suspiciously brief answer because it literally has no more "room" to write.

Some users, seeing the short answer, ask a follow-up question. That follow-up adds more tokens to the history, making the problem worse. It's like trying to fit more tools on an already full workbench by pushing the existing ones closer together. Eventually something falls off.

The summarisation trap

To combat this, some users try to "summarise" their conversations. They ask the AI to recap everything discussed so far, then start a new chat with that summary. While this saves space, you lose nuance.

If you tell the AI to "summarise our progress so far" and then start a new chat with that summary, you've effectively thrown away the raw data and replaced it with a distilled version. If the summary missed a tiny but critical detail — like a specific client preference, a regulatory exception, or a non-negotiable deadline — that detail is gone forever. The summary is only as good as the AI's ability to recognise what matters, and as we've established, the AI is not great at noticing things in the middle.

📉

Degraded logic

The AI starts making contradictions because it forgets what it agreed to ten minutes ago. It might recommend a strategy, then argue against it two messages later.

👻

Ghosting data

Uploaded documents "disappear" from the AI's awareness despite still being visible in the chat UI. The file is there; the memory of it is not.

🐌

Latency spikes

The AI takes significantly longer to respond as the context window fills up. A snappy assistant becomes a sluggish ponderer.

What it actually takes to manage this

You can't "expand" the context window — that's a hard limit set by the developers (like OpenAI or Anthropic). However, you can be a better "workbench manager." Here are the practical strategies we recommend for SMBs.

The "fresh start" strategy

Don't let a single chat thread run for weeks. Once you've achieved a specific goal — e.g., "Drafting the quarterly report" — stop. Copy the final version of the report, start a new chat, and paste the report back in as the starting point. This clears all the "clutter" (the brainstorming, the mistakes, the typos) and gives you a clean, spacious workbench for the next phase of work.

Think of it like cleaning your workbench between jobs. You don't leave the sawdust and offcuts from the last cabinet sitting there while you start the next one. The AI works better with a clean surface.

The "anchor" technique

If you have a critical piece of information — like your business name, your location, or a non-negotiable rule — don't just say it once at the start. Re-state it occasionally, or include it in your "Custom Instructions." By bringing the information back to the "top" of the conversation, you move it from the edge of the workbench back to the centre where the AI can see it clearly.

For example, if you're a builder and every answer needs to reference Australian Standard AS/NZS 3000, don't assume the AI remembers that from your first prompt. Restate it every few messages, or put it in your system instructions. It's like keeping your most-used tape measure in the middle of the bench instead of letting it slide to the edge.

Curated inputs vs. data dumping

Avoid "data dumping." Instead of uploading a 100-page manual and asking the AI to "know everything," extract the 5 pages that actually matter for the current task. The smaller the input, the more room the AI has to "think" and the less likely it is to lose important details in the noise.

This is especially important for tradies dealing with building codes, or accountants dealing with tax legislation. A 200-page document is impressive to upload, but it's a liability if the AI can't find the one paragraph that matters. Curate ruthlessly. Upload chapters, not volumes.

Modular prompting

Break your big project into smaller, modular pieces. Instead of one giant chat called "Business Strategy 2024," have several specific chats:

This ensures the AI is focused and the context window is always optimised for the specific task at hand. It's the difference between a specialist and a generalist — and right now, AI works better as a specialist.

The real numbers: window sizes and costs

To give you a sense of scale, context windows vary wildly between models. Note that these numbers change almost monthly as the tech evolves, but the relative differences matter more than the exact figures.

Small window: the tiny desk

Older or basic models often have windows of about 4,000 to 8,000 tokens. That's roughly five to ten pages of text. You can handle a short report or a brief conversation, but a long back-and-forth will quickly push old data off the edge. These models are cheap — often just a few cents per thousand requests — but you pay for it in frustration.

Standard window: the boardroom table

Modern business-grade models like GPT-4o offer approximately 128,000 tokens. That's a massive boardroom table. You can fit several books' worth of data. However, remember the "Lost in the Middle" problem — even with a huge table, the AI can still miss things buried in the centre. At API rates, a fully loaded 128K context costs roughly $0.50–$1.00 AUD per prompt, depending on the model tier. Use it for important analysis, not for casual questions.

Huge window: the warehouse floor

Models like Claude 3 or Gemini 1.5 offer 200,000 to 2 million tokens. This is like having the entire warehouse floor as your workbench. You can upload entire codebases, hour-long video transcripts, or years of meeting minutes. But beware: the more you put on the bench, the slower the AI becomes and the more expensive each single prompt becomes. A 1-million-token prompt on a premium model could cost $5–$10 AUD per shot. That's fine for a quarterly strategic review, but it's absurd for drafting a reminder email.

💡 Pro tip for accountants and brokers

If you are analysing a 50-page financial statement, don't just upload it and ask "What's wrong?" Instead, ask the AI to "Identify the 5 most critical anomalies in this document and list them." Then, start a new chat and provide only those 5 anomalies. This forces the AI to focus its entire context window on the problems, rather than wasting 90% of its brain power on the boring parts of the balance sheet.

What to do next

The context window is the invisible boundary of AI productivity. When you understand that you are managing a finite amount of space, the AI stops feeling like a moody employee and starts feeling like a tool you can calibrate.

The goal isn't to find the AI with the biggest window; it's to be the most efficient user of the window you have. Keep your workbenches clean, start fresh often, and never assume that because a document is "uploaded," it is still being "seen."

Here's what I'd do with this knowledge:

  1. Audit your longest chat. Find the conversation you've been running the longest. Copy the final output, start a new chat, and paste it back in. Notice if the answers get sharper.
  2. Trim one upload. Next time you're about to dump a 100-page PDF into an AI, pause. Extract the 5 pages that matter. Upload those instead.
  3. Set custom instructions. If your AI tool has a "custom instructions" or "system prompt" field, use it. Put your location, industry, and key constraints there. It saves tokens and keeps your anchors visible.
  4. Match the model to the job. Don't use a million-token monster to answer a three-line question. Use the smallest, cheapest model that can handle the task. Your wallet will thank you.

The articles below will take you deeper into the concepts that build on context windows — how AI remembers at all, and how pricing actually works under the hood.

Struggling to get your AI to "remember" your business rules?

If you're spending more time reminding the AI who you are than actually getting work done, you might need a better system for managing context. I've helped mortgage brokers, tradespeople, and accountants set up custom frameworks that stop the forgetting cycle. If you'd like a hand, get in touch.