Zenaique
Glossary · Production

Semantic Cache

Also known as: Embedding cache

Cache LLM responses by embedding similarity, not exact string match; paraphrases hit the cache.

A cache keyed by the embedding of the prompt rather than its exact string. A new prompt whose embedding is close enough to a cached entry returns the cached response, cutting cost and latency for paraphrased queries.

In practice

Big cost lever for support bots and FAQs. Interviews probe the similarity threshold trade-off (false hits vs cache miss rate).

How it compares

Semantic cache compares whole prompts by meaning; prompt caching reuses common prompt prefixes byte-exactly.

Related topics

Related terms