You can view the bills and consumption details of elastic container instances in the Billing Management console.
Query bills by using the console
Log on to the Elastic Container Instance console.
In the top navigation bar, click Expenses to go to the Billing Management console.
In the left-side navigation pane, choose Spending Summary > Spending Summary.
On the Bills page, switch tabs to view the bills and consumption details based on your business requirements.
Click the Overview tab to view the overall consumption information.
On the Overview tab, the consumption information is displayed by product and billing cycle. Each product has one entry of consumption information for each billing cycle.
Click the Bills tab to view the consumption information by bill.
On the Bills tab, the consumption information is displayed by order and settlement cycle.Notice
The bills of Elastic Container Instance are generated each hour. A latency may exist when you query the bills in the console. Typically, the hourly bills of a billing cycle can be viewed within 3 hours of being generated. For example, if a bill is generated within 8:00 to 9:00, you can view the bill around 11:00 that day.
Click the Details tab to view consumption details.
You can filter billing details by statistic item and period. The consumption details include the billable item, usage, price, and deduction of a specific service.
For example, if you want to view the billing details of Elastic Container Instance in December 2020, you can filter the billing details based on the filter conditions in the following figure.
You can click Customize Column Options in the upper-right corner of the consumption detail list and select billable items to be displayed.
To analyze bills, you can click Export Billing Overview (CSV) to export and view current bills on your computer.
Query bills by calling API operations
Log on to OpenAPI Explorer.
In the left-side navigation pane, choose Products > Account and Billing > Alibaba Cloud Billing.
Call the corresponding API operations to query bills.
The following table describes the API operations. When you call API operations, set the
BillingCycleparameter based on your actual needs and set the
Queries the overview of bills and total consumption.
Queries bill information, including the consumption information of each order and each settlement cycle.
Queries consumption details by billable item such as elastic container instance or billable item.