> ## Documentation Index
> Fetch the complete documentation index at: https://developer.upsun.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Monitor your billing information

> Manage your costs efficiently by viewing monthly spend estimates and setting spend alerts.

export const MoreIcon = () => <svg width="24px" height="24px" style={{
  display: 'inline',
  verticalAlign: 'middle'
}}>
    <title id="more-icon">More</title>
    <path d="M12 6.5C12.8284 6.5 13.5 5.82843 13.5 5C13.5 4.17157 12.8284 3.5 12 3.5C11.1716 3.5 10.5 4.17157 10.5 5C10.5 5.82843 11.1716 6.5 12 6.5Z" fill="current"></path>
    <path d="M12 13.5C12.8284 13.5 13.5 12.8284 13.5 12C13.5 11.1716 12.8284 10.5 12 10.5C11.1716 10.5 10.5 11.1716 10.5 12C10.5 12.8284 11.1716 13.5 12 13.5Z" fill="current"></path>
    <path d="M12 20.5C12.8284 20.5 13.5 19.8284 13.5 19C13.5 18.1716 12.8284 17.5 12 17.5C11.1716 17.5 10.5 18.1716 10.5 19C10.5 19.8284 11.1716 20.5 12 20.5Z" fill="current"></path>
  </svg>;

To help you manage costs related to your organization,
Upsun provides estimates for the current month and the next.

You can set billing alerts to ensure you don't overspend,
and track resource usage on each of your projects.

