This topic describes the billing rules and billing methods of HTTPDNS. You can refer to this topic when you select a billing method.
Billing rules
Billable items
Billable item | Description |
Number of HTTP-based resolutions | HTTPDNS is billed based on the number of HTTP-based resolutions. |
Metering methods
The number of HTTP-based resolutions within the current account is collected on a daily basis.
An HTTPS-based resolution equals to five HTTP-based resolutions.
A DNS over HTTPS (DoH)-based resolution equals to four HTTP-based resolutions.
A AES-encrypted HTTP resolution equals to three HTTP-based resolutions.
A AES-encrypted HTTPS resolution equals to eight HTTP-based resolutions.
If HTTPDNS provides 1,000,000 HTTP-based resolutions on the first day of a month, and 800,000 HTTP-based resolutions, 200,000 HTTPS-based resolutions, 500,000 DoH-based resolutions, 2,000,000 AES-encrypted HTTP resolutions and 500,000 AES-encrypted HTTPS resolutions on the second day of this month, the number of resolutions billed on the first day is 1,000,000, and that billed on the second day is 13,800,000. The number of resolutions billed on the second day is calculated by using the following formula: 800,000 + 5 × 200,000 + 4 × 500,000 + 3 × 2,000,000 + 8 × 500,000 = 13,800,000.
Billing cycle
The system collects billing statistics and generates bills on a daily basis for the usage of HTTPDNS resources. After your free quota and quotas of resource plans are exhausted, you are charged for the extra resources that you use each day.
The free quota is set on a monthly basis and is cleared on the first day of each month. If the amount of resources that you use in a month does not exceed the free quota, you are not charged for resource usage. If the amount of resources exceeds the free quota, you are charged for the excess amount.
Bills
Upfront bill: When you purchase a resource plan, a bill is generated.
Pay-as-you-go bill: If you use the services that are provided by Enterprise Mobile Application Studio (EMAS) based on the pay-as-you-go billing method, a bill is generated each day based on your resource usage of the previous day.
The daily bill is generated at approximately 3:00 (UTC+8) the next day. The actual point in time when a bill is generated prevails. To view your bills, go to the Bills page of your account.
Billing methods
The following billing methods are available for HTTPDNS.
Free quota
For each Alibaba Cloud account, HTTPDNS offers 1,500,000 resolutions per month free of charge.
Resource plans
Resource plans are billed upfront and are more cost-effective in most cases. You can purchase multiple resource plans. When you have multiple resource plans, their resources are offset based on the order in which they are purchased. For more information, go to the buy page of HTTPDNS Resource Plan.
Resource plan quota | Validity period (months) | Resource plan price (USD) | Unit price (USD/10,000 resolutions) | Discount compared with pay-as-you-go pricing |
5,000,000 resolutions | 12 | 2.5 | 0.005 | 17% off |
50,000,000 resolutions | 12 | 22.5 | 0.0045 | 25% off |
500 million resolutions | 12 | 200 | 0.004 | 33% off |
2000 million resolutions | 12 | 716 | 0.00358 | 40% off |
The resource package follows a monthly deduction mechanism. For example, if a user purchases a resource package with a quota of 10 million queries and uses 5 million queries in the first month, 1.5 million free queries will be deducted first. The remaining 3.5 million queries will then be deducted from the resource package, reducing its balance to 6.5 million queries. This remaining quota will continue to be used for deductions in the second month.
A resource plan is valid for one year. A resource plan takes effect immediately after it is purchased. A resource plan is available until the validity period of the resource plan ends or until the resources in the resource plan are used up.
To view the usage of a resource plan, go to the Expenses and Costs console, click Manage Reserved Instances in the left-side navigation pane, and then set the Resource Type parameter to Resource Packages.
Pay-as-you-go
Fees are calculated based on the usage of HTTPDNS resources and the pay-as-you-go price.
Number of HTTP-based resolutions | Price (USD) |
10,000 | 0.006 |
Offset order
Example
You have purchased an HTTPDNS resource plan that covers 50,000,000 resolutions per month. Now, you have a free quota of 1,500,000 resolutions per month and a resource plan that covers more than 50,000,000 resolutions per month. When the free quota of 1,500,000 resolutions is exhausted, the resource plan is used to offset the resource usage fees. When the resource plan quota is exhausted, the amount of resources that exceeds the quota is automatically billed on a pay-as-you-go basis.
Overdue payments
The HTTPDNS grace period for overdue payments refers to the period of time during which the HTTPDNS API continues to provide services for an account after the account becomes overdue.
HTTPDNS provides a 24-hour grace period for overdue payments. If an overdue payment is not settled after the grace period elapses, HTTPDNS stops providing services.
After you complete the overdue payment, your services are automatically resumed.
Refunds
You can apply for refunds on your HTTPDNS resource plans only if the resource plans are not used. You can apply for a refund on a resource plan only before the validity period of the resource plan ends.
To apply for a refund, submit a ticket.