How to use this calculator
- Enter monthly billable usage.
- Enter the effective usage charge from the bill.
- Add fixed and other attributable platform costs.
- Use total cost and fixed-cost share to explain the normalized unit cost.
Calculate api gateway unit cost by combining fixed platform spend and usage charges, then normalizing the total against request volume.
The main result normalizes monthly API Gateway spending so periods or providers can be compared at a common usage unit.
Enter an effective variable rate that already reflects tiers and free allowances. Request count alone does not capture compute integration, data transfer, or caching costs unless placed in other cost.
At 100 million requests, $1.20 per million, $250 fixed cost, and $100 other cost, total monthly cost is $470. Unit cost is $0.0047 per 1,000 requests, and 74.47% of spend is fixed or otherwise non-volume based.
Include request charges, fixed gateway fees, and other attributable costs such as support or data processing.
It produces a readable normalized unit that can be compared across periods with different request volumes.
Only if you add that spend to other monthly cost.
Total cost is still shown, but cost per 1,000 requests is not applicable because the divisor is zero.
Use billable volume for billing reconciliation or total served volume for economic efficiency, but label and apply the choice consistently.
| Variable | Meaning | Unit |
|---|---|---|
| Q | Monthly requests | million |
| r | Effective usage rate | $/million |
| F | Fixed plus other cost | $/month |
| UC | Normalized unit cost | $/1,000 requests |