All Products
Search
Document Center

Tair (Redis® OSS-Compatible):Change the billing method to pay-as-you-go

Last Updated:Mar 28, 2026

Switch an ApsaraDB for Redis instance from subscription to pay-as-you-go when you need flexible, on-demand billing.

Prerequisites

Before you begin, make sure that:

  • The instance uses the subscription billing method

  • The instance is in the Running state

If the instance enters the Locked state before you complete payment for the billing method change, the payment may fail. Wait until the instance returns to Running, then resume the payment.

Usage notes

  • This operation does not interrupt the running state of the instance.

  • Pay-as-you-go instances are billed by the hour. Keep your account balance positive to avoid overdue payments that cause downtime.

  • Billing method switching is not available for instances that use phased-out instance types.

  • For stable, long-term workloads, subscription billing is more cost-effective and offers higher discounts for longer commitment periods.

Refund calculation

After the switch, you receive a partial refund via the original payment method. Coupons and vouchers are not refunded.

Refund = Fee actually paid − Fee for consumed resources

ComponentDefinition
Fee actually paidThe amount you paid in cash, excluding any coupon or voucher discounts
Fee for consumed resourcesDaily fee × Consumed subscription duration (days) × Discount for the consumed duration
Daily feeOrder amount ÷ 30
Duration precisionCalculated to the day; any partial day counts as a full day

Example: You purchased a 1-month subscription for $180 (paid in cash, no coupons). You have used 16 days.

  • Daily fee = $180 ÷ 30 = $6/day

  • Fee for consumed resources = $6 × 16 × 1.0 = $96

  • Refund = $180 − $96 = $84

To see the exact refund amount before confirming the switch, check the total configuration cost shown at the bottom of the confirmation page.

Switch to pay-as-you-go

  1. Log in to the console and go to the Instances page. In the top navigation bar, select the region where the instance is deployed.

  2. Find the target instance. In the Actions column, choose ![更多 ](https://help-static-aliyun-doc.aliyuncs.com/assets/img/en-US/0215287061/p96323.png) > Switch to Pay-as-you-go Billing.

  3. On the confirmation page, review the notes and verify the total configuration cost shown at the bottom of the page.

    If the Switch to Pay-as-you-go Billing option is unavailable, the instance may be using a phased-out instance type and is not eligible for billing method switching.
  4. Read the Terms of Service and click Buy now.

API reference

OperationDescription
TransformInstanceChargeTypeChanges the billing method of an ApsaraDB for Redis instance between subscription and pay-as-you-go