Skip to main content
Datalab implements limits to ensure fair usage and maintain service quality. This guide covers file size limits, page limits, and rate limiting.

File Size Limits

Page Limits

For documents exceeding these limits, use the page_range parameter to process in segments:

Rate Limits

Request Rate Limit

When you exceed request rate limits, you’ll receive a 429 response. The SDK handles retries automatically. For raw API calls, implement retry logic:

Page Concurrency Limit

In addition to request rate limits, Datalab enforces a limit on the total number of pages being processed concurrently across all your requests. Most workloads will not hit this limit. It primarily affects high-volume workloads with longer-running requests — for example, large or complex documents processed in accurate mode with additional features enabled — or extremely high-volume workloads. Such sustained workloads would benefit from an enterprise agreement or a batch job that we orchestrate for you. Contact support@datalab.to to discuss your requirements. This limit differs from request rate limits in two important ways:
  1. It is not time-bound. It limits the number of pages actively being processed at any given moment, not the number of requests per minute.
  2. It is enforced during processing, not at submission. You will not receive a 429 response when submitting a document. Instead, the result will return with success set to false and an error message:
Because this limit is not enforced at submission time, you won’t get an HTTP error when submitting. Always check the success field in your results. If you’re polling for results, back off and wait for in-flight requests to complete before submitting more.

Enterprise Limits

Custom limits are available for enterprise plans:
  • Higher file size limits
  • Increased rate limits
  • Priority processing
See pricing for details, or contact support to discuss your requirements.

Next Steps

Batch Processing

Process multiple documents efficiently in batch.

Error Codes

Understand HTTP error codes and subscription errors.

Billing

Learn about per-page pricing and usage monitoring.

Webhooks

Receive notifications when processing completes instead of polling.