Updated 17 April 2026
API Gateway Cost Calculator: Estimate Your Monthly Bill Across 6 Providers
Enter your monthly request volume, payload size, and caching needs to see your exact bill on AWS, Azure, Google Apigee, Kong Konnect, Cloudflare Workers, and Traefik Hub. Multi-provider, side-by-side, with data transfer fees included.
API Gateway Cost Calculator
Enter your monthly usage to see estimated costs across all providers.
10.0M requests
95.4 GB data transfer
Response cache for frequently called endpoints
Potential savings: $38.12/month by choosing Cloudflare API Gateway over AWS API Gateway at your current usage.
Estimates include request charges, data transfer, and caching. WebSocket, WAF, custom domain, and support costs are excluded. Verify with official pricing pages.
How This Calculator Works
What the calculator includes
- Request fees at official list prices (April 2026)
- Outbound data transfer at your specified payload size
- Caching costs where you specify a cache size (AWS REST API, Azure)
- Cloudflare zero-egress pricing modelled correctly
- Kong Konnect per-request rate ($34.25/million)
- Traefik Hub per-service pricing
What the calculator does not include
- Kong Konnect per-service base fee ($105/service/month) - add this separately
- Enterprise discounts (negotiate with vendors for 1B+ requests)
- Multi-region deployment overhead
- Self-hosted engineering time (see self-hosted cost guide)
- WAF add-on fees (significant for AWS - $0.60/million + $5/rule/month)
- AWS Lambda authorizer invocations (depends on your auth pattern)
- Support tier costs (AWS Support, Cloudflare priority support)
Worked Scenarios: Best Option at Common Scales
Startup
5M requests/month, 4 KB avg payload
Winner
Cloudflare Workers (Free) - $0/month
Under the permanent free tier. Zero cost.
Runner-up
AWS HTTP API - ~$6/month
Growth-stage SaaS
50M requests/month, 10 KB avg payload
Winner
Cloudflare Workers Paid - ~$17/month
Zero egress fees save ~$45/month vs AWS at this payload size.
Runner-up
AWS HTTP API - ~$98/month
Enterprise
500M requests/month, 20 KB avg payload
Winner
Cloudflare Enterprise (negotiated) - ~$140/month
Zero egress saves $900+ vs AWS. Enterprise rate ~$0.15/M requests.
Runner-up
AWS HTTP API - ~$1,850/month
Why API Gateway Pricing Is Hard to Calculate Manually
Most providers have five or more pricing dimensions that interact. The common mistake is looking only at the request fee and ignoring the other components.
Request fee
The headline number. AWS HTTP API: $1/M. AWS REST API: $3.50/M. Cloudflare: $0.30/M. But this is never the only cost.
Data transfer
Charges for every GB sent from the gateway to the internet. AWS and Azure charge $0.09/GB. At 10 KB payloads and 100M requests, that is 954 GB = $85.86. Cloudflare charges $0.
Caching
AWS REST API caches at $0.028/GB/hour. A 10 GB cache costs $20.16/month. This can save thousands in request fees for read-heavy APIs with repeated responses.
WAF and security
AWS WAF: $5/rule/month + $0.60/million requests. A 10-rule WAF adds $50+ to your bill. Cloudflare includes WAF in Business and Enterprise. Kong includes rate limiting with all plans.
Base fees
Kong Konnect charges $105/service/month before any requests. Traefik Hub charges per managed service. Azure APIM charges a fixed hourly fee per gateway unit. These dominate at low volumes.
Support tiers
AWS Business Support: 10% of monthly bill (minimum $100). Cloudflare Priority Support: included in Business ($200/month). These costs are real and often overlooked in pricing comparisons.
Cheapest Provider at Each Traffic Level
| Monthly volume | Cheapest option | Est. cost | Notes |
|---|---|---|---|
| Under 3M/month | Cloudflare (Free) | $0 | Permanent free tier, no credit card |
| 3M-10M/month | Cloudflare Workers Paid | $5/month | 10M included, zero egress |
| 10M-50M/month | Cloudflare Workers Paid | $5-17/month | AWS HTTP API is runner-up at $20-$100/month |
| 50M-500M/month | Cloudflare Workers Paid/Business | $17-200/month | AWS at 10x-50x more due to egress fees |
| 500M+/month | Cloudflare Enterprise (negotiated) | ~$150-400/month | $0.15/M negotiated; AWS: $946+/month |
Assumes REST APIs with 10 KB average payload. Cloudflare zero-egress advantage grows with larger payloads. Enterprise volumes assume negotiated pricing. See individual provider pages for full breakdowns.
Explore Each Provider in Depth
AWS API Gateway
HTTP API $1/M vs REST $3.50/M. Data transfer, caching, WebSocket pricing.
Azure API Management
Consumption vs Developer vs Standard vs Premium tier costs explained.
Cloudflare Workers
3M free forever. $0.30/M beyond. Zero egress. API Shield breakdown.
Kong Konnect
$105/service/month + $34.25/M requests. OSS, Enterprise, Konnect compared.
Google Apigee
$20/M pay-as-you-go. Standard $500/month. Enterprise $2,500+/month.
API Gateway vs Load Balancer
ALB crossover point, when to use which, and cost at scale.