API and Resource Unit Consumption

Resource Units track usage of resources, such as text indexes, which reside in the Haven OnDemand system.

API Units track usage of APIs.

Resource Units

The total monthly resource unit cost is the total resource unit cost of all of your resources rounded up to the next integer.

The cost of an individual resource is calculated on an hourly basis. The cost of a resource for each hour is equal to the peak resource unit cost of that resource within that hour. A resource's monthly cost is the average of the hourly cost of that resource over that month.

Connector Resource Types

The resource unit cost of a Cloud Connector with a schedule is determined by the number of runs that would be made in a month. The cost per run is based on the maximum duration.

Maximum Duration

Runs per Resource Unit

Less than or equal to 20 minutes

300

Greater than 20 minutes and less than or equal to 1 hour

100

Greater than 1 hour and less than or equal to 6 hours

20

Greater than 6 hours and less than or equal to 1 day

5

All connector schedules are capped at 10 resource units.

If no schedule is specified then the resource unit cost is 0. This would be the case if you wanted to start your Connector manually though this will incur an API unit cost.

Text Index Resource Types

Text indexes use resource units based on the flavor type, and the amount of data.

Each text index flavor has a resource unit cost, which is the cost for each index component, determined by the maximum index size and specialization. When a text index exceeds the quota size for the index component, Haven OnDemand creates a new component for the text index, up to your total available units. You can also create additional text indexes up to your total available units.

API Units

For most APIs, usage is tracked for each call. For resource-intensive APIs, such as Speech Recognition and OCR Document, the API usage depends on the amount of data to process, as well as the number of calls that you make.

1 API unit if there is no schedule
70 API units when the maximum duration is less than or equal to 20 minutes
200 API units when the maximum duration is greater than 20 minutes and less than or equal to 1 hour
1200 API units when the maximum duration is greater than 1 hour and less than or equal to 6 hours
4800 API units when the maximum duration is greater than 6 hours and less than or equal to 1 day

Update Connector

1 API unit if the schedule is not changed or is removed
70 API units when the maximum duration of the new schedule is less than or equal to 20 minutes
200 API units when the maximum duration of the new schedule is greater than 20 minutes and less than or equal to 1 hour
1200 API units when the maximum duration of the new schedule is greater than 1 hour and less than or equal to 6 hours
4800 API units when the maximum duration of the new schedule is greater than 6 hours and less than or equal to 1 day

Start Connector

70 API units when the maximum duration is less than or equal to 20 minutes
200 API units when the maximum duration is greater than 20 minutes and less than or equal to 1 hour
1200 API units when the maximum duration is greater than 1 hour and less than or equal to 6 hours
4800 API units when the maximum duration is greater than 6 hours and less than or equal to 1 day

1. API unit costs are rounded down to the nearest integer. For example, if the total cost of your API call would be 1.5 or 1.75 API units, Haven OnDemand charges 1. However, the minimum cost for any API call is 1 API unit.

Analyze Media API

The Analyze Media API allows you to perform multiple Media Analytics API functions on the same input file. This API uses the media processing resources more efficiently than calling the APIs individually, and so the API cost is calculated according to the following rules:

For the first analytic: 0.5 API units for every second of media OR 0.5 API units for every image in a document.

For subsequent analytics: 0.25 API units for every second of media OR 0.25 API units for every image in a document.

For example, if you want to run Detect Scene Changes and Speech Recognition on a media file, the cost is 0.75 per second (that is, 0.5 + 0.25).

Note: API unit costs are rounded down to the nearest integer. For example, if the total cost of your API call would be 1.5 or 1.75 API units, Haven OnDemand charges 1. However, the minimum cost for any API call is 1 API unit.

Haven OnDemand uses cookies to enhance and improve the experience it provides. By continuing to use this site or pressing Continue,
we will assume that you accept receiving all cookies. If you would like to change which cookies are set, you can change your settings.