What is prompt caching?
IntermediateConceptLLM fundamentals
Answer
Prompt caching lets a provider or server reuse the processed prefix of a prompt, such as a long system prompt or a large document, across requests. Cached input tokens are cheaper and faster. Put stable content first and changing content last so the prefix stays cacheable.