All Questions
Llm Gateway Cost And Caching easy

Finance asks for LLM spend broken down by tenant and by product feature. Today the gateway only sees the total on the provider's monthly invoice. What should you do?

  1. A Attach tenant and feature tags to every call and log token counts per request.
  2. B Split the monthly provider invoice across tenants in proportion to request counts.
  3. C Give each tenant a separate provider API key and read each key's usage report.
  4. D Estimate each feature's spend from its share of gateway CPU time and bandwidth.

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

Get the app

Related questions