Загрузка видео...
Не удалось загрузить видео
Redis built a cache that cuts LLM costs by 90%! Production LLM apps do not receive completely new questions every time. A customer-support assistant might receive all three of these: - "Can I get a refund after buying the monthly plan?" - "Is the monthly subscription refundable?" - "Can... show more
163,805 просмотров • 5 дней назад •via X (Twitter)
Комментарии: 24

Normalizing the question before embedding it (lowercase, strip order IDs and names) lifts the hit rate a lot on support traffic.

Yeah, makes sense since names and order IDs can push otherwise identical questions far in embedding space.

I think customer services apps have been using this trick for a long time and it has worked very poorly. I hope that it's going to work better this time.

Prefix caching still sends the request to the LLM, semantic caching can skip the LLM call entirely. The hard part is deciding when two different questions can safely share the same answer.

This works when the answer is a function of the question alone. Inside a conversation it usually is not: the same sentence has a different correct answer depending on the three turns before it. The cache key has to include the state, not just the embedding of the question.

utm_source=influencer&utm_medium=paid-post&utm_campaign=2026-09-ai_in_production-influencer&utm_content=a-chawla-x Hey, please mark paid collabs clearly using the X sponsored post feature.

The 90% depends on cache-hit quality: semantic similarity needs strict thresholds, or one customer's answer becomes another customer's confidently wrong answer.

This cache approach could transform how we handle repetitive queries in LLMs.

Redis cutting LLM costs by 90% with response caching is the kind of boring infra win that actually matters

It goes to what we usually do in systems. Redis - for frequently used stuff (RAM). postgres/sql- sits on the disks/SSDs LV Cache- sits inside the GPUs.

90% cost cut is huge

How does this handle “Do X” vs “Don’t do X”? Vector similarity is not enough in most of the cases “I want to know how to get a refund” “I DONT want to know how to get a refund” might be the clearest example

@grok summarise and briefly explain the different caches for llms

yeah and the part that bites you is policy changes. your refund terms update, semantic cache has no idea, keeps serving the stale answer until someone notices a support ticket contradiction.

The long-term impact of digital privacy will depend on governance, regulation, and responsible innovation in real-world applications.

depends what % of those calls are actually narrow and constant, those are worth owning not just caching

In the early days of the internet, bandwidth was expensive, so caching became a very interesting solution. Players like McAfee, Cisco, CacheFlow, Bluecoat, and Symantec did a lot of business there. I think it looks like this business model of caching AI is going to be another big

Redis LangCache demonstrates an important distinction. Semantic caching can avoid the entire LLM call, not just reuse a prompt prefix. The real production challenge is deciding when two questions are safe to treat as equivalent. That’s where MonkDB can add value by combining vector similarity with tenant, role, policy version, data scope, freshness, and provenance checks. The result is not just a faster cache, but a governed response reuse layer that knows when to reuse an answer and when to call the model again. The 90% savings claim will depend on the workload and safe cache hit rate, but the architectural direction is absolutely compelling. #LLM #SemanticCaching #AIInfrastructure

i write complaints verbatim before fixing; near-duplicate support questions show whether a cache understands intent or just matches strings.

客服场景确实吃这套 很多问题就是换个问法 语义缓存命中率能上去 但退款退款政策这种一变就得整片失效 缓存失效策略才是真坑

We can keep using pleasantries like "Hello!" and "Thank you!" without the burden of AI compute.

Caching exact matches misses how users actually write to support chats, which never repeat identically.

The four-layer framing is right, and the last layer is the one that changes the risk profile rather than the bill. KV, prefix and prompt caching are exact matches: same tokens in, same tokens out. Deterministic, auditable, purely an economics decision. Semantic caching is a fuzzy match — you serve a stored answer because a different question was close enough. That's the first layer where a human choice (the similarity threshold) silently becomes production behaviour. Two things follow. It's largely invisible to your evals — most harnesses sample live inference, so the path answering the bulk of your traffic never gets graded. And it's the layer with no natural owner: cost engineering tunes it, but nobody owns the policy for what may be served from memory, or how stale a cached answer is allowed to be. Caching is the right engineering call. Just don't let the fuzzy layer become the one part of the stack with a threshold, no owner and no test set.

*depending on use case
