Prompt Caching
Also known as: prefix caching
Quick definition
Reusing previously processed prompt content to reduce repeated computation.
Reusing previously processed prompt content to reduce repeated computation.
Cache behavior depends on the provider and exact repeated prefix; changing that prefix may eliminate the benefit.
Example: A chatbot reuses a large policy manual prefix across hundreds of questions.
Common use cases: High-volume inference and long system contexts.
Examples
- A chatbot reuses a large policy manual prefix across hundreds of questions.
Use cases
- High-volume inference and long system contexts.
Frequently asked questions
What is Prompt Caching?
Reusing previously processed prompt content to reduce repeated computation.
What should I know about Prompt Caching?
Cache behavior depends on the provider and exact repeated prefix; changing that prefix may eliminate the benefit.