All posts
#prompt-caching

prompt-caching

2 articles

Definition

Prompt Caching: A technique that stores computed key-value tensors from a prompt's prefix so they can be reused on subsequent API calls, reducing cost and latency.

Full definition