Prompt caching saves tokens by:
- Reusing a precomputed prefix on next call
- Compressing the prompt to fewer tokens
- Removing duplicate user words
- Switching to a smaller model
Show answer and solution
Correct answer: A. Reusing a precomputed prefix on next call
Cached prefix tokens are precomputed and reused on subsequent calls within the cache window, cutting cost ~90% on hits.