Most production prompts repeat themselves. A support assistant sends the same system prompt and tool definitions on every request. An agent re-sends its whole conversation history on every step. A document question-answering app sends the same long document with each question. Without caching, the model processes all of that from scratch every time.
Prompt caching removes the repetition. OpenAI's documentation describes it as reusing work "when requests share the same prompt prefix," with three benefits: less computation, cheaper input tokens and less time spent processing input before the response starts (OpenAI, Prompt caching). The prefix is the unchanged run of tokens at the beginning of the prompt. When a later request starts with the same prefix and a matching cache entry still exists, the model skips straight to the part that differs.
The model still generates a fresh answer. Only the work of reading the repeated prefix is reused, so caching changes cost and speed, not output.



