Auditing Prompt Caching in Language Model APIsAuditing Prompt Caching in Language Model APIs
The researchers develop a statistical audit method and detect prompt caching shared across users at seven language model API providers, including OpenAI, which may lead to privacy leakage of users' prompt content. Prompt caching makes cached prompts process faster, and the resulting timing differences constitute a side-channel risk: an attacker can identify cache-hit prompts from faster API response times and thereby learn information about other users' prompts. The authors also find that such timing differences may leak model architecture information, with evidence indicating that OpenAI's embedding model is a decoder-only Transformer, which had not been publicly disclosed before. The paper emphasizes that because prompt caching may lead to privacy leakage, transparency from API providers about caching policies is important.
Related events and news
1 events · 1 news mentions
News that mentions this paper
Cloudflare 披露 GLM-5.3 跨租户缓存泄露并修复
- CSA Labs Researchgives the paper's title当推理引擎泄露时:Cloudflare GLM-5.3 跨租户 KV 缓存暴露
L., Kuditipudi, R., Liang, P., and Hashimoto, T. “Auditing Prompt Caching in Language Model APIs.” Proceedings of the 42nd International Conference on Machine Learning (ICML), PMLR 267, 2025.