This topic describes how to view MaxCompute consumption and usage details and provides best practices for cost analysis in typical scenarios.
Consumption details
-
View daily bills.
-
Log on to the Expenses and Costs console.
-
In the navigation pane on the left, choose .
-
On the Bill Details page, in the Service Name filter at the top, select MaxCompute to view daily MaxCompute bill summaries.
The billing methods are described as follows:
-
MaxCompute (Pay-As-You-Go), with a billing type of Pay-As-You-Go: This includes all pay-as-you-go bills generated on the current day for the Standard Edition or Developer Edition under your account, covering storage, computing, and public network download charges.
-
MaxCompute (Spot), with a billing type of Pay-As-You-Go: This includes all pay-as-you-go bills generated on the current day for the Spot Edition under your account, covering computing charges.
-
MaxCompute (Subscription), with a billing type of Pay-As-You-Go: This includes all pay-as-you-go bills generated on the current day under subscription mode for your account, covering storage, public network download, and elastic reserved CU charges.
-
MaxCompute (Subscription), with a billing type of Subscription: This includes all prepaid subscription bills generated on the current day for your MaxCompute resources, including new purchases, upgrades, downgrades, and renewals.
-
-
-
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 (USD 0.0006/GB/day) -
If the actual data storage volume of the project is within 1 GB (inclusive): free
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 (USD 0.0006/GB/day)Elastic Reserved CU
Take the total value of all elastic reserved CUs under the primary quota.
CU-hour
Public cloud:
usage × price (USD 0.0488/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 (USD 0.1166/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
Public cloud:
usage × price (USD 0.0438/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 (USD 0.0044/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 (USD 0.0044/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 (USD 0.1041/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 (USD 0.1041/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 (USD 0.0690/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: USD 0.0146/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: USD 0.0347/CU/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: USD 0.0347/CU/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: USD 0.023/CU/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: USD 0.0044/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: USD 0.0044/GB
-
-
-
-
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 (USD 22.0/CU/month)
-
-
Usage details
You can download detailed daily usage information from or Usage Details 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.
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 |