I also considered whether a system might omit earlier chat context for some questions. This was speculation about a possible policy, not confirmation that any system implements it.
I said it did not look impossible that after some time of the last interaction, if a (cheap to run) model states that this looks like a standalone questione, the context is not used for this question.
I said omitting context could be a big saving, since attention is quadratic is a big saving.
I made this speculative post on 2025-06-24 20:25 UTC.
I have criticized prompt caching because it can disrupt the relationship between a question and the conversation around it. My concerns include Gemini’s replies, a possible embedding-and-reply cache, and the risk of serving an old answer to a question that only looks similar.
I said prompt caching is affecting LLM user experience in a severe way.
I described Gemini regurgitating instantaneously a reply slightly related to my question for A few weeks.
On 2025-06-24, I said prompt caching is ruining LLMs.
I said Gemini applies caching in the middle of a chat if a question looks generic and is cached, even if it is quite obviously related to the previous context.
I clarified that by prompt caching I do not mean KV caches, but caching the embedding of questions and the reply.
I described this cache as serving an old reply so that no tokens are generated AT ALL when a very similar question is seen again.
question -> embedding cache.
question2 -> search -> match -> serving old replies.
I speculated that someone might have been tempted to use KV caching for extremely similar questions that are just a bit rephrased, but said, “I hope I'm wrong.”
I raised another, more problematic possibility: people reusing the same chat for a long time.