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. Page counts are determined by the worker. Submission can succeed, but polling request_check_url returns HTTP 429 if processing would exceed your team’s page-concurrency limit:
The limit applies across the whole team and can be overridden for your team. A rejected request is not queued. Wait for earlier requests to finish, then submit the document again as a new request; polling the rejected request again will continue to return 429 while its result is available. Deleted or expired results return 404.

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.