Where it helps
Many AI features send the same large block every time: a 3,000-word policy, a product catalog, a style guide or a long list of tool definitions, followed by one short user question. Without caching, the model reads the whole block again on every call. With it, the provider keeps the processed form for a limited time and reuses it when the same prefix arrives.
How to structure prompts
Put stable material first and changing material last. A user's question placed before the policy text breaks the match. Keep the stable block byte-for-byte identical; even a timestamp inserted at the top defeats the cache.
Limits to know
Cached entries expire after a short period, there are minimum lengths, and the discount rules differ between providers and change over time, so read the current documentation before forecasting savings. Caching changes cost and speed, not the answer itself.
Questions, answered
No. It only avoids recomputing the same input; the model still responds to the full prompt.
No. Answer caching stores the final reply for identical questions; prompt caching reuses work on the input and still generates a fresh reply.