Glossary

What is Context window?

In Turkish: Bağlam penceresi · Topic: Models and training

The amount of text a language model can "see" at once, measured in tokens. The larger the window, the longer the documents or conversations the model can consider at the same time.

How does it work?

When a language model generates a response, it "reads" the entire conversation, any attached documents and its own instructions at once. This total has an upper limit, called the context window, measured in tokens. If the limit is exceeded, the oldest parts are ignored or summarized.

Why does it matter?

A large context window is needed to analyze long contracts, books or large codebases in one go. However, very long context both raises costs and can cause the model to overlook some details.

Example

A context window of one million tokens can process text roughly the length of several thick books in one go.

FAQ

How many pages is 1 million tokens?

It varies by language and text density; roughly, it corresponds to hundreds of pages of text, several books or a large codebase. Turkish text can use more tokens than English.

Is a model with a larger context window better?

It is an advantage when working with long documents, but it does not indicate quality on its own. Models are also known to overlook some details in very long contexts.

Related guides

News mentioning "Context window"

4 stories
Lines of colorful JavaScript code displayed on a dark screen
Models

Moonshot AI releases open weights for Kimi K3.1 Pro

China’s Moonshot AI has made the weights of the 2.8 trillion-parameter Kimi K3.1 Pro publicly available on Hugging Face. The model was further strengthened with additional reinforcement learning for coding, 3D design and long-running agent tasks.

Computer screen displaying HTML code for a web development project
Models

Tencent unveils low-cost Hy4 flash model for everyday work tasks

Tencent has announced Hy4 flash, a model designed for tasks such as research, slide preparation and spreadsheet editing. The company says the cost per task is one-twentieth that of the full Hy4 model.

Models

Alibaba launches its new flagship model Qwen4-Max without open-sourcing it

Alibaba announced Qwen4-Max, its new flagship model, with 2.4 trillion parameters and a 1 million-token context window. The company did not release the model’s weights but did publish API pricing.

Models

Google brings fast, cheap Gemini 4 Hydrogen to the Gemini app and Search

Google announced Gemini 4 Hydrogen, designed for fast coding and agent workflows, on November 12. It is the first Gemini 4 model to reach free Gemini users.

All terms