All Products
Search
Document Center

MaxCompute:View billing details

Last Updated:Aug 16, 2023

This topic describes how to view the billing details and usage records of MaxCompute. This topic also provides best practices for billing analysis in typical scenarios.

Go to Billing Management

Log on to the Alibaba Cloud Management Console. In the top navigation bar, click Expenses.费用

Note

Before you access Billing Management as a RAM user, you must attach the AliyunBSSFullAccess policy to the RAM user by using your Alibaba Cloud account. For more information, see Grant permissions to a RAM role.

View billing details

  • Query daily bills.

    1. In the left-side navigation pane, choose Bills > Bill Details. On the page that appears, click the Consumption by Bill tab.

    2. Click the Filter icon next to Product Name and select MaxCompute to view the daily bills of MaxCompute.

      Description:

      • MaxCompute (Pay-As-You-Go) with Subscription Type set to Pay-As-You-Go: All pay-as-you-go bills that are generated for the resource packages of MaxCompute pay-as-you-go Standard Edition or Developer Edition on the day. You are billed for the storage resources, computing resources, and the traffic for Internet-based data downloads in these packages based on the pay-as-you-go billing method.

      • MaxCompute (Subscription) with Subscription Type set to Pay-As-You-Go: All pay-as-you-go bills that are generated for the subscription resource packages of MaxCompute on the day. You are billed for the storage resources and the traffic for Internet-based data downloads in these packages based on the pay-as-you-go billing method.

      • MaxCompute (Subscription) with Subscription Type set to Subscription: All subscription bills that are generated for the subscription resource packages of MaxCompute on the day. You are billed for all new purchases, configuration upgrades and downgrades, and package renewals based on the subscription billing method.

  • Query the daily consumption details of pay-as-you-go billable items.

    1. On the Bill Details page, click the Bill Details tab.

    2. Select Billing Item for Statistic Item, By Day for Statistic Period, and Pay-As-You-Go for Subscription Type.

    3. Select MaxCompute from the Product drop-down list to view the daily bills of MaxCompute.

      Description:

      • Instance ID: the billing unit. Bills are generated for pay-as-you-go services of MaxCompute based on the following billing units:

        • Project- and region-based billing unit: This billing unit is applicable for billable items, such as computing resources, storage resources, and traffic for Internet-based data downloads. MaxCompute generates a bill for each billable item on a daily basis.

        • Level-1 quota- and region-based billing unit: This billing unit is applicable for elastically reserved compute units (CUs). MaxCompute generates a bill on an hourly basis.

      • Billing Item: the pay-as-you-go billable items, such as computing resources, storage resources, traffic for data downloads, and quotas.

      • Usage, Usage Unit, and Pretax Gross Amount: The following table describes these fields and the formulas that are used to calculate the pretax gross amount for each billable item.

        Billable item

        Usage

        Usage unit

        Price calculation formula

        Storage

        Standard storage: the storage used for a project on the day divided by 24.

        Byte

        • In most cases:

          Public cloud: Usage × Unit price (USD 0.0006/GB/day).

        • If the actually used storage space of a project is less than or equal to 1 GB, no fees are generated.

        Backup storage

        The backup storage used for a project on the day divided by 24.

        Byte

        Public cloud: Usage × Unit price (USD 0.0006/GB/day).

        Traffic for Internet-based data downloads

        The amount of data that is downloaded over the Internet for a project on the day.

        Byte

        Public cloud: Usage × Unit price (USD 0.1166/GB).

        Computing for SQL jobs

        The sum of computing resource usage of standard SQL jobs that use the pay-as-you-go Standard Edition and are successfully executed for a project on the day. The computing resource usage of each standard SQL job is calculated by multiplying the amount of input data by the SQL complexity of the job.

        Byte

        Public cloud: Usage × Unit price (USD 0.0438/GB).

        Computing for SQL jobs that involve Object Storage Service (OSS) external tables

        The amount of input data for the SQL jobs that use the pay-as-you-go Standard Edition and are successfully executed for a project on the day. The SQL jobs involve OSS external tables.

        Byte

        Public cloud: Usage × Unit price (USD 0.0044/GB).

        Computing for SQL jobs that involve Tablestore external tables

        The amount of input data for the SQL jobs that use the pay-as-you-go Standard Edition and are successfully executed for a project on the day. The SQL jobs involve Tablestore external tables.

        Byte

        Public cloud: Usage × Unit price (USD 0.0044/GB).

        Computing for Spark jobs

        The billable hours used by the Spark jobs that use the pay-as-you-go Standard Edition and are successfully executed for a project on the day.

        Billable hour

        Public cloud: Usage × Unit price (USD 0.1041/Billable hour).

        Computing for Mars jobs

        The billable hours used by the Mars jobs that use the pay-as-you-go Standard Edition and are successfully executed for a project on the day.

        Billable hour

        Public cloud: Usage × Unit price (USD 0.1041/Billable hour).

        Computing for MapReduce jobs

        The billable hours of the MapReduce jobs that are successfully executed for a project on the day.

        Billable hour

        Public cloud: Usage × Unit price (USD 0.0690/Billable hour).

  • Query the consumption details of subscription billable items.

    1. On the Bills page, click the Details tab.

    2. Select Billing Item for Statistic Item, By Day for Statistic Period, and Subscription for Subscription Type.

    3. Click the Filter icon next to Product Name and select MaxCompute to view the daily bills for each billable item.

      Description:

      • Instance ID: the billing unit. You are billed each time for level-1 quota usage, new purchases, configuration upgrades and downgrades, and package renewals based on the subscription billing method of MaxCompute.

      • Billing Item: the types of resources that generate fees.

      • Usage, Usage Unit, and Pretax Gross Amount: The following table describes these fields and the formulas that are used to calculate the pretax gross amount for each billable item.

        Billable item

        Usage

        Usage unit

        Price calculation formula

        Computing resource

        The amount of computing resources that are used for new purchases or configuration upgrades.

        CU

        Public cloud: Usage × Unit price (USD 22.0/CU/month).

Usage records

Go to the Usage Records page to download and view the daily resource usage records and check the items for which fees are generated. For example, you can check the storage and computing costs of each day and determine from which jobs the costs are generated. For more information about how to download and analyze the resource usage records, see Analyze the usage records of MaxCompute bills.

Best practices

Scenario

Description

Best practice

Analyze the distribution of fees incurred by MaxCompute services based on the usage records.

Users want to know the distribution of fees or make sure that the fees incurred when they use MaxCompute services do not exceed expectations.

Analyze the usage records of MaxCompute bills