iCreatAI News
Skip to content
Trending storyUpdating

Developer test: semantic cache hits are mostly false hits

1 reports1 sources2 hr agoUpdated

Understand this story

AI overview

An AI/LLM Gateway developer tested 15,000 prompts across 2,500 Codex sessions and concluded that semantic cache hits are almost all false hits, with actual benefit close to zero. Based on this, the developer listed semantic caching as one of the overhyped AI Gateway features. This result applies to the Codex session prompts used in the test and does not represent the effectiveness of semantic caching in all scenarios.

AI overview based on source reports · Updated 2 hr ago

Coverage timeline

Follow the coverage to explore different perspectives.

Nov 25
  1. Hacker News AI
    Overhyped AI Gateway Features Part 1: Semantic Caching

    The author argues that semantic caching, which returns cached results for semantically similar queries, breaks down in practice due to query-specific context, multi-turn agentic requests, subtle meaning differences (e.g., "Convert 100 USD to EUR" vs. "Convert 100 EUR to USD"), and false sharing across users. Analyzing 15,000 prompts from 2,500 Codex sessions at 0.90 and 0.99 similarity thresholds, he found hit rates of 5-17% per prompt and 8-20% for first prompts, but every hit was a false positive; full-conversation caching reached 16-68% within the same conversation but dropped to 1-3% cross-session. He concludes semantic caching offered essentially zero benefit in his samples, though simpler support-bot use cases might still benefit.

Activity for this story

Not enough continuous observations to show a trend yet.