Billing Items
Billing
You will be billed for KMS, CSMS, and Dedicated HSM. KPS is free of charge. For details, see Table 1.

For details, see Price Calculator.
Billing Items |
Specifications |
Description |
Billing Mode |
Formula |
---|---|---|---|---|
KMS |
Custom keys |
Custom keys are created or imported by users using KMS. |
Pay-per-use |
Key instance fee x Duration + Number of API requests x API request fee |
Default keys |
A default key is automatically created by another cloud service using KMS, such as Object Storage Service (OBS). The alias of a default key ends with /default. |
Pay-per-use |
Number of API requests x API request fee |
|
Replica key |
A replica key is a key created by a user under an existing CMK in a region on KMS. It has the same key material as the CMK. |
Pay-per-use |
Number of replica keys x Key instance fee x Duration + Number of API requests x API request fee |
|
CSMS |
Shared secrets |
Full lifecycle management is supported for customized secrets in different scenarios. |
Pay-per-use |
Secret instance fee x Duration + Key instance fee x Duration + Number of API requests x API request fee |
Dedicated HSM instance |
Platinum edition (outside Chinese mainland) |
Dedicated HSM is a cloud service used for encryption, decryption, signature, signature verification, key generation, and the secure storage of keys. |
Yearly/Monthly |
Confirm the quotation solution based on actual requirements. |
Charging Constraints
- A disabled key is still billable. Only deleted keys are not charged.
- A CMK in pending deletion status does not incur charges. If you cancel deletion, the charging resumes from the time when the CMK was scheduled to be deleted.
Billing Examples
Suppose you created a custom key at June 8, 2023, 9:59:30 and deleted it on June 8, 2023, 10:45:46. The number of API calls using keys is 36,594 within a billing period. The usage period as follows:
- The first billing period is from 9:00:00 to 10:00:00. Fees are generated from 9:59:30 to 10:00:00. The billing duration is 30 seconds within the period.
- The second billing period is from 10:00:00 to 11:00:00. Fees are generated from 10:00:00 to 10:45:46. The billing duration is 2,746 seconds within the period.
Figure Pay-per-use KMS billing shows how the total price is calculated.

The prices in the figure are examples only. The actual prices are those displayed on Price Calculator.

For pay-per-use billing examples, see Billing Examples.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot