PromptCorrectlyPromptCorrectly
StudioAI CoursesLibraryBlogPricingAbout
Log inStart free
PromptCorrectlyGLOSSARY · HOW MODELS WORK
Home/Glossary/Context window

What is Context window?

Also called: context length · context limit

The context window is the maximum amount of text (measured in tokens) a model can consider at once — your prompt, the conversation so far, and its own answer.

Every model has a limit on how much it can "see" at one time. Everything counts against it: the system prompt, every earlier message, the documents you pasted, and the answer being written. Modern models handle anywhere from tens of thousands to over a million tokens, but the limit is real — once you exceed it, the oldest content is dropped or the request fails.

Bigger isn't automatically better: models attend less reliably to the middle of very long inputs, and long prompts cost more and run slower. The practical rule is to include what changes the answer and cut what doesn't.

How to use it well
  1. Put the most important instructions at the start and the end of a long prompt.
  2. Summarise long earlier turns instead of re-pasting them.
  3. For big documents, paste the relevant sections, not the whole file.
Go deeper
Base LLM vs chat model
Related terms
TokenRAG (retrieval-augmented generation)LLM (large language model)All terms →

Use it right now

Ask our brain anything on the homepage — it remembers the whole conversation — or write a brief in the Studio and see the prompt it compiles to.

Ask the brainOpen the Studio
promptcorrectly.comFROM VAGUE INTUITION TO STRUCTURED INSIGHTBYOK · ANTHROPIC · OPENAI · GROK
PromptCorrectlyPromptCorrectly

The visual workspace for people who actually use AI. Built in the open, priced for humans, powered by your own keys.

Product
  • Studio
  • AI Courses
  • Library
  • Pricing
Resources
  • How it works
  • Templates
  • Community library
  • Repository
  • All 3,600 prompts
  • How to prompt correctly
  • Prompts for every field
  • AI glossary
Company
  • About
  • Contact
  • FAQ
  • Pricing
© 2026 PromptCorrectly · From vague intuition to structured insight.
TermsPrivacyRefundDisclaimerAcceptable useCookies