Learn AI Math

Context Limits

What is Context Limits?

In one sentence: Context limits are the maximum amount of text, in tokens, a model can take in for one request, including the conversation so far.

They come from the model's context window. Long chats and large documents may need trimming or summarizing to fit.

What does Context Limits look like?

Trying to send a 300,000-token book to a model with a 200,000-token limit will fail.

Why does Context Limits matter?

Context limits shape how you design prompts and long conversations.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.