AI Glossary

What is Context Window?

The context window is the maximum amount of text (measured in tokens) that an AI language model can process in a single interaction, including both the input prompt and the generated output. Larger context windows allow models to handle longer documents, maintain conversation history, and process more information at once. Context window sizes have grown dramatically: GPT-3 supported 4K tokens, while models in 2026 support up to 2M tokens (Gemini) and 1M tokens (Claude). Larger contexts enable use cases like full codebase analysis, book-length document processing, and extended conversations. However, model performance can degrade with very long contexts ("lost in the middle" phenomenon).
Related Terms
Related Articles
Enterprise AI context gap: 57% report confident wrong answers from missing context, fix still in development Startup Battlefield 200 applications officially close in 3 days This could be Windows’ M1 moment — but expect it to cost a ton Startup Battlefield 200 applications close in days: Apply before May 27 Gemini is in danger of going full Copilot
Frequently Asked Questions

What is a context window?

The context window is the maximum number of tokens an AI model can process at once, including your input and the model response. Larger windows allow processing more information.

How big are modern context windows?

As of 2026, leading models offer context windows from 128K to 2M tokens. Gemini supports 2M, Claude supports 1M, and GPT-5 supports 256K tokens.

All Glossary Terms
Large Language ModelRetrieval-Augmented GenerationFine-TuningTransformerPrompt EngineeringHallucinationTokenEmbeddingVector DatabaseInferenceGPTDiffusion ModelReinforcement LearningMultimodal AIAgentic AIModel Context ProtocolTool UseChain-of-ThoughtDistillationQuantizationMixture of ExpertsLoRARLHFTemperatureZero-Shot / Few-ShotVibe Coding