You have the document ready: a report, a chat transcript, a long contract, a chunk of a codebase. You paste it into a model, ask your question, and somewhere in the reply things go wrong, because part of what you sent never fitted in the model's context window in the first place. The frustrating part is that this failure is knowable in advance, in about ten seconds, before you send anything.

This guide shows how to check, using the free Context Window Checker on Ovatly. The tool measures your text in tokens and shows, for each model in its data table, how much of that model's window the text would fill, how many tokens remain, and whether it fits at all.

Contents

  • Quick answer
  • What the check measures, and what it does not
  • How to check your document, step by step
  • Worked example: a 12-token sentence against two windows
  • Reading the result
  • If it does not fit
  • Leave room for the reply
  • Limitations
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

Yes or no is a measurement, not a guess. Paste the exact text you plan to send into the Context Window Checker, click Check context fill, and read the bars: each model shows its window size, the percentage your text fills, and the spare tokens. A green fit with room to spare means send it. A red bar means it does not fit, and the tool tells you by how many tokens, so you can trim the text, split it into parts, or pick a model with a larger window. Either way, leave roughly 10 to 20 percent of the window empty, because your input is not the only thing the window has to hold.

What the check measures, and what it does not

The checker counts the text you paste, in tokens, using the GPT tokenizer (the o200k encoding). Two consequences follow. First, the count is a real measurement of your actual document, not an estimate from its word count, which matters because dense, technical or heavily formatted text does not convert to tokens at the same rate as plain prose. Second, counts for GPT models are exact, while fills for other model families are approximations, because those tokenizers slice text slightly differently.

What the check does not measure is everything else that will share the window: the system prompt, the earlier messages in the conversation, and the reply itself. The tool is explicit about this. So read its result as the size of your contribution, not the size of the whole conversation, and keep a margin for the rest.

How to check your document, step by step

  1. Paste the text you plan to send to a model into the Context Window Checker. Paste the whole thing, exactly as you intend to send it, including any instructions wrapped around it.
  2. Click Check context fill.
  3. Compare the fill bars: each model shows its window size, the percentage your text fills, and the spare tokens.
  4. Pick a model where the text fits with room left for the reply.

That is the whole procedure. The judgement sits in steps 3 and 4: not just whether a model can hold your text, but whether it can hold your text and still answer properly.

Worked example: a 12-token sentence against two windows

The tool's own example starts small, which is what makes it a useful scale marker. The sentence "Prompt engineering is the practice of writing instructions for AI models." is 12 tokens.

Against GPT-4o, with a window of 128,000 tokens, it fills 0.0094 percent and leaves 127,988 tokens spare. Against Gemini Flash, with a window of 1,000,000 tokens, it fills 0.0012 percent.

The percentages are tiny because real prompts are small next to modern windows; a full book chapter is where the bars start to matter. Your document sits somewhere on that scale. If it is a two-page brief, expect a small fill almost everywhere. If it is a book chapter, a merged transcript or a codebase extract, expect the bars to separate the models, and expect the smaller windows to be the ones that turn red.

Reading the result

Each bar gives you three numbers. The window size is the model's total budget from the snapshot table. The percentage is your text's share of it. The spare tokens are what remains for everything else the conversation needs.

The red bar deserves a second look rather than a shrug. When text does not fit, the tool states how many tokens you are over. A small overage is a trimming job: cut a few hundred tokens and recheck. A large overage is a strategy change: split the document, or move to a model whose window is bigger by an order of magnitude. The over-by number tells you which situation you are in before you start editing blindly.

If it does not fit

The tool's own advice lists three routes, and they cover nearly every case. Trim the text: cut the sections the model does not need for this task, and let the Prompt Shortener help if the bulk is wording rather than content. Split it into parts: send the document in sequence and work through it in stages, summarising as you go so later parts build on shorter notes instead of the full text. Or choose a model with a larger window, which the comparison bars make easy to spot.

What not to do is paste and hope. An over-limit paste does not fail loudly in every product; sometimes the start or the end of your document quietly stops being part of the conversation, and the reply reads as if the model skimmed. A ten-second check replaces that ambiguity with a number.

Leave room for the reply

A fit is not just your text inside the window. The model's answer is generated inside the same window, and a long, detailed reply needs thousands of tokens of its own. Add the system prompt and any earlier messages, and a document that fills 98 percent of a window leaves the conversation almost nothing to answer with.

As a rough habit, avoid filling more than about 80 to 90 percent of a window with input if you want a long reply. This is guidance, not a rule from any provider, and short factual answers need less. But when you are sending a document precisely because you want a thorough analysis back, plan for the analysis to take space.

Limitations

Window sizes come from a snapshot data table dated November 2026; providers change limits, so verify with the provider before relying on a figure. Token counts use the GPT tokenizer, so fills for other families are approximations. The check covers your input only, not the whole conversation it will join. And fitting is a size test, not a quality test: a document can fit and still be better handled in parts if you need careful attention paid to every section.

Common mistakes

  • Checking a sample instead of the real text. A representative page tells you the rate, not the total. Paste the full document you actually plan to send.
  • Forgetting the wrapper. Instructions, headings and formatting you add around the document are tokens too. Paste the text exactly as it will be sent.
  • Reading only the percentage. The spare-token figure is the one that decides whether a reply fits. A low percentage on a small window can still leave little room.
  • Ignoring a small overage. A few hundred tokens over is still over. Trim and recheck rather than sending and hoping the limit is soft.
  • Reusing an old result after editing. Any change to the document changes the count. Recheck the final version, not the draft you measured earlier.

FAQs

What happens when my 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, so the document you paste is not uploaded.

My text fits, but the conversation still ran out of room. Why? 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 near-full window can overflow once those are added.

Conclusion

Whether a document fits is a fact you can measure before sending, not a surprise to discover mid-conversation. Paste the real text, read the fill and the spare tokens, respect the red bars, and keep a margin for the reply. If the concept itself is new to you, the companion guide What Is a Context Window and How Much Text Fits in It? explains the window and its units in full. More guides in this area live in the AI and Prompt Tools guides.