All Questions
Llm Gateway Cost And Caching easy

Your gateway limits each tenant to 100 requests per minute, yet a few tenants dominate the monthly bill by sending very large documents and asking for long outputs. Which change best controls cost?

  1. A Lower the per-tenant request limit so heavy tenants send fewer calls per minute.
  2. B Cap the concurrent connections per tenant at the gateway's load balancer layer.
  3. C Add a semantic cache so repeated document summaries are served without a call.
  4. D Enforce quotas in tokens, with separate limits for input and output tokens.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions