Skip to main content

Sync vs Async

The v2 APIs give you two ways to run parsing and extraction work:
  • Synchronous: Call Parse or Extract and get the result in the response.
  • Asynchronous: Create a Parse Job or Extract Job and collect the result when the job finishes.

Service Tiers

Every request runs on a service tier: priority or standard.
  • The tier controls the turnaround time, the credit consumption rate, and which rate limit the request draws from.
  • The tier does not change the supported file size or the number of pages allowed per file.
  • Synchronous requests always run on the priority tier.
  • Jobs run on the standard tier by default. Set the service_tier parameter to run a job on the priority tier.

Choose a Processing Mode and Service Tier

Use the table to choose the right call for your workload. Turnaround times are estimates, not guaranteed speeds. Rate limit values depend on your pricing plan; for the values and how each API meters usage, see Rate Limits. For per-page credit rates, see Credit Consumption.
Parse and Extract (synchronous)Parse Jobs and Extract Jobs (asynchronous)
Service tierPriorityStandard (default)
Best forInteractive workflows: a person or agent is waiting on the resultTime-sensitive work that a synchronous request can’t handle: larger documents, or when you don’t want to hold a connection openWork with no one waiting: automated pipelines, background agent steps, scheduled ingestion
How you get the resultInline in the responsePoll the job, or save the output to a URLPoll the job, or save the output to a URL
Estimated turnaround timeSeconds to minutesSeconds to minutesMinutes to hours
Timeout limit475 seconds6 hours6 hours
Credit consumptionFull rateFull rateHalf the priority rate
Parse limits per request100 pages; 50 MiB6,000 pages; 1 GiB for PDFs, 50 MiB for images6,000 pages; 1 GiB for PDFs, 50 MiB for images
Parse rate limitPer-minute limitHourly limit; replenishes continuouslyHourly limit; resets each hour
Extract limits per requestNo input size limitNo input size limitNo input size limit
Extract rate limitBased on your plan and the input Markdown sizeNone: jobs are accepted immediately and paced internallyNone: jobs are accepted immediately and paced internally

Set the Service Tier

Parse and Extract do not accept the service_tier parameter. To run a Parse Job or an Extract Job on the priority tier, set the service_tier parameter when you create the job.

Confirm the Service Tier

To confirm which tier a request ran on, check metadata.billing.service_tier in the response. See Parse API Response and Extract API Response.