Skip to main content
This page covers credit consumption for the ADE v1 APIs. For plans and billing, see Plans & Billing.

Credit Costs

The credit consumption is determined by the specific API endpoint called.

Credit Costs for the Parse APIs

This section explains credit use for these APIs:

Documents

The number of credits used to parse a document is based on the number of pages and the features used in parsing, as shown in the following table.

Spreadsheets

The number of credits used to parse a spreadsheet is based on the number of sheets and embedded images. For supported spreadsheet formats, see Supported File Types. Example: A spreadsheet with 1 sheet and 2 embedded images:
  • Base cost: 1 credit (sheet) + 6 credits (2 images) = 7 credits
  • With ZDR enabled: 7 credits (base) + 1 credit (sheet) + 2 credits (2 images) = 10 credits

Credit Costs for the Extract API

This section explains credit use for these APIs: The number of credits used to extract data is based on both the number of input characters and output characters, and is rounded up to the nearest tenth decimal place. The same credit costs apply whether you extract data synchronously with the API or asynchronously with the ADE Extract Jobs API. Formula Here is the formula used to calculate the credit cost:

Sample Cost for the Extract API

Input Characters Let’s say you run the API on a Markdown file with the following content. The file has 2,270 characters. Therefore, the number of input characters is 2,270.
Output Characters Let’s say you extract multiple fields from the Markdown file, and the following is the content in the extraction object returned by the API. The response has 475 characters. Therefore, the number of output characters is 475.
Calculate the Total Now that you have your input and output character counts, you can calculate the credit cost:

Credit Costs for the Build Extract Schema API

This section explains credit use for this API: The number of credits used to build an extraction schema is based on both the number of input characters and output characters, and is rounded up to the nearest tenth decimal place. Formula Here is the formula used to calculate the credit cost:

Sample Cost for the Build Extract Schema API

Let’s say you have an existing schema built from two bank statements. You want to add and remove some fields in the schema, so you call the API to refine the schema. Input Characters The API includes the following parameters. Output Characters Running the API call generates the following updated schema. Calculate the Total Now that you have your input and output character counts, you can calculate the credit cost.

Credit Costs for the Classify API

This section explains credit use for this API: The number of credits used to classify a document is based on the number of pages, and is rounded up to the nearest tenth decimal place. Formula Here is the formula used to calculate the credit cost:
Example: A 10-page document costs 10 × 0.5 = 5.0 credits.

Credit Costs for the Section API

This section explains credit use for this API: The number of credits used to section a document is based on both the number of input characters and output characters, and is rounded up to the nearest tenth decimal place. Formula Here is the formula used to calculate the credit cost:

Credit Costs for the Split API

This section explains credit use for this API: The number of credits used to split documents is based on the number of input characters, and is rounded up to the nearest tenth decimal place. Formula Here is the formula used to calculate the credit cost: