Skip to content
AI & Machine Learning

Prompt Caching

Definition

Prompt caching lets a model provider reuse the processing of a prompt's unchanging opening part, such as long instructions or a document, across requests. Requests that share that opening start answering sooner and cost less.

Try it: work out what caching saves

Case study

Worked example

Prompt caching savingsPro