# Document processing limits

> Frequently asked questions about the field value, token, and page limits of IXP in Flow, which depend on the LLM that you connect, and what happens when a document exceeds them.

## Is there a limit on the number of field values for each document?

No fixed limit applies. The limit depends on the extraction model. If a document needs more field values than the model can return, the model reaches its token limit, even when the document is within the page limit of the model. In that case, set the **Extraction strategy** to **Advanced** to handle more field values. For details, check [Document processing limits](configuring-the-model.md#document-processing-limits).

## What are the page and field value limits?

The limits depend on the LLM that you connect:

* **Pages**: IXP sends one image for each page, so the number of images that a model accepts in one request is also its page limit.
* **Field values**: Token limits produce incomplete or empty predictions at approximately 1,000 to 1,200 field values per document.

For the values, check [Limits](llm-requirements.md#limits).

## What happens when limits are exceeded?

If token limits are exceeded, predictions may be incomplete or empty regardless of the number of pages. At runtime, when the token limit is exceeded, the API response returns occurrence and extraction confidence values of 0.

If a document exceeds the page limit of the model when you use the **Standard** extraction strategy, the pages above the limit are not processed. The **Advanced** strategy splits a document into windows of pages, so it can process documents that exceed the page limit of the model. For details, check [Document processing limits](configuring-the-model.md#document-processing-limits).
