# Pricing

The pricing metrics for Shadow Service include memory, invocation, and traffic.

# Memory

Shadow Service offers 3 sizes of memory and is billed according to the hours of running at different unit rates. Charges are billed hourly and can be viewed in Billing - Charges by Service with the billing type Value-Added Services.

SpecificationPricing
1 GB0.08 USD per hour
2 GB0.15 USD per hour
4 GB0.30 USD per hour

# Invocation

The invocation includes every message published from the device or client, and every API call.

  • The unit rate is 0.04 USD per 10,000 requests.
  • When each 10,000 calls have been invoked, the charges are billed at that exact hour, which can be viewed in Billing - Charges by Service with the billing type Value-Added Services.
  • At the end of each month, all unbilled invocations under 10,000 will be billed at unit rate. At the beginning of the following month, the invocation will be counted from 0.
  • If the service has been deleted, any unbilled invocation will not be billed.

# Traffic

The invocation will generate traffic, including the messages that the device or client publish or subscribe, as well as the API calls from the application. Traffic will be attributed as part of the traffic of deployment and will be shared using the free monthly traffic. The excess traffic will be billed at $0.15/GB.

# Billing example

ScenarioSpecification / PricingInvocationTrafficCharge
1GB, 30 days1GB | $ 0.08 per hour1,005,00010GB (In Free Traffic)$ 61.64 = 0.08 * 24 * 30 + 101 * 0.04 + 0
2GB, 30 days2GB | $ 0.15 per hour15,000,000150 GB(Excess Traffic: 50 GB)$ 175.5 = 0.15 * 24 * 30 + 1500 * 0.04 + 50 * 0.15
1GB 10 days1GB | $ 0.08 per hour56,0000.5 GB (In Free Traffic)$ 19.4 = 0.08 * 24 * 10 + 5 * 0.04 + 0

Tip

The billing examples are for reference only.