The Practitioner's LLM Curriculum ← Week 2 · Prompt Cost Calculator
Interactive · Week 2 · Sections 3, 5

Budget your context like the resource it is.

Most teams underprice their LLM bill by an order of magnitude — and most of them could cut it by 60–80% by enabling prompt caching alone. Drag the component sliders, pick a model, set a volume, and see what your real cost looks like with and without caching. The checkboxes mark which components are static enough to cache.

Context components
Total input tokens 0
Cacheable 0 (0%)
Settings
Provider · model
Volume 100/min
Requests per minute. Monthly = volume × 60 × 24 × 30.
Cache hit rate 90%
Fraction of requests that find a warm cache. Production teams typically see 75–95% once the prefix is stable.
Per request · no cache
Per request · with cache
Monthly · no cache
at current volume
Monthly · with cache
Per-request cost breakdown · with cache

What's happening here