Glossary

What is Context window?

Definition. A context window is the maximum amount of text, measured in tokens, that a language model can take into account at once, including the prompt, any supplied documents and its own response.

Context window in practice

Larger windows let a model work with long contracts or codebases, but filling them raises cost and can reduce accuracy on details buried in the middle. Good context engineering selects what the model needs instead of sending everything available.

Where iFortis Worldwide applies it

See Generative AI Development Services and LLM Apps for how this is used in client work.

Related terms

  • Token: A token is the unit of text, such as a word, part of a word or a punctuation mark, that a language model reads and writes, and it is the usual basis for measuring model usage and cost.
  • Context engineering: Context engineering is the design of what information an AI model is given at the moment it works: instructions, data, memory and tool results.
  • Retrieval-augmented generation (RAG): Retrieval-augmented generation is a technique in which an AI model is given relevant documents retrieved at the time of the question, so its answer is grounded in them.
  • Chunking: Chunking is the process of splitting long documents into smaller passages before they are embedded and indexed, so that a retrieval system can find and pass the most relevant parts to a model.

All glossary terms

Want these ideas applied to your business?

Start with a focused opportunity assessment. We find where AI creates measurable advantage and what it takes to get there.

Contact us Submit an RFQ