# The AI's working memory has a hard edge, and you keep hitting it

Everything the model can see at once — your prompt, the chat so far, your files, its own reply — sits in one window with a fixed limit. Tap to watch it fill, and see why bigger isn't automatically better.

Published Sep 26, 2026 · By Ari Vale

This page has referral links: we earn a commission if you buy, at no cost to you.

Keep adding text below until the bar turns red.

That bar is the model's **context window**: everything it can see at once. When it's full, something has to give.

Anthropic's [definition](https://docs.claude.com/en/docs/build-with-claude/context-windows): the context window is "all the text a language model can reference when generating a response, including the response itself." They call it a "working memory".

It isn't what the model learned in training. It's the desk in front of it right now, and it's measured in tokens.

### What fills the window on a typical request

|   | Takes space? |
| --- | --- |
| Hidden instructions from the app | Yes |
| The whole conversation so far | Yes |
| Files and pasted code | Yes |
| The answer being written | Yes, included |

How big? It depends on the model. Anthropic's docs describe windows of "up to 1M tokens, depending on the model."

Bigger isn't automatically better. Anthropic: "As token count grows, accuracy and recall degrade, a phenomenon known as context rot."

> **What this means for your app**
>
> Coding tools put your files into the window. A big project can't all fit, so the tool picks which files to show the model. When the AI "doesn't know" about a file, it often simply wasn't on the desk. Tell it which files matter.

**Try it with the rules off.** In the sandbox, fill the window to the brim, then ask a question about the very first paragraph. Then remove half the text and ask again.

## You now understand

- The context window is everything the model can see at once
- Your messages, files, instructions and its own answer all use it
- More context can lower accuracy (context rot)

Inside the window, the model weighs which earlier words matter most, which is why "fix it" can go wrong in a long chat; the attention explainer lets you tap and watch.

This guide is part of our [How much VRAM do you need to run an AI model](https://aliteq.com/how-much-vram-do-you-need-to-run-ai-models) guide.

## Check yourself

**Q: What is a context window?**

A: All the text a model can reference when generating a response, including the response itself. It's the model's working memory, measured in tokens.

**Q: Is the context window the same as what the AI was trained on?**

A: No. Training is what it learned beforehand. The context window is what's in front of it for this answer.

**Q: Is a bigger context window always better?**

A: No. Anthropic notes that as token count grows, accuracy and recall degrade, which it calls context rot. What's in the window matters as much as its size.

Next in how the AI thinks: [Why the AI "forgot"](https://aliteq.com/why-ai-forgets-context-window-explained).

## Sources

- [Anthropic docs — Context windows (read Sep 25, 2026)](https://docs.claude.com/en/docs/build-with-claude/context-windows)
- [Higgsfield plans and pricing (official page, checked Dec 2, 2026)](https://higgsfield.ai/pricing?fpr=lax-8e2251&fp_sid=what-is-a-context-window--md)
- [Illustration generated with Higgsfield](https://higgsfield.ai?fpr=lax-8e2251&fp_sid=what-is-a-context-window--md)

---

Canonical: https://aliteq.com/what-is-a-context-window

This page has referral links: we earn a commission if you buy, at no cost to you.
