# How metering works?

With metered billing, you will be charged based on the usage of AI services you requested during the billing cycle. Your usage is calculated in terms of units and is evaluated using analysis types and content you used in an operation.

### Textual AI

**Analysis types:** sentiment-real, sentiment-simple, spam-detection, topic, intention\
**1 unit equals 500 Unicode characters.**\
\
\&#xNAN;***Operation with one analysis type and multiple contents***\
If you send a request with analysis type `sentiment-real` and contents containing **300** and **700** text characters, you will be charged with a total sum of **1000** characters which is a total of **2** units on Textual AI's `sentiment-real`.

***Operation with multiple analysis types and multiple contents***\
If you send a request with analysis types `sentiment-real, intention` and contents containing **300** and **700** text characters, you will be charged with a total sum of **1000** characters which is a total of **2** units on each Textual AI's `sentiment-real` and `intention`.\
\
\&#xNAN;***Two operations with same analysis type but different contents***\
If you send two requests containing **300** text characters content and **700** text characters content respectively, with same analysis type `sentiment-real`: \
&#x20;   **1** units for the first request (**300**);\
&#x20;   **2** units for the second request (**700**);\
you will be charged for a total of **3** units on Textual AI's `sentiment-real`.

### Visual AI

**Accepted values:** face-id, object-id, activity-id, logo-id, caption\
**1 unit equals 1 png or jpg image.**\
\
\&#xNAN;***Operation with one analysis type and multiple contents***\
If you send a request with analysis type `face-id` and contents of **10** images, you will be charged for **10** units on Visual AI's `face-id`.\
\
\&#xNAN;***Operation with multiple analysis types and multiple contents***\
If you send a request with analysis types `face-id, object-id` and contents of **10** images, you will be charged for **10** units on each Visual AI's `face-id` and `object-id`.

### Motion AI <a href="#textual-ai" id="textual-ai"></a>

**Analysis types:** face-id, object-id, activity-id, logo-id, caption\
**1 unit is 1 minute. Partial minutes are rounded up to the next minute.**\
\
\&#xNAN;***Operation with one analysis type and one content***\
If you send a request with analysis type `face-id` and content of **02:50:02**-length-video, you will be charged for **171** units on Motion AI's `face-id`.\
\
\&#xNAN;***Operation with multiple analysis types and one content***\
If you send a request with analysis types `face-id, object-id` and content of **02:50:02**-length-video, you will be charged for **171** units on each Motion AI's `face-id` and `object-id`.\
\
\&#xNAN;***Two operations with same analysis type but different contents***\
If you send two requests containing **02:50:02**-length-video content and **01:15:10**-length-video content respectively, with same analysis type `face-id`:\
&#x20;   **171** units for the first request (**02:50:02**);\
&#x20;   **79** units for the second request (**01:18:10**);\
you will be charged for a total of **250** units on Motion AI's `face-id`.

### Audial AI <a href="#textual-ai" id="textual-ai"></a>

**Accepted values:** sentiment-real, sentiment-simple, topic\
**1 unit is 1 minute. Partial minutes are rounded up to the next minute.**\
\
\&#xNAN;***Operation with one analysis type and one content***\
If you send a request with analysis type `sentiment-real` and content of **00:34:10**-length-audio, you will be charged for **35** units on Audial AI's `sentiment-real`.\
\
\&#xNAN;***Operation with multiple analysis types and one content***\
If you send a request with analysis types `sentiment-real, topic` and content of **00:34:10**-length-audio, you will be charged for **35** units on each Audial AI's `sentiment-real` and `topic`.\
\
\&#xNAN;***Two operations with same analysis type but different contents***\
If you send two requests containing **00:35:00**-length-audio content and **00:49:50**-length-audio content respectively, with same analysis type `sentiment-real`:\
&#x20;   **35** units for the first request (**00:35:00**);\
&#x20;   **50** units for the second request (**00:49:50**);\
you will be charged for a total of **75** units on Audial AI's `face-id`.

{% hint style="info" %}
You can login to [redflagai.co](https://www.redflagai.co/) and check usage from API dashboard.
{% endhint %}
