Skip to content
Preptima
hardScenarioDesignMidSeniorStaff

You serve millions of prompts an hour and the LLM bill doubled. Where does the money go, and what do you cut?

Split LLM cost by feature and by line: uncached input, cached input, output, retries and hidden callers. Find which line moved before cutting anything. A collapsed prompt-cache hit rate or longer replies can double a bill with no change in traffic; fix those before you downgrade a model.

5 min readUpdated 2026-10-10

Answer

Short answer

Find the line that moved before you cut anything. Use token accounting to break LLM cost down by feature and by line: uncached input, cached input, output tokens, retries, and callers nobody budgeted for. A collapsed prompt-cache hit rate or longer replies can double the bill with traffic unchanged, and both are cheaper to fix than switching to a smaller model.

Was this answer helpful?

Likely follow-ups

  • Your cache hit rate is high but cost per request still rose. What else changes the input line?
  • How would you attribute spend to a tenant when one prompt serves several of them?
  • Finance wants a hard monthly ceiling. Where do you enforce it, and what does a user see when it is hit?
  • Which of your cuts would you put behind an eval gate, and which ship without one?

Related questions

Masterclass guide