Skip to main content

Fast Mode

Fast mode bypass reconstruction and ocr on your document, greatly accelerating parsing.

The Markdown output will not be generated.

Fast mode is billed .1 cent per page, but at least .3 cent per document.

To use the fast mode, set fast_mode to True.

In Python:
parser = LlamaParse(
  fast_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 'fast_mode="true"' \
  -F 'file=@/path/to/your/file.pdf;type=application/pdf'