Skip to content

Home / Explainers

plain english

What Is a Context Window in AI?

A context window is the amount of text an AI model can read and keep in mind at one time. It is measured in tokens, and everything in a conversation, including your question, uploaded files and the model's own reply, has to fit inside it.

Think of the context window as the model's working desk. A small desk holds a few pages. A large one can hold a whole book or a large codebase. When a conversation gets longer than the window, the oldest parts fall off and the model can no longer see them.

Bigger windows let you ask questions about long documents without chopping them up. But longer is not always better: models can miss details buried in the middle of very long inputs, and long inputs cost more to process.

When a launch says a model has a "512K context," it means it can handle roughly 512,000 tokens, which is on the order of several hundred thousand words.

Quick answers

What is a token?

A token is a small chunk of text, often a short word or part of a word. In English, 1,000 tokens is roughly 750 words.

Does a bigger context window make a model smarter?

No. It lets the model read more at once, but reasoning quality depends on the model itself.

What happens when I exceed the context window?

The model either refuses the input or drops the oldest content, so it can forget earlier parts of the chat.

In the news

Models

Ant Ling Ships Ling-3.2-flash: 560B MoE Multimodal Model

Ant Ling launched Ling-3.2-flash: 560B total / 25B active MoE, 1M context, native image-text-video input, free for two weeks after launch.

2 sources · developer.ant-ling.com, developer.ant-ling.com · Nov 6

More explainers