Skip to main content

Cost explorer

Priya has roughly $4,000 a month and peak volume is about 45,000 tickets. Whether this project ships comes down to one decision, and this is the decision. Move the volume, flip caching off, and watch the budget bar.

Token counts are measured from real runs of this repo against claude-opus-5. Prices are list rates at the time of writing, mirrored from src/config.ts. Verify against current pricing before quoting these numbers to anyone.

Route

One call. Classify and route.

Monthly tickets

45,000 tickets a month

Prompt caching

The 3,358-token prefix is role instructions plus the full policy handbook.

Per request
$0.02
Per month
$1,120
Without caching
$932

Inside the $4,000 monthly budget, at 28% of it.

Where the money goes, per request
  • Prefix (handbook + role) $0.02
  • Variable input $0.00056
  • Output $0.00335

Caching moves the prefix from full rate to 0.1x on every request after the first. Turn caching off and watch the blue segment take over the bar.

The exercises behind this are in Lab 5, prompt caching and cost. For the budget in context, see the scenario.