{"slug":"prompt-caching","article":{"kind":"article","title":"Prompt caching","category":"AI Engineering Subjects","entityType":"pattern","homepage":"https://chronoscope.hopperlabs.ai/#/prompt-caching","summary":"Prompt caching reuses computation for a previously processed prompt prefix.","sources":["source:public-d305a9ad8938a198","source:public-595351b5c7084010","source:public-2b79e57daa5e2315","source:ref-436be9e434b1"],"relations":[{"rel":"covered-in","to":"article:ai-engineering"},{"to":"article:model-serving","rel":"shares-milestones"},{"to":"article:continuous-batching","rel":"shares-milestones"},{"to":"article:deepseek-ai","rel":"shares-milestones"}],"id":"article:prompt-caching","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},"sections":[{"kind":"section","article":"article:prompt-caching","title":"Prompt Cache reuses attention states across prompts","text":"The researchers precomputed attention states for reusable prompt modules and measured the reduction in time spent processing repeated context.","order":0,"sources":["source:public-d305a9ad8938a198","source:public-595351b5c7084010"],"id":"section:chronoscope-prompt-caching","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"}],"events":[{"kind":"event","title":"Prompt Cache reuses attention states across prompts","date":"2023-11-07","articles":["article:prompt-caching"],"detail":"The researchers precomputed attention states for reusable prompt modules and measured the reduction in time spent processing repeated context.","chronoscope":"https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2023-prompt-cache-reuses-attention-states-across-prompts","sources":["source:public-595351b5c7084010"],"ownerRef":{"schemaVersion":"hopper.exact-resource-ref.v1","productId":"hopper.domain-app.chronoscope","resourceType":"chronoscope.pack-entry","resourceId":"ai-engineering:2023-prompt-cache-reuses-attention-states-across-prompts","version":"29199f6068c0848e5fab","digest":"sha256:5a5930b82ea907d9fc0300241bb9fc77b9a850620bb5ec73590bd7a773f2ec65"},"id":"event:chronoscope-ad12bac75c69eab3","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"event","title":"OpenAI offers automatic prompt caching in its API","date":"2024-10-01","articles":["article:prompt-caching"],"detail":"When a request reused a long prompt prefix, the service could reuse work from an earlier request and report how many input tokens were cached.","chronoscope":"https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2024-openai-offers-automatic-prompt-caching-in-its-api","sources":["source:public-2b79e57daa5e2315"],"ownerRef":{"schemaVersion":"hopper.exact-resource-ref.v1","productId":"hopper.domain-app.chronoscope","resourceType":"chronoscope.pack-entry","resourceId":"ai-engineering:2024-openai-offers-automatic-prompt-caching-in-its-api","version":"29199f6068c0848e5fab","digest":"sha256:d057d71f64108d9690492949d0b306cec0eb4f515c7751133d5db5226ba2175a"},"id":"event:chronoscope-c02e6169217a1a67","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"event","title":"vLLM previews its V1 scheduler and prefix cache","date":"2025-01-27","articles":["article:prompt-caching"],"detail":"The V1 architecture unified scheduling for prompt and decode work and enabled prefix caching by default, including multimodal inputs.","chronoscope":"https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2025-vllm-previews-its-v1-scheduler-and-prefix-cache","sources":["source:ref-436be9e434b1"],"ownerRef":{"schemaVersion":"hopper.exact-resource-ref.v1","productId":"hopper.domain-app.chronoscope","resourceType":"chronoscope.pack-entry","resourceId":"ai-engineering:2025-vllm-previews-its-v1-scheduler-and-prefix-cache","version":"29199f6068c0848e5fab","digest":"sha256:510aa750f9fcabd95604ef6abbcb3449d49a98beedcbf84461fbfb2dad2703a6"},"id":"event:chronoscope-44cc00db7c399ada","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"}],"examples":[],"links":[],"sources":[{"kind":"source","title":"Prompt caching in Chronoscope","url":"https://chronoscope.hopperlabs.ai/#/prompt-caching","id":"source:public-d305a9ad8938a198","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"source","title":"Prompt Cache reuses attention states across prompts","url":"https://arxiv.org/abs/2311.04934","id":"source:public-595351b5c7084010","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"source","title":"OpenAI offers automatic prompt caching in its API","url":"https://openai.com/index/api-prompt-caching/","id":"source:public-2b79e57daa5e2315","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"source","title":"vLLM previews its V1 scheduler and prefix cache","url":"https://vllm.ai/blog/2025-01-27-v1-alpha-release","id":"source:ref-436be9e434b1","from":"2026-11-25","revision":"20585ad96f8a42f359db8075c5966dc2f17a11f966f4395d28677f15b20f36c0","recordedAt":"2026-11-25T10:40:20.496Z"}],"related":[{"slug":"ai-engineering","title":"AI Engineering","category":"Agent engineering","entityType":"collection","rel":"covered-in"},{"slug":"model-serving","title":"Model serving","category":"AI Engineering Subjects","entityType":"pattern","rel":"shares-milestones"},{"slug":"continuous-batching","title":"Continuous batching","category":"AI Engineering Subjects","entityType":"pattern","rel":"shares-milestones"},{"slug":"deepseek-ai","title":"DeepSeek","category":"AI Engineering Subjects","entityType":"organization","rel":"shares-milestones"}],"backlinks":[{"slug":"continuous-batching","title":"Continuous batching","category":"AI Engineering Subjects","entityType":"pattern","rel":"shares-milestones"}],"history":[{"id":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z","message":"Publish the illustrated encyclopedia and connect verified public subject catalogs"}]}
