> ## 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

> Change your billing details and view your current spend from the Astro UI.

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.

## View billing details

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.
* **Current Plan** shows what plan you're on, along with the major features for that plan.
* **Payment** shows your payment information.
* **Policies** lets you set your Astro AI spending cap.
* **Resources** shows your invoices, usage breakdown, and credits.

<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 [support@astronomer.io](mailto:support@astronomer.io).

## View total spend

In the Astro UI, go to **Settings** > **Billing**. The **Current Billing Cycle** section contains high level information about your total Astro spend.

* **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

1. In the Astro UI, go to **Settings** > **Billing**.
2. Go to the **Resources** section.
3. Click **Invoices**.

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

1. In the Astro UI, go to **Settings** > **Billing**.
2. Go to the **Resources** section.
3. Click **Usage**.

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.

1. In the Astro UI, go to **Settings** > **Billing**.
2. Go to the **Resources** section.
3. Click **Commits & Credits**.

## Cancel your plan

<Tabs>
  <Tab title="Pay-as-you-go">
    <Warning>If you cancel your Astro plan, all Deployments are deleted immediately. You can reactivate your Organization at any time.</Warning>

    Only Organization Owners can cancel a plan.

    1. In the Astro UI, go to **Settings** > **Billing** > **Plans**.
    2. Click **Cancel your Astro plan...** and follow the prompts to confirm.

    You can also cancel your plan by emailing [support@astronomer.io](mailto:support@astronomer.io).
  </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="Annual contract">
    Contact your Astronomer account team or [support@astronomer.io](mailto:support@astronomer.io) for further assistance.
  </Tab>
</Tabs>
