I turned on prompt caching for an agent loop that resends a 12K-token system prompt on every turn. Obvious win, right? Input tokens are the whole bill in a tool loop.

Source: [Dev.to](https://dev.to/ji_ai/prompt-caching-why-cachecontrol-writes-but-never-reads-5c57)

Sponsored