Billing Examples
DSC supports the yearly/monthly (prepaid) billing mode, and its APIs support the pay-per-use (postpaid) billing mode.
Billing Scenarios
A user purchased a DSC professional edition instance at 15:50:00 on May 1, 2023, together with a database expansion package and an OBS expansion package. The subscription duration is one month. After one month, the customer manually renewed the subscription for another month.
In June, the user needed to invoke watermarking APIs to watermark documents. The user invoked the API 1.1 million times from 2023/06/8 8:00:00 to 2023/06/28 18:00.
So, how much is the fee from May to June?
Billing Analysis
By billing mode, the DSC usage phase can be divided into two phases:
From 2023/05/01 15:50:00 to 2023/07/01 23:59:59, the yearly/monthly billing mode is used.
From 2023/06/8 8:00:00 to 2023/06/28 18:00, the billing mode is pay-per-use, and the number of API calls is 1.1 million.
- Yearly/Monthly billing
From 2023/05/01 15:50:00 to 2023/07/01 23:59:59, the user was billed in yearly/monthly mode, with a database expansion package and an OBS expansion package purchased for two months. The fee is calculated as follows:Figure 1 Yearly/Monthly DSC fee
Therefore, from May to June, the fee generated by the professional edition is 4000+800+400=5200 USD.
- Pay-per-use billing
From 2023/06/8 8:00:00 to 2023/06/28 18:00, the billing mode was pay-per-use and the number of API calls is 1.1 million. The fee is calculated as follows:
Figure 2 Pay-per-use DSC fee
In June, the pay-per-use fee is 34.6 USD.
From May to June, the total fee for using DSC is 5200 + 34.6 = 5234.6 USD.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.