I put a timestamp in my system prompt, and the cache never hit
I did not know prompt caching existed. I knew the API billed me per token, and I knew a long conversation cost more than a short one. What I did not know was that providers keep the processed prefix of a prompt around and charge a fraction of the price to reuse it. So when I looked at the usage lin…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-04 08:05 · DEV Community — AI
I put a timestamp in my system prompt, and the cache never hit