# Metering and charging logic (Flex Plan)

> This section includes specific information about the metering & charging logic for AI units, depending on the used activity, and explains the AI unit cost per page for extractors, OCR engines, classifiers, and other components. More details about AI Units can be found [here](https://docs.uipath.com/ai-fabric/v0/docs/ai-units) and details about licensing can be found [here](https://docs.uipath.com/automation-cloud/docs/about-licensing).

This section includes specific information about the metering & charging logic for AI units, depending on the used activity, and explains the AI unit cost per page for extractors, OCR engines, classifiers, and other components. More details about AI Units can be found [here](https://docs.uipath.com/ai-fabric/v0/docs/ai-units) and details about licensing can be found [here](https://docs.uipath.com/automation-cloud/docs/about-licensing).

:::tip
* For licensing information for modern projects, check the [Metering and charging logic](https://docs.uipath.com/document-understanding/automation-cloud/latest/user-guide/metering-charging-logic) page from the Document
Understanding<sup>TM</sup> User Guide for Modern Experience.
* To track your AI units consumption at organization and tenant level, check the [AI units consumption overview](https://docs.uipath.com/document-understanding/automation-cloud/latest/classic-user-guide/ai-units-consumption-overview#%5Bpreview%5D-ai-units-consumption-overview) dashboard pages.
* To track AI units consumption for Document Understanding and AI Center projects, check the [IxP AI Unit consumption dashboard](https://docs.uipath.com/document-understanding/automation-cloud/latest/classic-user-guide/document-understanding-ai-units-consumption#ixp-ai-unit-consumption-dashboard) page.
:::
:::note
The charges apply per extracted page and per extraction method, meaning that, for example, both Form Extractor and Machine Learning Extractor are run, then the charges would be 1.2 AI units.
:::
:::note
For training costs, check the [AI units](https://docs.uipath.com/ai-center/automation-cloud/latest/user-guide/ai-units) page from the AI Center guide.
:::

| **Digitization** | **AI unit cost per processed page** |
| --- | --- |
| **UiPath Document OCR** *  * Requires a valid DU license | 0 |
| **Extended Languages OCR** * * Requires a valid DU license | 0 |
| **OCR for Chinese Japanese Korean** *   * Requires a valid DU license  * Runs only on a CPU VM | 0 |
| **Omnipage OCR** | 0 |
| **Tesseract OCR** | 0 |
| **Microsoft OCR** | 0 |
| **Microsoft Azure Computer Vision OCR** *  * Requires external license, consumption varies by provider | 0 |
| **Google Cloud Vision OCR** *  * Requires external license, consumption varies by provider | 0 |

| **Classification** | **AI unit cost per classified page** |
| --- | --- |
| Keyword Classifier | 0 |
| Intelligent Keyword Classifier | Applicable per page range* |
| Machine Learning Classifier | Applicable per page range* |
| Customer-Managed third party Classifier | 0.1 |

The extraction for **Keyword Classifier** is free, while for **Intelligent Keyword Classifier** and **ML Classifier** the following costs are applied:

| **Document Pages** | **AI Units Needed** |
| --- | --- |
| 1-25 | 0 |
| 26-50 | 1 |
| 51-75 | 2 |
| 76-100 | 3 |
| 101-125 | 4 |
| 125+ | 5 |

:::note
Classification charges are capped at maximum 5 units per document.
:::

| **Extraction** | **AI unit cost per processed page** |
| --- | --- |
| RegEx Extractor | 0 |
| Form Extractor | 0.2 |
| Machine Learning Extractor | 1* |
| Forms AI | 1 |
| Customer-Managed third party Extractor | 0.1 |

:::note
The **Machine Learning Extractor** consumes one AI unit/processed page, even if the extracted information is not to be found on that page.
:::

| **Other Components** | **AI unit cost per processed page** |
| --- | --- |
| Validation Station | 0 |
| Classification Station | 0 |
| Taxonomy Manager | 0 |

:::note
For further pricing-related questions, please contact our sales team.
:::

## Generative features

Depending on the version of the activity package you are using, there are slight differences related to AI units consumption. The consumption models are detailed in the sections that follow.

:::note
Generative prelabeling does not consume AI Units when:
* calling a public endpoint from a session hosted on Automation Cloud
* calling a skill deployed in Automation Cloud™ from a Document Manager session
hosted on Automation Cloud Generative prelabeling consumes AI Units when:
* calling a public endpoint from a session hosted on Automation Suite
* calling a skill deployed in Automation Suite from a Document Manager session
hosted on Automation Cloud
:::

### Activities version 24.12-preview and newer

This consumption is applied when using `PredefinedGenerative` projects with the following::

* IntelligentOCR newer than **6.23.2-preview**.
* DocumentUnderstanding.Activities newer than **2.13.2-preview**.
* Document Understanding API v1.1.

Consumption:

* **1 AI Unit** per processed page (includes Generative Classification and Generative Extraction)
  :::note
  When enabled, **Generative Validation** adds **1 AI Unit**, bringing the total consumption to **2 AI Units** per processed page.
  :::

### Activities version older than 24.12-preview

This consumption model is applied when using:

* IntelligentOCR up to **6.23.2-preview** with `PredefinedGenerative` projects;
* DocumentUnderstanding.Activities up to **2.13.2-preview** with `PredefinedGenerative` projects;
* Document Understanding API v1.0 with `Predefined` projects.

AI Units consumption for generative features in activity versions older than 24.12-preview is detailed in the following table.

| Generative feature | Consumed AI units |
| --- | --- |
| Generative Classifier | 0.2 per operation |
| Generative Extraction | 1.2 per operation |
| Generative Validation | 1 per operation |

## Rest API metering and charging logic

This section includes specific information about the metering & charging logic for AI Units, depending on the used capability, and explains the AI Unit cost per page for APIs. Find more details about AI Units [here](https://docs.uipath.com/ai-fabric/v0/docs/ai-units), and details about licensing, [here.](https://docs.uipath.com/automation-cloud/docs/about-licensing)

* Digitization — 0.2 AI Units/page
* Extraction — 1 AI Unit/page
* Classification — Applicable per page range*

*The consumption for Classification is applicable per page range as follows:

| **Document Pages** | **AI Units Needed** |
| --- | --- |
| 1-25 | 0 |
| 26-50 | 1 |
| 51-75 | 2 |
| 76-100 | 3 |
| 101-125 | 4 |
| 125+ | 5 |

:::note
Classification charges are capped at maximum five units per documents.
:::
