How much text an AI model can look at in one go: your question, the conversation so far and any files, counted in tokens.
AI Reviewed by Keshav Aggarwal · Updated
In simple words
Imagine a desk. You can only spread so many pages on it at once. If you add more, the oldest pages fall off the edge.
An AI’s context window is the size of that desk.
The technical side
The context window is the maximum number of tokens a model can take into account in one request, input and output together. Older models handled a few thousand tokens; many current models take 128,000 tokens, and some 1 million or more.
A bigger window lets a model read long documents or whole codebases, but long prompts cost more and can be slower. Our LLM API prices table lists each model’s context size.
Context Window kya hai?
Context window matlab AI ek baar mein kitna text yaad rakh ke padh sakta hai. Window badi hai toh lambi files aur lambi baatcheet ek saath samajh leta hai.