> ## Documentation Index
> Fetch the complete documentation index at: https://docs.auriko.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# context_length_exceeded

> HTTP 400 — Token count exceeds the model's context window.

## HTTP status

`400 invalid_request_error`

## Typical cause

The combined prompt plus requested output tokens exceeds the target model's context window.

## Resolution

Shorten the prompt, reduce `max_tokens`, or switch to a model with a larger context window.
