Learn · Models and how they work
What is Context window?
The slightly longer version
A context window is how much text an AI model can look at in one go. It includes your question, the files or documents you give it, and its own answers so far. It is measured in tokens. A token is a small piece of text, often part of a word. So "256k context" means about 256,000 tokens, which is many hundreds of pages.
When the conversation gets longer than the window, the oldest parts fall out, and the model simply does not see them anymore. This is not long-term memory. When you start a new chat, the window is usually empty again. A bigger window lets a coding agent (an AI that writes and runs code for you) read much more of a project at once, but it needs more computer memory to do it.
How a context window works
- You add textYour question, files and past messages go in.
- Cut into tokensThe text is split into small pieces called tokens.
- Fits the window?The model can only see a fixed number of tokens at once.
- Oldest parts dropIf it is too long, early text falls out of view.
- Model answersIt answers using only what is still inside the window.
In today's story, a user says a 64 GB Mac can run the Qwen3.8 27B model as a coding agent with a 256k context, using about 50 GB of memory. That means an AI can read a big part of your code on your own computer, without sending it to a cloud company. That is good for privacy, but it also shows the price: a large window eats most of the machine's memory.
What to watch out for
A big number on the box does not mean the model uses all of it well. Models often get less reliable with very long inputs and can miss details buried in the middle. Also, the 64 GB claim comes from one Reddit user, not an independent test, so your results may be different.
Where it showed up
This notion came up in November starts with holes in the labs' own walls. More lessons: Learn.
Sources
Written on 2026-11-01. This explanation was accurate on that day. AI changes fast, so check the sources and the date before you rely on it.
Get The AI Daily Grind by email, every morning, in simple words.