# Monitoring account resource usage #

Some service plans charge for compute usage and other types of resource usage\. If you are the IBM Cloud account owner or administrator, you can monitor the resources usage to ensure the limits are not exceeded\.

For Lite plans, you cannot exceed the limits of the plan\. You must wait until the start of your next billing month to use resources that are calculated monthly\. Alternatively, you can [upgrade to a paid plan](https://dataplatform.cloud.ibm.com/docs/content/wsj/admin/upgrade.html)\.

For most paid plans, you pay for the resources that the tools and processes that are provided by the service consume each month\.

To see the costs of your plan, log in to IBM Cloud, open your service instance from your IBM Cloud dashboard, and click **Plan**\.

<!-- <ul> -->

 *  [Capacity unit hours (CUH) for compute usage](https://dataplatform.cloud.ibm.com/docs/content/wsj/admin/monitor-resources.html?context=cdpaas&locale=en#compute)
 *  [Resource units for foundation model inferencing](https://dataplatform.cloud.ibm.com/docs/content/wsj/admin/monitor-resources.html?context=cdpaas&locale=en#rus)
 *  [Monitor monthly billing](https://dataplatform.cloud.ibm.com/docs/content/wsj/admin/monitor-resources.html?context=cdpaas&locale=en#billing)

<!-- </ul> -->

## Capacity unit hours (CUH) for compute usage ##

Many tools consume compute usage that is measured in capacity unit hours (CUH)\. A capacity unit hour is a specific amount of compute capability with a set cost\.

### How compute usage is calculated ###

Different types of processes and different levels of compute power are billed at different rates of capacity units per hour\. For example, the hourly rate for a data profiling process is 6 capacity units\.

Compute usage for Watson Studio is charged by the minute, with a minimum charge of 10 minutes (0\.16 hours)\. Compute usage for Watson Machine Learning is charged by the minute with a minimum charge of one minute\.

Compute usage is calculated by adding the minimum number of minutes billed for each process plus the number of minutes the process runs beyond the minimum minutes, then multiplying the total by the capacity unit rate for the process\.

The following table shows examples of how the billed CUH is calculated\.

<!-- <table> -->

| Rate       | Usage time | Calculation               | Total CUH billed                                           |
| ---------- | ---------- | ------------------------- | ---------------------------------------------------------- |
| 1 CUH/hour | 1 hour     | 1 hour \* 1 CUH/hour      | 1 CUH                                                      |
| 2 CUH/hour | 45 minutes | 0\.75 hours \* 2 CUH/hour | 1\.5 CUH                                                   |
| 6 CUH/hour | 5 minutes  | 0\.16 hours \* 6 CUH/hour | 0\.96 CUH\. The minimum charge for Watson Studio applies\. |
| 6 CUH/hour | 30 minutes | 0\.5 hours \* 6 CUH/hour  | 3 CUH                                                      |
| 6 CUH/hour | 1 hour     | 1 hour \* 6 CUH/hour      | 6 CUH                                                      |

<!-- </table ""> -->

### Processes that consume capacity unit hours ###

Some types of processes, such as AutoAI and Federated Learning, have a single compute rate for the runtime\. However, with many tools you have a choice of compute resources for the runtime\. The notebook editor, Data Refinery, SPSS Modeler, and other tools have different rates that reflect the memory and compute power for the environment\. Environments with more memory and compute power consume capacity unit hours at a higher rate\.

This table shows each process that consumes CUH, where it runs, and against which service CUH is billed, and whether you can choose from more than one environment\. Follow the links to view the available CUH rates for each process\.

<!-- <table> -->

| Tool or Process                                       | Workspace | Service that provides CUH               | Multiple CUH rates? |
| ----------------------------------------------------- | --------- | --------------------------------------- | ------------------- |
| [Notebook editor](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/notebook-environments.html)                                   | Project   | Watson Studio, Analytics Engine (Spark) | Multiple rates      |
| [Invoking the machine learning API from a notebook](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/notebook-environments.html#wml) | Project   | Watson Machine Learning                 | Multiple rates      |
| [Data Refinery](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/spark-dr-envs.html)                                     | Project   | Watson Studio                           | Multiple rates      |
| [SPSS Modeler](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/spss-envs.html)                                      | Project   | Watson Studio                           | Multiple rates      |
| [RStudio IDE](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/rstudio-envs.html)                                       | Project   | Watson Studio                           | Multiple rates      |
| [AutoAI experiments](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/run-autoai.html)                                | Project   | Watson Machine Learning                 | Multiple rates      |
| [Decision Optimization experiments](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/run-decisionopt.html)                 | Spaces    | Watson Machine Learning                 | Multiple rates      |
| [Running deployments](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/run-cuh-deploy-spaces.html)                               | Spaces    | Watson Machine Learning                 | Multiple rates      |
| [Profiling](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/environments-parent.html#profiling)                                         | Project   | Watson Studio                           | One rate            |
| [Synthetic Data Generator](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/synthetic-envs.html)                          | Project   | Watson Studio                           | One rate            |

<!-- </table ""> -->

### Monitoring compute usage ###

You can monitor compute usage for all services at the account level\. To view the monthly CUH usage for a service, open the service instance from your IBM Cloud dashboard and click **Plan**\.

You can also monitor compute usage in a project on the **Environments** page on the **Manage** tab\.

To see the total amount of capacity unit hours that are used and that are remaining for Watson Studio and Watson Machine Learning, look at the **Environment Runtimes** page\. From the navigation menu, select **Administration > Environment runtimes**\. The **Environment Runtimes** page shows details of the [CUH used by environments](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/track-runtime-usage.html#track-account)\. You can calculate the amount of CUH you use for data flows and profiling by subtracting the amount used by environments from the total amount used\.

## Resource units for foundation model inferencing ##

Calling a foundation model to generate output in response to a prompt is known as inferencing\. Foundation model inferencing is measure in resource units (RU)\. Each RU equals 1,000 tokens\. A token is a basic unit of text (typically 4 characters or 0\.75 words) used in the input or output for a foundation model prompt\. For details on tokens, see [Tokens](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/fm-tokens.html)\.

Resource unit billing is based on the rate of the foundation model class multipled by the number of tokens\. Foundation models are classified into three classes\. See [Resource unit metering](https://dataplatform.cloud.ibm.com/docs/content/wsj/getting-started/wml-plans.html#ru-metering)\.

Note: You do not consume tokens when you use the generative AI search and answer app for this documentation site\.

### Monitoring token usage for foundation model inferencing ###

You can monitor foundation model token usage in a project on the **Environments** page on the **Manage** tab\.

## Monitor monthly billing ##

You must be an IBM Cloud account owner or administrator to see resource usage information\.

To view a summary of your monthly billing, from the navigation menu, choose **Administration > Account and billing > Billing and usage**\. The IBM Cloud usage dashboard opens\. To view the usage for each service, in the **Usage summary** section, click **View usage**\.

## Learn more ##

<!-- <ul> -->

 *  [Choosing compute resources for running tools in projects](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/environments-parent.html)
 *  [Upgrade services](https://dataplatform.cloud.ibm.com/docs/content/wsj/admin/upgrade.html)
 *  [Environments compute usage](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/track-runtime-usage.html#track-account)
 *  [Watson Studio offering plans](https://dataplatform.cloud.ibm.com/docs/content/wsj/getting-started/ws-plans.html)
 *  [Watson Machine Learning plans and compute usage](https://dataplatform.cloud.ibm.com/docs/content/wsj/getting-started/wml-plans.html)

<!-- </ul> -->

**Parent topic:**[Managing the platform](https://dataplatform.cloud.ibm.com/docs/content/wsj/console/wdp_admin_console.html)

<!-- </article "role="article" "> -->