Request fees vs bandwidth
Small responses stay request-bound, big JSON or media payloads tip the bill toward egress.
Home / Dev & AI / API & Backend Cost / REST API Cost Calculator
API & Backend Cost
Estimate the monthly cost of a REST API. Enter request volume, per-request pricing and average response size, and see request fees, bandwidth and how the bill grows.
Estimated monthly cost
$0
Request fees vs bandwidth
Small responses stay request-bound, big JSON or media payloads tip the bill toward egress.
Cost as traffic grows
What this endpoint costs if monthly volume doubles, 5x or 10x.
REST is the most common API style, where each endpoint maps to a resource and clients make one HTTP request per action. Because REST is request oriented, its cost scales cleanly with the number of calls, plus the bandwidth of the JSON responses. Managed REST gateways often price around $3.50 per million requests, which is the default here.
This REST API cost calculator combines the per request gateway fee with bandwidth from your average response size to give a monthly total. REST APIs can be chatty, since fetching related data often means several round trips, so watch how call volume adds up across a typical user session.
For 5,000,000 REST requests a month at $3.50 per million with 40 KB responses at $0.09 per GB, request cost is 5 × $3.50 = $17.50 and bandwidth is 200 GB × $0.09 = $18, for about $35.50 a month.
Managed REST gateways cost around $3.50 per million requests plus bandwidth. A few million requests a month typically runs tens of dollars. Enter your volume above.
Because each resource is a separate endpoint, loading a screen often needs several requests. That raises call volume compared with a single aggregated query.
GraphQL can reduce round trips by fetching exactly what a screen needs in one request, but each query costs more compute. Compare with the GraphQL cost calculator.
Cache common GET responses, use an HTTP gateway instead of REST where features allow, compress payloads, and combine chatty calls into batch endpoints.
They are 2026 estimates. Confirm your gateway and egress rates for an exact figure.