Prompt Caching Cut My Claude Bill by 80%: The Mistakes That Were Costing Me
A developer discovered that prompt caching was not working in their Claude API calls due to three silent bugs: a dynamic date in the system prompt, unsorted JSON keys, and per-user tool lists. After fixing these issues b…