Prompt Caching for AI Agents: How to Cut Input Costs
How prompt caching works on Claude and OpenAI, how to order an agent's prompt so the cache actually hits, and how to measure your hit rate from the usage fields.
1 post on caching for people building AI agents.
How prompt caching works on Claude and OpenAI, how to order an agent's prompt so the cache actually hits, and how to measure your hit rate from the usage fields.