All Products
Search
Document Center

Realtime Compute for Apache Flink:Pay-as-you-go

Last Updated:Dec 29, 2025

Pay-as-you-go is a post-paid billing model. You do not need to purchase large amounts of resources in advance. You are billed based on the actual resource usage of your workspace. This topic describes the billing rules for the pay-as-you-go model, unit prices in different regions, and how to stop billing.

Important

For critical services, configure the required resources in advance or choose the subscription model. This ensures that resources are reserved for you. In the pay-as-you-go model, jobs request underlying physical resources when they start or restart. If resources in a specific region or zone are in high demand, your jobs may fail to start. This can affect service continuity.

Attribute

Description

Scenarios

The pay-as-you-go model is ideal for the following scenarios:

  • Your service usage fluctuates frequently.

  • Your resource usage is temporary or has sudden bursts.

Billing rules

You are billed for the number of CUs used, accurate to the minute. Your bill for a one-hour billing cycle is the sum of the compute resource fee and the management service resource fee. The fees for compute resources and management service resources in a billing cycle are calculated as follows:

  • Compute resource fee: (Sum of per-minute usage in one hour / 60) × Hourly unit price for the region.

    For example, if you use 4 CUs per minute for the first half of an hour and 2 CUs per minute for the second half, the total compute resource usage is 4 CUs × 30 min + 2 CUs × 30 min = 180. The compute resource bill is (180 / 60) × Hourly unit price for the region.

  • Management service resource fee: (Management service usage / 60) × Number of CUs for management service resources × Hourly unit price for the region.

    The management service usage is fixed at 60 per hour, which means the service runs for 60 minutes. The number of CUs for management service resources is fixed at 2 CUs.

For more information about compute resources and management resources, see Billable items. For information about unit prices in different regions, see Unit prices by region.

Important
  • The actual fees are subject to the prices on the product purchase page.

  • The preceding formulas calculate the fee for one Flink workspace. You can create multiple workspaces in one account. The total fee for all workspaces is calculated at settlement.

Billing cycle

Fees are calculated on the hour, every hour (UTC+8). A new billing cycle begins after the calculation is complete. After each billing cycle, the system generates a bill and deducts the fee from your account.

Resource changes after overdue payment

Overdue payments for a pay-as-you-go workspace affect your services differently over time. For more information, see Overdue payments and expiration.

Release resources and stop billing

To stop billing, first ensure that your data is backed up or migrated and that releasing the workspace will not affect your services. Then, release the workspace as follows. Billing stops after the workspace is released.

  1. At the top of the Realtime Compute for Apache Flink console, switch to the destination region.

  2. In the Actions column of the target workspace, click Release.

  3. In the dialog box that appears, click OK.

Important
  • After you click Release, resources such as uploaded JAR packages are not deleted and remain in your OSS bucket.

  • If your account has no overdue payments, you are still charged for idle jobs (for example, jobs that are terminated or never run after purchase) and running session clusters (regardless of whether they are configured for a job). To stop all billing, you must release the workspace. For more information about the effects of overdue payments, see Overdue payments and expiration.

  • If you find that you are still being billed after releasing a workspace, first view your bill to confirm the Consumption Time.

    image.png

Unit prices by region

Important
  • The actual prices are subject to the prices on the product purchase page.

  • You cannot purchase new resources in China (Hangzhou) Zone H and the China (Zhangjiakou) region. You can only scale out existing resources. Supported regions and zones are subject to change. For the latest information, see the purchase page.

Region

Unit price (USD)

China (Shenzhen), China (Beijing), China (Shanghai), China (Hangzhou)

0.06/CU/hour

China (Hong Kong)

0.09/CU/hour

Singapore

0.09/CU/hour

US (Silicon Valley)

0.07/CU/hour

Germany (Frankfurt)

0.10/CU/hour

Japan (Tokyo)

0.10/CU/hour

Indonesia (Jakarta)

0.08/CU/hour

UK (London)

0.09/CU/hour

Malaysia (Kuala Lumpur)

0.08/CU/hour

China (Zhangjiakou)

0.05/CU/hour

UAE (Dubai)

0.0854/CU/hour

Mexico

0.0532/CU/hour

US (Virginia)

0.075/CU/hour

References