Specific Examples of Billing Calculation for AI Platform Services
This article provides examples of how AI Platform services, including notebook instances, training jobs, and online prediction, are billed. All services are charged based on their hourly usage.
Compute Instance
Formula
- Billing Unit: Hour of usage
- Calculation:
- Usage time: Calculated from the moment you Start the instance until you Stop it.
- Duration: Calculated in hours (up to 8 decimal places, not rounded).
- Cost: Duration (hours) * Item price from the hourly pricing table.
- Amount on the bill without VAT: Up to 2 decimal places, not rounded.
Let's look at some specific examples:
1. Notebook Instance:
Example: You use an g5-standard-16x250-1h100 notebook instance priced at 0.1 USD/hour
for 2 hours and 35 minutes.
- Usage time is rounded up to 155 minutes.
- Duration: 155 / 60 = 2.58333333
- Cost:
2.5833333 * 0.1 USD/hour = 0.25833333 USD
- Amount on the bill without VAT:
0.25 USD
2. Training Job:
Example: You run a training job using 2 nodes of type g5-standard-16x250-1h100 at 3.06 USD/hour/node
.
- Node 1 runs for 1 hour and 20 minutes, Node 2 runs for 1 hour and 45 minutes.
- Total Duration:
(80 minutes + 105 minutes) / 60 = 3.08333333 hours
- Cost:
3.0833333 * 3.06 USD/hour = 9.43499998 USD
- Amount on the bill without VAT:
9.43 USD
3. Online Prediction:
Example: You create an endpoint using 1 node of type g5-standard-16x250-1h100 priced at 0.1 USD/hour/node
. The endpoint is active for 5 hours and 12 minutes.
- Duration: 312 minutes / 60 = 5.2 hours
- Cost:
5.2 * 0.1 USD/hour = 0.52 USD
- Amount on the bill without VAT:
0.52 USD
Important Notes:
- The above examples are for illustrative purposes only. Actual prices may vary depending on the instance type, availability zone, and other factors.
- Always refer to the detailed Greennode AI Platform pricing table .
If you have any further questions about billing calculations, feel free to ask!
Network Volume
Formula
Specific Example for Network Volume:
- You create a 100GB network volume priced at 0.10 USD/GB/month for 10 hours.
- Usage Time: 10 hours
- Duration in Months: 10 hours / (30 days/month * 24 hours/day) = 0.01388889 months
- Cost: 100GB * 0.10 USD/GB/month * 0.01388889 months = 0.01388889
- Amount on the bill without VAT: 0.01 USD
- You create a 100GB network volume priced at 0.10 USD/GB/month for 10 hours and update network volume size later
- Assumptions:
- Initial price: 0.10 USD/GB/month
- Initial volume size: 100GB
- Initial usage time: 10 hours
- New volume size: 150GB
- New usage time (since increasing the size): 20 hours
- To calculate the exact cost, we need to divide the usage into 2 phases:
Phase 1: Size with 100GB
Usage time: 10 hours
Cost calculation: As calculated in the previous example, the result is 0.01388889 USD.
- Phase 2: Size with 150GB
- Usage time: 20 hours
- Cost calculation:
- Convert time to months: 20 hours / (30 days/month * 24 hours/day) = 0.02777778 months
- Calculate cost: 150GB * 0.10 USD/GB/month * 0.02777778 months = 0.04166667 USD
- Total cost:
- Total cost: 0.01388889 USD (phase 1) + 0.04166667 USD (phase 2) = 0.05555556 USD
- Amount on the bill without VAT: 0.05 USD (not rounded)
VAT Calculation for Greennode Service Bills
Overview:
- VAT applicability: A 9% Goods and Services Tax (GST) is levied on customers with legal entities registered in Singapore who use Greennode (LG Entity, Singapore) services.
- Other customers: No GST is applicable.
VAT Calculation Steps:
Determine the customer's jurisdiction:
- Refer to the contract or invoice to identify the country where the customer's business is registered.
- If the business is registered in Singapore, proceed to step 2. Otherwise, no GST is applicable.
Calculate the GST amount:
- Formula: GST amount (USD) = Amount on the bill without VAT (USD) * 9%
Calculate the total amount due:
- Formula: Total amount due (USD) = Total service value (USD) + GST amount (USD)
Example:
Assuming a customer with a Singaporean legal entity uses Greennode services with a total service value of 7,000 SGD.
- Amount on the bill without VAT (USD) = 7,000 USD
- GST amount (USD) = 7,000 USD * 9% = 630 USD
- Total bill amount included VAT (USD) = 7,000 USD + 630 USD = 7,630 USD