Metered Billing
Table of contents
Overview
Metered Billing is a type of usage-based billing, where the fee is based on resource usage over time. Metered billing can be enabled by modules that automatically support this feature and had a range of variables that can be measured. Alternatively, HostBill users may define their own variables for any product or service, regardless of the provisioning module used, and add resource usage values using API.
Billing schemes
There are multiple billing schemes available for Metered Billing, described below.
All examples were created using this pricing configuration:
Starting QTY | Ending QTY | Unit price |
|---|---|---|
0 | 10 | 0.00 |
10 | 50 | 0.10 |
50 | ∞ | 0.20 |
Tiered scheme
Every unit charge is calculated with each measurement based on its own tier
Example
| Logged usage | Charge | Total Usage | Total Charge | Comment |
|---|---|---|---|---|---|
1 | 1 | 0 | 1 | 0 | 1st pricing group |
2 | 2 | 0 | 3 | 0 | 1st pricing group |
3 | 2 | 0 | 5 | 0 | 1st pricing group |
4 | 4 | 0 | 9 | 0 | 1st pricing group |
5 | 11 | 1,1 | 20 | 1,1 | 2nd pricing group |
6 | 20 | 2 | 40 | 3,1 | 2nd pricing group |
7 | 55 | 11 | 95 | 14,1 | 3rd pricing group |
8 | 25 | 2,5 | 120 | 16,6 | 2nd pricing group |
9 | 9 | 0 | 129 | 16,6 | 1st pricing group |
10 | 1 | 0 | 130 | 16,6 | 1st pricing group |
Overage tiers
In this scheme each expected measurement is low (i.e. hourly bandwidth).
Example
| Logged usage | Charge | Total Usage | Total Charge | Comment |
|---|---|---|---|---|---|
1 | 1 | 0 | 1 | 0 | starting with 1st group |
2 | 2 | 0 | 3 | 0 |
|
3 | 2 | 0 | 5 | 0 |
|
4 | 4 | 0 | 9 | 0 |
|
5 | 11 | 0,1 | 20 | 0,1 | (2nd group price) * (11 - (1st group end qty)) |
6 | 20 | 1 | 40 | 1,1 | (2nd group price) * (20 - (1st group end qty)) |
7 | 55 | 1 | 95 | 2,1 | (3rd group price) * (55 - (2st group end qty)) |
8 | 25 | 5 | 120 | 7,1 | (3rd group price) * 25 |
9 | 9 | 1,8 | 129 | 8,9 | (3rd group price) * 9 |
10 | 1 | 0,2 | 130 | 9,1 | (3rd group price) * 1 |
Volume scheme
All units charge is calculated based on total count in period and related bracket
Example
| Logged usage | Charge | Total Usage | Total Charge | Comment |
|---|---|---|---|---|---|
1 | 1 | n/a | 1 | 0 | starting with 1st pricing group |
2 | 2 | n/a | 3 | 0 |
|
3 | 2 | n/a | 5 | 0 |
|
4 | 4 | n/a | 9 | 0 |
|
5 | 11 | n/a | 20 | 1,0 | total usage reached 2nd pricing group |
6 | 20 | n/a | 40 | 3,0 |
|
7 | 55 | n/a | 95 | 17,0 |
|
8 | 25 | n/a | 120 | 22,0 |
|
9 | 9 | n/a | 129 | 23,8 |
|
10 | 1 | n/a | 130 | 24,0 |
|
If your first pricing group has no charge, volume scheme will not include values logged under it in total charges.
In above example, total charge is calculated without first 10 units of usage
Peak scheme
Only highest measurement is billed with charge based on related bracket
Example
| Logged usage | Charge | Total Usage | Total Charge | Comment |
|---|---|---|---|---|---|
1 | 1 | n/a | 1 | 0 | starting with 1st pricing group |
2 | 2 | n/a | 2 | 0 |
|
3 | 2 | n/a | 2 | 0 |
|
4 | 4 | n/a | 4 | 0 |
|
5 | 11 | n/a | 11 | 1,1 | highest usage reached 2nd pricing group |
6 | 20 | n/a | 20 | 2 | highest usage reached 2nd pricing group |
7 | 55 | n/a | 55 | 11 | highest usage reached 3rd pricing group |
8 | 25 | n/a | 55 | 11 |
|
9 | 9 | n/a | 55 | 11 |
|
10 | 1 | n/a | 55 | 11 |
|
Stair-step scheme
Total cost is calculated based on price bracket, charge is for entire bracket not certain units
Example
| Logged usage | Charge | Total Usage | Total Charge | Comment |
|---|---|---|---|---|---|
1 | 1 | 0 | 1 | 0 | starting with 1st pricing group |
2 | 2 | 0 | 3 | 0 |
|
3 | 2 | 0 | 5 | 0 |
|
4 | 4 |