I described semantic caching in Redis as a way to return stored answers for queries with the same meaning, using cosine similarity to match them.
I said harder queries need a stricter match, so a near miss on a reasoning question still goes to the model.
In my test runs, cache hits took about 20 ms at $0.
I reported cost savings of 35% to 90%, depending on how often queries repeat.
I said the work was still missing a proper eval set and a vector index.
I asked, “What would you cache first?” while sharing my LLM cache test results and code.
I reported 35% to 90% cost savings depending on how often queries repeat.