Context window

The maximum amount of text, counted in tokens, that a model can take in and produce in a single request.

Last updated: · Markdown version

How to apply it in prompts

Use this concept to reduce ambiguity and improve consistency. If you need strict formatting, combine it with a JSON guide and a per-model template.

What it means
Copy-paste example
I have a long document. Below is only the section relevant to this task.

Section:
"""[paste the excerpt, not the whole document]"""

Task: [what to do with this section]
If you need another part of the document, tell me which one instead of guessing.
Opens the analyzer with the prompt prefilled.
Open in Promptea
FAQ
What happens when I hit the context limit?
The model either truncates earlier content or returns an error, depending on the product. Stay well under the limit by being selective about what you include.
Is a bigger context window always better?
No. It lets you include more, but more text can dilute attention and raises cost and latency. Include what the task needs, not everything you have.