Prompt caching, explained: the cheapest way to cut LLM costs

If your prompts share a long, stable prefix — a system prompt, a document, a tool schema — prompt caching can cut input costs dramatically. Here is how it works and when it pays off.