Skip to contentOceanToken

Glossary term

What is Context window?

The most text a model can take in one request, counted in tokens.

Definition

A model's context window is the maximum number of tokens it can handle in one request: your prompt, earlier messages, attached documents and the reply it writes all count toward it. A request that goes over the limit is rejected or cut short.

Why it matters

The window decides how much you can send at once: a long contract, a code base, a chat history. Larger windows cost more per request when you fill them, so it pays to send only what the model needs.

How it works on OceanToken

Each model's page on OceanToken lists its context window next to its price. Compare models side by side on the model list.