Two API requests can count the same at the gateway and consume very different resources. A simple record lookup might use a warm cache, while an export queues many database reads and stores a large file. List the work each costly endpoint can create. Use that information to decide where budgets protect shared availability and product costs.
Set limits at the layers that spend resources
At the edge, limit basic request dimensions such as body size and concurrent connections. Within the application, control page length, export size, job concurrency and the amount of expensive work an account can queue. Where a feature calls a paid service, give that downstream operation its own budget. Match the scope to whoever shares the resource. A budget may apply to a user, a tenant, an integration or the entire service.
Explain what happens at capacity
Use a clear error or queued status and give callers enough information to retry reasonably. Tell clients when to slow down where the interface supports it. Cap application retries so timeouts do not multiply the original load. Agree on how an authorized owner can request a higher quota for an occasional legitimate workload and how the extra capacity will be observed.
Review one report from end to end
Estimate the cost of a normal report and a large but valid one. Follow both through the request, queue, database and storage. Confirm metrics show which limit applies and whether usage patterns differ by account. A useful operating check shows the team which constrained resource was protected and whether legitimate users could still finish their work. Separate application capacity alerts from quota notifications so a healthy limit being enforced does not look like an outage.