All glossary terms
conceptsbeginner

Context Window

The maximum number of tokens an LLM can process in a single input, determining conversation length.

In more detail

Context window defines how much text a model can consider simultaneously. Larger windows enable longer conversations and document processing. GPT-4 has 128K tokens, Claude has 200K, Gemini has 2M. Longer context windows enable more complex tasks but increase computational cost.

Examples

  • GPT-4: 128K tokens
  • Claude: 200K tokens
  • Gemini: 2M tokens
  • Llama 2: 4K tokens

Related terms

YOUR NEXT STEP

Checking your next step...