Skip to main content

Premium Mode

Premium mode leverages state-of-the-art multimodal models and heuristic text parsing techniques to extract text from the most complex documents with our best accuracy possible.

To use the premium mode, set premium_mode to True.

In Python:
parser = LlamaParse(
  premium_mode=True
)
Using the API:
curl -X 'POST' \
  'https://api.cloud.llamaindex.ai/api/parsing/upload'  \
  -H 'accept: application/json' \
  -H 'Content-Type: multipart/form-data' \
  -H "Authorization: Bearer $LLAMA_CLOUD_API_KEY" \
  --form 'premium_mode="true"' \
  -F 'file=@/path/to/your/file.pdf;type=application/pdf'