This topic describes how to view MaxCompute consumption and usage details and provides best practices for cost analysis in typical scenarios.
Consumption details
MaxCompute generates bills on a daily basis. In the navigation pane on the left of the Expenses and Costs console, click Bill Overview to view monthly bill summaries.
You can also learn how to analyze MaxCompute consumption details. For more information, see Analyze MaxCompute consumption details.
-
View consumption details for each pay-as-you-go billing item by day.
-
Log on to the Expenses and Costs console.
-
In the navigation pane on the left, choose .
-
Set Bill Generation Date to By Day.
-
Select MaxCompute for Product Name to view daily consumption details for each MaxCompute billing item.
Other filter options are described as follows:
-
Asset Name / Resource Instance ID (Billing Granularity): Billing unit. Pay-as-you-go MaxCompute bills use one of the following three billing granularities:
-
Standard computing, storage, and download billing items are billed per project and region combination each day.
-
Spot computing billing items (Spot jobs) are billed per project and region combination each day.
-
Elastic reserved CU billing items are billed per primary quota and region combination each hour.
-
-
Line Item Type: Includes all currently chargeable computing, storage, download, and quota-based pay-as-you-go billing items.
-
Usage, Usage Unit, and Official Price Formula:
Billing Item
Usage
Unit
Official Price Formula
Storage
For Standard storage, take the average of the total storage measured across the current project during the day, divided by 24.
Byte
-
General case:
-
Public cloud:
usage × price (CNY 0.004/GB/day) -
Finance Cloud:
usage × price (CNY 0.0076/GB/day)
-
-
If the actual data storage volume of the project is greater than 0 MB and less than or equal to 512 MB:
-
Public cloud:
usage × price (CNY 0.01/GB/day) -
Finance Cloud:
usage × price (CNY 0.019/GB/day)
-
Backup Storage
Take the average of the total backup storage measured across the current project during the day, divided by 24.
Byte
-
Public cloud:
usage × price (CNY 0.004/GB/day) -
Finance Cloud:
usage × price (CNY 0.0076/GB/day)
Elastic Reserved CU
Take the total value of all elastic reserved CUs under the primary quota.
CU-hour
-
Public cloud:
usage × price (CNY 0.315/CU/hour) -
Finance Cloud:
usage × price (CNY 0.5985/CU/hour)
Public Network Outbound Traffic
Take the total volume of data successfully downloaded from the current project over the public network during the day.
Byte
-
Public cloud:
usage × price (CNY 0.8/GB) -
Finance Cloud:
usage × price (CNY 1.2/GB)
SQL Job Computing
Take the sum of input data volume × complexity for all successful standard SQL tasks executed using pay-as-you-go Standard Edition compute quotas in the current project during the day.
Byte
-
If daily usage is less than or equal to 100 TB:
-
Public cloud:
usage × price (CNY 0.3/GB) -
Finance Cloud:
usage × price (CNY 0.57/GB)
-
-
If daily usage is greater than 100 TB and less than or equal to 500 TB:
-
Public cloud
: usage × price (CNY 0.285/GB) -
Finance Cloud:
usage × price (CNY 0.5415/GB)
-
-
If daily usage exceeds 500 TB, the excess portion is priced as follows:
-
Public cloud:
usage × price (CNY 0.27/GB) -
Finance Cloud:
usage × price (CNY 0.513/GB)
-
OSS External Table Computing
Take the total input data volume for all successful SQL tasks that compute OSS external tables using pay-as-you-go Standard Edition compute quotas in the current project during the day.
Byte
-
Public cloud:
usage × price (CNY 0.03/GB) -
Finance Cloud:
usage × price (CNY 0.057/GB)
Tablestore External Table Computing
Take the total input data volume for all successful SQL tasks that compute Tablestore external tables using pay-as-you-go Standard Edition compute quotas in the current project during the day.
Byte
-
Public cloud:
usage × price (CNY 0.03/GB) -
Finance Cloud:
usage × price (CNY 0.057/GB)
Spark Job Computing
Take the total billable hours consumed by all successful Spark tasks executed using pay-as-you-go Standard Edition compute quotas in the current project during the day.
Billable hours
-
Public cloud: usage × price (CNY 0.66/billable hour)
-
Finance Cloud: usage × price (CNY 1.254/billable hour)
Mars Job Computing
Take the total billable hours consumed by all successful Mars tasks executed using pay-as-you-go Standard Edition compute quotas in the current project during the day.
Billable hours
-
Public cloud: usage × price (CNY 0.66/billable hour)
-
Finance Cloud: usage × price (CNY 1.254/billable hour)
MapReduce Job Computing
Take the total billable hours consumed by all successful MapReduce tasks in the current project during the day.
Billable hours
-
Public cloud: usage × price (CNY 0.46/billable hour)
-
Finance Cloud: usage × price (CNY 0.874/billable hour)
Spot SQL Job Computing
Take the sum of input data volume × complexity for all successful SQL tasks executed using pay-as-you-go Spot Edition compute quotas in the current project during the day.
Byte
-
Public cloud: usage × price (CNY 0.1/GB)
-
Finance Cloud: usage × price (CNY 0.19/GB)
Spot Spark Job Computing
Take the total billable hours consumed by all successful Spark tasks executed using pay-as-you-go Spot Edition compute quotas in the current project during the day.
Billable hours
-
Public cloud: usage × price (CNY 0.22/billable hour)
-
Finance Cloud: usage × price (CNY 0.418/billable hour)
Spot Mars Job Computing
Take the total billable hours consumed by all successful Mars tasks executed using pay-as-you-go Spot Edition compute quotas in the current project during the day.
Billable hours
-
Public cloud: usage × price (CNY 0.22/billable hour)
-
Finance Cloud: usage × price (CNY 0.418/billable hour)
Spot MapReduce Job Computing
Take the total billable hours consumed by all successful MapReduce tasks executed using pay-as-you-go Spot Edition compute quotas in the current project during the day.
Billable hours
-
Public cloud: usage × price (CNY 0.154/billable hour)
-
Finance Cloud: usage × price (CNY 0.293/billable hour)
Spot OSS External Table Job Computing
Take the total input data volume for all successful SQL tasks that compute OSS external tables using pay-as-you-go Spot Edition compute quotas in the current project during the day.
Byte
-
Public cloud: usage × price (CNY 0.03/GB)
-
Finance Cloud: usage × price (CNY 0.057/GB)
Spot OTS External Table Job Computing
Take the total input data volume for all successful SQL tasks that compute Tablestore external tables using pay-as-you-go Spot Edition compute quotas in the current project during the day.
Byte
-
Public cloud: usage × price (CNY 0.03/GB)
-
Finance Cloud: usage × price (CNY 0.057/GB)
Developer Edition SQL Job Computing
Take the total input data volume for all successful SQL tasks executed using Developer Edition resources in the current project during the day.
Byte
Public cloud: usage × price (CNY 0.15/GB)
NoteThe pay-as-you-go Developer Edition is no longer available for new purchases and was discontinued at 00:00:00 (UTC+8) on Tuesday, October 31, 2023. For more information, see Announcement on Discontinuation of Certain MaxCompute Offerings (September 23, 2022).
-
-
-
-
View consumption details for each subscription billing item.
-
Log on to the Expenses and Costs console.
-
In the navigation pane on the left, choose .
-
Set Bill Generation Date to By Day.
-
Select MaxCompute for Product Name to view daily consumption details for each MaxCompute billing item.
Descriptions are as follows:
-
Asset Name / Resource Instance ID (Billing Granularity): Billing unit. For subscription MaxCompute, the billing unit is the primary quota. A single billing event occurs for new purchases, upgrades, downgrades, or renewals.
-
Line Item Type: Refers to the various resource billing items that incur charges.
-
Usage, Usage Unit, and Official Price Formula:
Billing Item
Usage
Unit
Official Price Formula
Compute Resource Unit
Amount of compute resources added through new purchases or upgrades.
CU
-
Public cloud:
usage × price (CNY 150/CU/month). -
Finance Cloud:
usage × price (CNY 285/CU/month).
Non-Reserved Compute Resource
Amount of non-reserved compute resources added through new purchases or upgrades.
CU
Public cloud:
usage × price (CNY 40/CU/month).Package Resource
Amount of compute resources included in the package.
CU
Package pricing.
NoteSubscription-based non-reserved compute resources (Storage-Intensive 160 Package, Storage-Intensive 320 Package, and Storage-Intensive 600 Package) are no longer available for new purchases and were discontinued at 00:00:00 (UTC+8) on Tuesday, October 31, 2023. For more information, see Announcement on Discontinuation of Certain MaxCompute Offerings (September 23, 2022).
-
-
-
Usage details
You can download detailed daily usage information from Usage Details or to understand your billing details—for example, which tasks incurred storage or computing charges each day. For detailed instructions on downloading and analyzing this data, see Analyze MaxCompute bill usage details.
You can also obtain MaxCompute usage records through the metering API. For instructions on using the metering API, see Query product metering records. The MaxCompute metering tables are ODPS (pay-as-you-go) and ODPSDataPlus (subscription).
Best practices
|
Scenario |
Description |
Best practice |
|
Analyze MaxCompute cost distribution using usage details |
You want to understand your cost distribution or ensure that MaxCompute usage stays within budget. |
|
|
Troubleshoot unexpected cost spikes |
Your daily spending is usually stable, but costs suddenly doubled during a certain period, exceeding expectations. You want to identify the cause. |
|
|
Identify top N accounts by cost and long-running jobs |
Data developers typically use MaxCompute through DataWorks in standard mode. MaxCompute logs all job execution accounts as the same Alibaba Cloud account in Information Schema, with only a few jobs executed by RAM users. Developers often need to track costs and long-running jobs by account. |
Identify MaxCompute top N accounts by cost and long-running jobs |