You have a long document, a contract, a report, a whole chat transcript, and you want a model to read it. You paste it in, press send, and the work stops: the text is too long. Nothing was summarised, nothing was answered, and the reason is a limit that was knowable before you sent anything: the context window.
This guide explains what a context window is, what actually happens when your text exceeds it, and how to check the fit in advance with the free Context Window Checker on Ovatly. It also covers the three honest responses when a text does not fit: trim it, split it, or move to a model with a larger window.
Contents
- Quick answer
- What a context window is
- What happens when the text does not fit
- How to check the fit before you send, step by step
- Worked example: a 12-token sentence against two windows
- Leave room for the rest of the conversation
- Limitations and honest caveats
- Common mistakes
- FAQs
- Conclusion
Quick answer
A context window is the maximum number of tokens a model can hold in one conversation. If your text is longer than the window, it does not fit, and the job cannot proceed as sent: you have to trim the text, split it into parts, or choose a model with a larger window. The Context Window Checker shows this before you send anything: paste your text and it reports, for each model in its data table, the window size, the percentage your text fills, the spare tokens, and whether it fits at all. Its window sizes come from a snapshot data table dated November 2026, so verify current limits with the provider before relying on a figure.
What a context window is
Think of the window as the model's desk space for one conversation, measured in tokens rather than words or pages. Everything the model can take into account at once has to fit on that desk: your message, any document you pasted, the instructions behind the scenes, the earlier turns of the chat, and the reply it is writing.
Windows differ widely between models. In the checker's snapshot table, GPT-4o has a window of 128,000 tokens, while Gemini Flash has a window of 1,000,000 tokens. That difference is why "too long" is not a property of your text alone. The same report can be an impossible paste for one model and a small fraction of the budget for another, which the worked example below shows with a deliberately tiny text.
What happens when the text does not fit
The plain fact is that the text does not fit, and there is no partial credit. A model cannot read the first part of your document and quietly work with that as if it had the whole; if the input exceeds the window, the work as sent cannot go ahead. What you experience at that moment depends on the product in front of you, and this guide will not invent specific error messages for specific providers, because they vary and change. The part that is always true is the part you control: the text has to change, or the model has to change, before anything is sent.
The checker states the position in its own terms. When a text does not fit a model's window, the fill bar turns red and the tool states how many tokens you are over. That number is the useful one: it tells you whether you need to trim a paragraph or rethink the whole approach. The three standard responses are the ones the tool itself points to: trim the text (a prompt shortener can help), split it into parts and work through them in stages, or choose a model with a larger window.
Finding this out after pasting into a live chat costs you the attempt. Finding it out in a checker costs you a paste and a click, which is the entire argument for checking first.
How to check the fit before you send, step by step
- Open the Context Window Checker.
- Paste the text you plan to send to a model.
- Click Check context fill.
- Compare the fill bars: each model shows its window size, the percentage your text fills, and the spare tokens.
- Pick a model where the text fits with room left for the reply.
If a bar is red, the tool states how many tokens you are over for that model, and you can trim or split and check again until the text fits with room to spare.
Worked example: a 12-token sentence against two windows
The sentence "Prompt engineering is the practice of writing instructions for AI models." is 12 tokens.
Against GPT-4o (window 128,000) it fills 0.0094% and leaves 127,988 tokens spare.
Against Gemini Flash (window 1,000,000) it fills 0.0012%.
The percentages are tiny because real prompts are small next to modern windows; a full book chapter is where the bars start to matter. The example is still instructive. It shows the shape of every result the checker gives: a count for your text, a window for the model, a percentage filled, and the spare tokens left over. Scale the sentence up to a 60-page report and the same four numbers decide whether the job fits, and on which model.
Leave room for the rest of the conversation
The check covers your input only. A real conversation also spends tokens on the system prompt, earlier messages and the model's reply. So a text that fills 99 percent of a window on paper leaves almost nothing for the answer, and a long chat quietly eats budget from the other end as earlier messages accumulate.
That is why the last step of the check is to pick a model where the text fits with room left for the reply. As a rough habit, avoid filling more than about 80 to 90 percent of a window with input if you want a long reply, though this is guidance, not a rule from any provider. The shorter the reply you need, the closer to the edge you can safely work.
Limitations and honest caveats
Window sizes come from a snapshot data table dated November 2026; providers change limits, so verify with the provider before relying on a figure. The checker's own note says the same: the figures are a labelled snapshot, not live data.
Token counts use the GPT tokenizer (o200k encoding), so fills for other families are approximations. A text that fits with a wide margin is safely in; a text within a whisker of another family's limit deserves a second look with that provider's own counting.
Finally, fitting is not the same as working well. This guide makes no claim that a model uses every part of a very long input equally well; it covers only the measurable question of whether the text fits the window, which is the question the checker answers.
Common mistakes
- Pasting first and checking never. The limit is knowable in advance. Check the fit before the text goes into a live conversation, not after it fails.
- Filling the window to the edge. Your input shares the budget with the system prompt, earlier messages and the reply. Leave room, especially when you want a long answer.
- Treating window sizes as permanent. The figures here are a November 2026 snapshot. Providers raise limits; verify before building a workflow around a number.
- Assuming too long means unusable. An over-limit text is usually a staging problem, not a dead end: trim it, split it into parts, or summarise it in stages, and each part fits on its own.
FAQs
What happens when text does not fit? The bar turns red and the tool states how many tokens you are over. Trim the text (the Prompt Shortener can help), split it into parts, or choose a model with a larger window.
How much room should I leave for the reply? That depends on the answer you expect. As a rough habit, avoid filling more than about 80 to 90 percent of a window with input if you want a long reply, though this is guidance, not a rule from any provider.
Are these window sizes live? No. They are a labeled snapshot from November 2026. Providers raise limits over time; the snapshot note on the tool says to verify before budgeting or building.
Is my text sent anywhere to check it? No. Counting and comparison happen in your browser.
Does the window cover only my pasted text? No. The check covers your input only. A real conversation also spends tokens on the system prompt, earlier messages and the model's reply, so the practical budget is smaller than the headline window.
Conclusion
Too long for the context window is a simple, measurable problem: your text, counted in tokens, against a fixed budget that varies by model. When it does not fit, the fix is equally concrete: trim, split, or pick a larger window, and check again before you send. The Context Window Checker makes that a ten-second habit, run entirely in your browser. Once the text fits, the natural next question is what sending it will cost, which is covered in Per Token Pricing Explained for Non-Technical Readers. More guides like this one live in the AI and Prompt Tools guides.