Billing Overview

Last updated: 2020-02-18 17:08:03

PDF

The API gateway service will be officially put on commercial sale at 23:59:59 on February 13, 2020. Please contact your Tencent Cloud account in time. Top-up The operation avoids service interruption.

Billing mode

The billing method of API gateway is Pay as you go.

Free Tier

After Enable's service, the first million calls per month (natural month) in the first year are free, and the excess in that month is based on the number of calls by cost and Tiered pricing.
After Enable's service, 1GB Traffic is free before every month (natural month) in the first year, and the excess portion in that month will be charged according to different regions according to Traffic and cost's table.

  • If you are the private network API gateway service, the outbound traffic and inbound traffic generated by private network are free of charge.
  • If you are a public network API gateway service, public network access to Traffic cost is free, public network out of Traffic will produce Traffic cost. For details of Traffic and cost, please refer to Traffic and cost below.

Billing item description

The billing items of the API gateway include: the number of calls cost and Traffic cost.

Number of calls cost

Tiered Pricing Cumulative number of times exceeded per month (N) Unit price (USD/ ten thousand times)
Free ladder The first 1 million calls per month (natural month) in the first year are free of charge. * 2018-5-4
The first ladder 0 < N ≤ 10 million 0.0089
Second phase 10 million < N ≤ 100 million 0.0059
Third stage N > 100 million 0.0045

Traffic Fee

Region Price (unit: USD/GB)
China Mainland China, Singapore, Seoul, Frankfurt, Moscow, Tokyo 0.12
Hong Kong, China 0.15
Toronto, Silicon Valley, Virginia, Bangkok, Mumbai. 0.074

Billing Description

  • Billing item: API call (number of times)
  • Billing method: on demand Postpaid
  • Billing cycle: hours
  • Billing time: Tencent Cloud generates the API call cost record of the current billing cycle every hour. The billing time is usually within 30 minutes after the end of the current billing cycle. After the bill is generated, cost will be automatically deducted from the account balance to settle the bill. if the account balance is insufficient to pay the current bill, the account will enter in arrears status.
  • Deduction method: after the bill is generated, cost will be automatically deducted from your account balance to settle the bill.
  • Billing currency: USD
  • Number of valid calls: valid call API request received by API gateway, not Front desk error It is considered to be an effective call, and it will be included in the charging range.

After the Enable gateway service, the first million calls per month (natural month) in the first year are free, and the excess in that month is based on the number of calls by cost and Tiered pricing.

Traffic Fee

Traffic cost calculated according to the cumulative value of Traffic. The measurement items and billing instructions of Traffic are introduced below:

Billing item Meaning of billing item Billing Description
Private network outbound traffic Traffic generated when data is transferred from the API gateway to the back-end service through the Tencent Cloud private network. Free
Private network inbound traffic Traffic generated when data is transferred from the client to the API gateway through the Tencent Cloud private network. Free
Public traffic out After the data is transmitted from the client to the API gateway through the Internet, the API gateway returns the response data generated by Traffic Per hour settlement per GB unit price * hours accumulate Traffic unit price, please refer to Public network billing mode (Bill-by-traffic)
Access to Traffic in the public network Traffic, whose data is transferred from the client to the API gateway through the Internet. Free

Billing Description

  • Billing item: Traffic cost (Traffic from public network)
  • Billing method: Pay as you go
  • Billing cycle: hours
  • Billing time: the billing time is usually within one hour after the end of the current billing cycle.
  • Deduction method: after the bill is generated, cost will be automatically deducted from your account balance to settle the bill.
  • Billing currency: USD

If your backend service is not in the same region as the API gateway, or if the backend service is not in Tencent Cloud, we will charge the API gateway to your backend service Traffic cost. The standard of charge is the same.Traffic Fee.

Pricing Sample

The following example reflects the pricing of Guangzhou region
The backend service and the API gateway are not in the same region, and a total of 5 million API calls are received each month. Each API call returns a response of 3KB size, and each API gateway repost data to the backend service request size is 1KB.

  • API gateway call fee = 5 million * 0.0089 USD/ ten thousand times = 4.45USD
  • Total data transmission = 5 million * 3KB = 15 million / KB = 14.3GB
  • Total amount of additional data transfer = 5 million * 1KB = 5 million / KB= 4.77GB
  • Total data transmission cost = 14.3GB * 0.12USD/GB + 4.77 GB * 0.12USD/GB = 2.29USD
  • Total cost = 4.45USD + 2.29USD = 6.74USD

Related Links
For in arrears's outage policy of API gateway: data retention and Terminate time, as well as related billing instructions, please see API Gateway. About Arrears .