Series · 2 parts · 36 min total
LLM Cost in Production
Where an LLM bill comes from, and the changes that multiply it.
To be written: who this series is for, in one sentence.
The parts
- 1Deep dive
Same Prompt, Second Request, 20x Cheaper: How LLM Prompt Caching Works
The model did not get cheaper. It skipped work it did one minute earlier.
- 2Pattern study
One Timestamp, a 17x Input Bill: How LLM Prompt Caching Breaks Without an Error
The cache matches the prompt only up to the first byte that changes.
Get new parts by email
One production failure explained every two weeks. Free.