For details on costs, see the [Upsun pricing page](https://upsun.com/pricing/).

## Access your organization billing information

To access your organization billing information in the [Console](/docs/administration/web):

1. Navigate to your organization.
2. Open the user menu (your name or profile picture).
3. Click **Billing**.<br />
   The **Overview** tab is displayed.
   You can view your current month and next month estimates.

<img src="https://mintcdn.com/upsun-c9761871/7cK3KMJBgO7MXm_y/images/billing/organization-billing.png?fit=max&auto=format&n=7cK3KMJBgO7MXm_y&q=85&s=4e59025e64f98deec3ceac7604004abe" alt="Organization billing information in the Overview tab" width="2880" height="2852" data-path="images/billing/organization-billing.png" />

### Current month estimate

The [**Overview** tab](#access-your-organization-billing-information) shows an estimate of how much you may be charged at the end of this month.<br />
This estimate is based on:

* Your organization settings (user management settings, number of projects, potential add-ons, support SLA, etc.)
* Your resource allocation on each project

The estimate includes the history of changes made since the beginning of the month.
**It cannot be 100% accurate, as it is impossible to know exactly what your future usage will be.**

However, for maximum accuracy, the current month estimate includes the following underlying estimates, each with its own calculation:

<Tabs>
  <Tab title="User management estimate">
    The following formula is used to estimate how much user license and user management add-on fees may cost you this month: `unit price x prorated quantity`.

    | Item                | Description                                                                                       |
    | ------------------- | ------------------------------------------------------------------------------------------------- |
    | `unit price`        | A fixed unit price.                                                                               |
    | `prorated quantity` | An average of past changes and current settings, applied for all the remaining days in the month. |

    All items used for the calculation are displayed in the **Overview** tab.
  </Tab>

  <Tab title="Accumulated resource usage estimate">
    The resources consumed for builds, bandwidth, and log forwarding are accumulated resources.<br />
    The following formula is used to estimate how much accumulated resource usage may cost you this month: `current accumulation + (unit price x daily average x remaining days in the month)`.

    | Item                   | Description                                                                          |
    | ---------------------- | ------------------------------------------------------------------------------------ |
    | `current accumulation` | The amount of accumulated resources you have effectively used so far this month.     |
    | `unit price`           | A fixed unit price.                                                                  |
    | `daily average`        | An average based on the accumulated resource usage you've had over the last 30 days. |

    All items used for the calculation are displayed in the [**Overview** tab](#access-your-organization-billing-information).

    <Note>
      <h4>Monitor monthly traffic usage</h4>
      You can also access a summary of your monthly traffic usage under the "Traffic this month" section at the Project level inside [Console](https://console.upsun.com/).
    </Note>
  </Tab>

  <Tab title="Allocated resource usage estimate">
    The resources consumed by your applications and services (CPU, RAM, and storage) are allocated resources.<br />
    The following formula is used to estimate how much allocated resource usage may cost you this month: `unit price x prorated quantity`.

    | Item                | Description                                                                                       |
    | ------------------- | ------------------------------------------------------------------------------------------------- |
    | `unit price`        | A fixed unit price.                                                                               |
    | `prorated quantity` | An average of past changes and current settings, applied for all the remaining days in the month. |

    All items used for the calculation are displayed in the [**Overview** tab](#access-your-organization-billing-information).
  </Tab>
</Tabs>

### Next month estimate

From the [**Overview** tab](#access-your-organization-billing-information), you can also access an estimate for next month.

Like your [current month estimate](#current-month-estimate), it includes your organization settings and resource allocation on each project.
However, your next month estimate **does not include any history of changes**.

It is solely based on your current organization settings and resource allocation,
and shows what you may be charged if you don't make any changes until the end of next month.

The following formulas are used:

* `unit price x current allocation` to estimate how much user license, user management add-on fees,
  and allocated resources may respectively cost you next month.

* `unit price x daily average x 30 days` to estimate how much accumulated resources may cost you next month.

### Invoice

Your invoice provides definitive information on what you will be charged.
It is calculated at month-end close, and includes your actual organization settings and resource usage.

To access your current invoice and a history of past invoices, open the **Invoices** tab:

<img src="https://mintcdn.com/upsun-c9761871/7cK3KMJBgO7MXm_y/images/billing/invoices-tab.png?fit=max&auto=format&n=7cK3KMJBgO7MXm_y&q=85&s=a55af0a013d386eb698824c8c3853b05" alt="Invoices tab in the Console" width="493" height="115" data-path="images/billing/invoices-tab.png" />

## Manage billing alerts

<Info>
  <h4>Feature availability</h4>
  Billing alerts can only be set and received by the organization owner,
  users with the [**Manage Billing** permission](/docs/administration/users#organization-permissions),
  and identified billing contacts.
</Info>

### Set a billing alert

You can set billing alerts to receive an email when your [current month estimate](#current-month-estimate) reaches a defined threshold.

<Warning>
  <h4>Warning</h4>
  Current month estimates are computed once a day only.
  Therefore, email notifications can only be triggered once a day too.

  You may want to increase your billing alert threshold after receiving an email notification.
  However, if the new threshold is reached later on the same day,
  **you won't get notified until the following day**, when the current month estimate is computed again.
</Warning>

To set a billing alert on your organization:

1. Navigate to your organization.
2. Open the user menu (your name or profile picture).
3. Click **Billing**.<br />
4. In the **Overview** tab, click **Set alert**.
5. Enter a threshold.
6. Click **Create alert**.

### Edit a billing alert

To edit or delete a billing alert, click the billing alert button in the **Overview** tab:

<img src="https://mintcdn.com/upsun-c9761871/7cK3KMJBgO7MXm_y/images/billing/billing-alert-button.png?fit=max&auto=format&n=7cK3KMJBgO7MXm_y&q=85&s=4d357df30ad02c3951f4d60f6aeaeb77" alt="Billing alert button in the Console" width="222" height="56" data-path="images/billing/billing-alert-button.png" />

Change the monthly threshold and click **Save**, or click **Delete alert**.

To change the currency of your billing alerts, [contact support](/docs/core-concepts/get-support).

<Warning>
  <h4>Warning</h4>
  After Support changes the currency, your existing billing alerts are **not** automatically converted to the new currency.
  Edit your billing alerts to have correct amounts in the new currency.
</Warning>

### Monitor monthly traffic usage

You can also set up consumption alerts for your resource usage. To do so, click the Alert button in the "Traffic this month" block within [Console](https://console.upsun.com/):

<img src="https://mintcdn.com/upsun-c9761871/7cK3KMJBgO7MXm_y/images/billing/traffic-block.png?fit=max&auto=format&n=7cK3KMJBgO7MXm_y&q=85&s=98b1a35e080c1ea61099e5c210bcda12" alt="Access the alert settings from the traffic usage section" width="496" height="293" data-path="images/billing/traffic-block.png" />

This will open a modal, as shown below.

<img src="https://mintcdn.com/upsun-c9761871/7cK3KMJBgO7MXm_y/images/billing/alerts-modal.png?fit=max&auto=format&n=7cK3KMJBgO7MXm_y&q=85&s=04f91f4fb9411a7fc01ec13c0d4a74b7" alt="Set your alert notifications" width="1351" height="1016" data-path="images/billing/alerts-modal.png" />

Here you can configure usage thresholds for Origin bandwidth, Origin requests, CDN bandwidth and CDN requests (if applicable).

If a threshold is exceeded during the month, you’ll receive an email notification.

#### Monthly traffic alerts

For all projects where an alert has been defined and enabled, if monthly usage rises above the defined threshold, an email is sent to the same list of users who receive billing alerts:

* Organization owner
* Organization members with billing role
* Billing contact of the organization (if there is one)

Alerts are sent once a day, after the job that pulls usage data into Accounts has finished.
Once a threshold is crossed, we send a maximum of 3 alerts, on 3 consecutive days (1 per day). After this, alerts will stop.

## Track resource usage on a project

<Info>
  <h4>Feature availability</h4>
  This feature is available to users with the [**Manage Billing** permission](/docs/administration/users#organization-permissions) on the organization.
</Info>

You can track costs related to resource usage on a specific project in the [Console](/docs/administration/web).
To do so, after you've set or updated resources on your project:

1. Navigate to your organization.
2. Open the user menu (your name or profile picture).
3. Click **Billing**.<br />
   Your [current month estimate](#current-month-estimate) shows how much each project in your organization is expected to cost this month.
4. You can select a project to view resource allocation and usage details.<br />
   To do so, click **<MoreIcon /> More** next to it, and select **Project Billing**.<br />
   <img src="https://mintcdn.com/upsun-c9761871/7cK3KMJBgO7MXm_y/images/billing/project-billing.png?fit=max&auto=format&n=7cK3KMJBgO7MXm_y&q=85&s=4ed9cefb55dead5d6db4df2fed476c84" alt="Project billing information in the Overview tab" width="2880" height="3562" data-path="images/billing/project-billing.png" />

For information on resource-related costs, see the [Upsun pricing page](https://upsun.com/pricing/).
