This topic describes how to view MaxCompute consumption and usage details, and provides best practices for cost analysis in typical scenarios.
Consumption details
You can 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 Product Name filter box, select MaxCompute to view daily MaxCompute bill summaries.
Product billing methods are described below:
MaxCompute (Pay-As-You-Go), with a consumption type of pay-as-you-go: This summarizes all pay-as-you-go bills generated on that day for accounts that have enabled MaxCompute pay-as-you-go Standard Edition and Developer Edition. This includes pay-as-you-go bills for storage, computing, and public network egress.
MaxCompute (Spot), with a consumption type of pay-as-you-go: This summarizes all pay-as-you-go bills generated on that day for accounts that have enabled MaxCompute pay-as-you-go Spot Edition. This includes pay-as-you-go bills for computing.
MaxCompute (Subscription), with a consumption type of pay-as-you-go: This summarizes all pay-as-you-go bills generated on that day for accounts that have enabled MaxCompute subscription mode. This includes pay-as-you-go bills for storage, public network egress, and elastic reserved CU.
MaxCompute (Subscription), with a consumption type of upfront: This summarizes all upfront bills for MaxCompute subscription orders generated on that day for accounts. This includes bills for new purchases, upgrades, downgrades, and renewals.
You can view daily pay-as-you-go consumption details for each billing item.
Log on to the Expenses and Costs console.
In the navigation pane on the left, choose .
Set Bill Date to Daily.
For Product Name, select MaxCompute to view daily consumption details for each MaxCompute billing item.
Other filter options are described below:
Asset Name/Resource Instance ID (Billing Granularity): This is the billing unit. The MaxCompute pay-as-you-go billing mode currently has three types of billing units:
Standard computing, storage, and download billing items are billed daily for each item. Granularity is based on the combination of Project and Region.
Spot Edition computing billing items (Spot jobs) are billed daily for each item. Granularity is based on the combination of Project and Region.
Elastic Reserved CU billing items are billed hourly. Granularity is based on the combination of a primary quota and Region.
Fee Type: This refers to various pay-as-you-go billing items that are currently charged, such as computing, storage, download, and quota.
Usage, Unit, and Official Price Calculation Formula:
Billing item
Usage
Unit
Official website price formula
Storage
Standard storage. This is the average value of the total storage measured for the current Project on that day, divided by 24.
Byte
General cases:
Public Cloud:
Usage × Unit Price (0.0006 USD/GB/day)When the actual data storage of the project is within 1 GB (inclusive): Free
Backup Storage
This is the average value of the total backup storage measured for the current Project on that day, divided by 24.
Byte
Public Cloud:
Usage × Unit Price (0.0006 USD/GB/day)Elastic Reserved CU
This is the value of all elastic reserved CUs for the primary quota.
CU-hour
Public Cloud:
Usage × Unit Price (0.0488 USD/CU/hour)Public Network Egress Traffic
This is the total data volume successfully downloaded via the public network for the current Project on that day.
Byte
Public Cloud:
Usage × Unit Price (0.1166 USD/GB)SQL Job Computing
This is the sum of input volume × complexity for each standard SQL task successfully executed using the pay-as-you-go Standard Edition compute quota for the current Project on that day.
Byte
Public Cloud:
Usage × Unit Price (0.0438 USD/GB)OSS Foreign Table Computing
This is the total input volume of SQL tasks that successfully computed OSS foreign tables using the pay-as-you-go Standard Edition compute quota for the current Project on that day.
Byte
Public Cloud:
Usage × Unit Price (0.0044 USD/GB)Tablestore Foreign Table Computing
This is the total input volume of SQL tasks that successfully computed Tablestore foreign tables using the pay-as-you-go Standard Edition compute quota for the current Project on that day.
Byte
Public Cloud:
Usage × Unit Price (0.0044 USD/GB)Spark Job Computing
This is the total billable hours consumed by Spark tasks successfully executed using the pay-as-you-go Standard Edition compute quota for the current Project on that day.
billable hours
Public Cloud:
Usage × Unit Price (0.1041 USD/billable hour)Mars Job Computing
This is the total billable hours consumed by Mars tasks successfully executed using the pay-as-you-go Standard Edition compute quota for the current Project on that day.
billable hours
Public Cloud:
Usage × Unit Price (0.1041 USD/billable hour)MapReduce Job Computing
This is the total billable hours consumed by MapReduce tasks successfully executed for the current Project on that day.
billable hours
Public Cloud:
Usage × Unit Price (0.0690 USD/billable hour)Spot SQL Job Computing
This is the sum of input volume × complexity for each SQL task successfully executed using the pay-as-you-go Spot Edition compute quota for the current Project on that day.
Byte
Public Cloud: 0.0146 USD/GB
Spot Spark Job Computing
This is the total billable hours consumed by Spark tasks successfully executed using the pay-as-you-go Spot Edition compute quota for the current Project on that day.
billable hours
Public Cloud: 0.0347 USD/CU/hour
Spot Mars Job Computing
This is the total billable hours consumed by Mars tasks successfully executed using the pay-as-you-go Spot Edition compute quota for the current Project on that day.
billable hours
Public Cloud: 0.0347 USD/CU/hour
Spot MapReduce Job Computing
This is the total billable hours consumed by MapReduce tasks successfully executed using the pay-as-you-go Spot Edition compute quota for the current Project on that day.
billable hours
Public Cloud: 0.023 USD/CU/hour
Job Computation on SpotOSS External Tables
This is the total input volume of SQL tasks that successfully computed OSS foreign tables using the pay-as-you-go Spot Edition compute quota for the current Project on that day.
Byte
Public Cloud: 0.0044 USD/GB
SpotOTS External Table Job Calculation
This is the total input volume of SQL tasks that successfully computed Tablestore foreign tables using the pay-as-you-go Spot Edition compute quota for the current Project on that day.
Byte
Public Cloud: 0.0044 USD/GB
You can view subscription consumption details for each billing item.
Log on to the Expenses and Costs console.
In the navigation pane on the left, choose .
Set Bill Date to Daily.
For Product Name, select MaxCompute to view daily consumption details for each MaxCompute billing item.
The descriptions are provided below:
Asset Name/Resource Instance ID (Billing Granularity): This is the billing unit. The billing unit for MaxCompute subscription mode is the primary quota. A one-time bill is generated for new purchases, upgrades, downgrades, and renewals.
Fee Type: This refers to various resource billing items that incur fees.
Usage, Unit, and Official Price Calculation Formula:
Billing Item
Usage
Unit
Official Price Calculation Formula
Compute Resource Unit
The amount of compute resources added through new purchases or upgrades.
CU
Public Cloud:
Usage × Unit Price (22.0 USD/CU/month)
Usage details
You can download detailed daily usage information and understand cost details from Usage Details. For example, you can see which tasks incurred daily storage and computing fees. For detailed download and analysis methods, see the MaxCompute Bill Usage Details Analysis document.
Best practices
Scenario | Description | Best Practice |
Analyze MaxCompute cost distribution using usage detail tables | Understand cost distribution or ensure that costs incurred during MaxCompute product usage do not exceed expectations. | |
Troubleshoot unexpected cost spikes | If daily consumption is usually stable, but costs double unexpectedly during a certain period, find the reason for the cost surge. | |
Statistical analysis of TOPN costly accounts and time-consuming jobs | Data developers typically use MaxCompute through DataWorks Standard Mode. MaxCompute records the execution account for all jobs in the Information Schema as the same root account. Only a small number of jobs have Resource Access Management (RAM) users as execution accounts. Data developers want to know how to statistically analyze costs and time-consuming jobs for each account. | Statistically Analyze MaxCompute TOPN Costly Accounts and Time-Consuming Jobs |