AI EncyclopediaAIBasics

Context window

컨텍스트 창

The amount of text an AI can see and remember at one time.

Overview

Your conversation with the AI, any documents you paste in, and your instructions all go inside the context window. Its size is set in tokens. If you go over it, the AI forgets the earliest content or cannot accept more.

With a bigger window, the AI can read and answer about a whole long report or a large program. But a big window does not mean the AI remembers everything in it equally well.

An everyday example

It is like the size of your desk. A wide desk lets you spread out many papers, but extra papers have to go on the floor.

Why it matters

Whether the AI can summarize a long document, hold a long conversation or work on a large codebase depends on this. It is also why the AI forgets earlier agreements as a conversation gets longer.

Also calledcontext length

See it on LastAI

These concept articles were written by AI and checked again for accuracy before publishing. The English edition is translated from the Korean articles. They leave out things that change quickly, such as prices and rankings. Tell us if something is wrong. Report an errorLast updated

You