Skip to content

Context Window

The maximum number of tokens a model can consider at once; content beyond it is truncated or forgotten.

Modern models range from around 8K to over 1M tokens. A larger window lets you pass whole documents or codebases, but filling it costs more and can dilute the model's focus, so send only what's relevant.

Related resources