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

# Manage Astro billing

Astro meters and bills based on consumption of cloud resources associated with clusters, Deployments, and workers. Pricing is charged at an hourly rate, but is measured by the second. See [Pricing](https://www.astronomer.io/pricing/) for complete pricing and billing details.

You can configure payment information and check your total Astro spend from the Astro UI so that you don't go over your budget for running Airflow.

<Tip>
  **A new Astro UI is here**

  Astronomer has redesigned the Astro UI. Try the new experience and switch your instructions using the **New Astro UI** and **Legacy UI** tabs on this page. Your selection is remembered across the docs.
</Tip>

## View billing details

<Tabs>
  <Tab title="New Astro UI" language="astro-next-ui">
    In the Astro UI, go to **Settings** > **Billing**. The **Billing** page is organized into sections, including:

    * **Current Billing Cycle** shows your total spend for the current billing cycle.
    * **Payment** shows your payment information.
    * **Resources** shows your invoices, usage breakdown, and credits.
  </Tab>

  <Tab title="Legacy UI" language="legacy-ui">
    In the Astro UI, click **Organization Settings**, then click **Billing**. The **Billing** menu includes the following tabs for tracking your payments:

    * **Overview** shows your current payment information and your total spend for the current billing cycle.
    * **Invoices** shows a breakdown of charges for current and previous billing cycles.
    * **Usage** shows your spend over time for each billable Airflow component.
  </Tab>
</Tabs>

<Info>Astro users on the Enterprise plan can view a detailed billing breakdown in their [Organization Dashboard](/docs/astro/organization-dashboard#cost-breakdown).</Info>

## Update billing details

To add or update your payment details, email [billing@astronomer.io](mailto:billing@astronomer.io).

## View total spend

<Tabs>
  <Tab title="New Astro UI" language="astro-next-ui">
    In the Astro UI, go to **Settings** > **Billing**. The **Current Billing Cycle** section contains high level information about your total Astro spend.
  </Tab>

  <Tab title="Legacy UI" language="legacy-ui">
    In the Astro UI, click **Organization Settings**, then click **Billing**. The **Overview** page contains high level information about your total Astro spend.
  </Tab>
</Tabs>

* **Accrued charges** is the total amount you've spent on Astro resources for the current billing cycle before trial credits and discounts are applied.
* **Balance due** is the total amount you owe for the current billing cycle after trial credits and discounts are applied. If you're on a trial, this is also where you can view how many credits you have left.

## View invoices

<Tabs>
  <Tab title="New Astro UI" language="astro-next-ui">
    1. In the Astro UI, go to **Settings** > **Billing**.
    2. Go to the **Resources** section.
    3. Click **Invoices**.
  </Tab>

  <Tab title="Legacy UI" language="legacy-ui">
    1. In the Astro UI, click **Organization Settings**, then click **Billing**.
    2. Click **Invoices**.
  </Tab>
</Tabs>

By default, the Astro UI shows a draft invoice for your current billing cycle.

* Each **Charge** is an Astro component that you used at some point in the billing cycle. Note that your worker resources are charged separately from the Deployments they run on and each other. For example, a Deployment with two worker queues will appear as three separate charges in your invoice.
* **Quantity** represents the number of hours you ran a given Astro component.

<Info>The **Billing** page updates every hour with your total spend in the previous complete hour. For example, at 10:00 AM, the page updates with your spend from 8:00 AM - 9:00 AM on that same day. If your spending metrics don't look accurate based on recent usage, wait until the next complete hour for the page to update.</Info>

## View component usage by date

<Tabs>
  <Tab title="New Astro UI" language="astro-next-ui">
    1. In the Astro UI, go to **Settings** > **Billing**.
    2. Go to the **Resources** section.
    3. Click **Usage**.
  </Tab>

  <Tab title="Legacy UI" language="legacy-ui">
    1. In the Astro UI, click **Organization Settings**, then click **Billing**.
    2. Click **Usage**.
  </Tab>
</Tabs>

Each chart on this page shows your different types of usage over the last 30, 60, or 90 days for worker, compute, Deployments, and dedicated clusters. For a particular usage type, the chart shows combined usage for all instances of a given component type across your Organization. Therefore, it's possible to have more than 24 hours of usage for a given day. For example, if you have two Deployment with Medium Schedulers running for 24 hours in a day, the usage chart will show that your total usage for the day was 48 hours.

## View your credits

You can check your available credit balance and total credit consumption in the Astro UI. This includes [Astro Trial](/docs/astro/trial) credits as well as any other credits you might have accrued during your time using Astro.

<Tabs>
  <Tab title="New Astro UI" language="astro-next-ui">
    1. In the Astro UI, go to **Settings** > **Billing**.
    2. Go to the **Resources** section.
    3. Click **Commits & Credits**.
  </Tab>

  <Tab title="Legacy UI" language="legacy-ui">
    1. In the Astro UI, click **Organization Settings**, then click **Billing**.
    2. Click **Commits and Credits**.
  </Tab>
</Tabs>

## Cancel your plan

<Tabs>
  <Tab title="Pay-as-you-go">
    To cancel your plan, email [billing@astronomer.io](mailto:billing@astronomer.io).

    <Info>If you cancel your Astro plan, all Deployments are deleted immediately but your Organization can be reactivated at any time.</Info>
  </Tab>

  <Tab title="AWS marketplace subscription">
    You can cancel your Astro subscription from the [AWS management console](https://docs.aws.amazon.com/marketplace/latest/buyerguide/cancel-subscription.html#cancel-saas-subscription).
  </Tab>

  <Tab title="Azure marketplace subscription">
    To cancel your Astro subscription, delete the Astro resource [in the Azure portal](https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/manage-resources-portal#delete-resources). Make sure to delete all Deployments before deleting the Astro resource.
  </Tab>

  <Tab title="Annual contract">
    Reach out to your point of contact at Astronomer or [billing@astronomer.io](mailto:billing@astronomer.io) for further assistance.
  </Tab>
</Tabs>
