All Products
Search
Document Center

AnalyticDB:Billing methods

Last Updated:Mar 28, 2026

AnalyticDB for MySQL supports two billing methods: pay-as-you-go for short-term or variable workloads, and subscription for long-term, predictable usage. You can switch between them at any time from the console.

Choose a billing method

Pay-as-you-goSubscription
PaymentCharged after use; no upfront commitmentPaid upfront when you create the cluster
Best forShort-term usage, dev/test environments, unpredictable workloadsLong-term production workloads
CostStandard rates; release clusters when not needed to stop chargesLower rates for longer durations
FlexibilityRelease at any timeFixed term; can switch to pay-as-you-go with a partial refund

Pay-as-you-go billing granularity

Billing granularity depends on the edition:

EditionReserved resourcesOther billable items
Enterprise EditionHourly (fractions rounded up to 1 hour)Per minute
Basic EditionHourly (fractions rounded up to 1 hour)Per minute
Data Lakehouse EditionPer minutePer minute
Data Warehouse EditionHourly (fractions rounded up to 1 hour)Hourly (fractions rounded up to 1 hour)

Switch from pay-as-you-go to subscription

Important

After switching, you pay subscription fees upfront. Review the payable amount and expiration date in the console before completing the purchase.

  1. Go to the Clusters page and find your cluster.

  2. In the Actions column, click Switch to Subscription.

  3. Select a subscription duration. Review the expiration date and the payable amount.

  4. Click Buy Now and complete the payment.

Switch from subscription to pay-as-you-go

Important

Switching may result in a refund of subscription fees. The refund amount is calculated based on refund rules and is shown in the console before you confirm. After switching, pay-as-you-go rates apply immediately.

  1. Go to the Clusters page and find your cluster.

  2. In the Actions column, choose More > Switch to Pay-as-you-go.

  3. Read the notes for changing the billing method, review the refund amount and the pay-as-you-go unit price, then click Buy Now to confirm.

FAQ

Why do subscription clusters have pay-as-you-go charges?

Your subscription fee covers only the reserved resources. Additional usage — data storage, elastic resource scaling, and data backup — is billed pay-as-you-go and appears as separate line items in your bill. For the full list of billable items for your edition, see Billable items of Enterprise Edition and Basic Edition, Billable items of Data Lakehouse Edition, or Billable items of Data Warehouse Edition.