mlsanityData to 14 Oct 2026

GPT Semantic Cache: Reducing LLM Costs and Latency via Semantic Embedding Caching

arXiv 2411.05276 ↗First posted 8 Nov 2024cs.LGcited by 22

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs), such as GPT, have revolutionized artificial intelligence by enabling nuanced understanding and generation of human-like text across a wide range of applications. However, the high computational and financial costs associated with frequent API calls to these models present a substantial bottleneck, especially for applications like customer service chatbots that handle repetitive queries. In this paper, we introduce GPT Semantic Cache, a method that leverages semantic caching of query embeddings in in-memory storage (Redis). By storing embeddings of user queries, our approach efficiently identifies semantically similar questions, allowing for the retrieval of pre-generated responses without redundant API calls to the LLM. This technique achieves a notable reduction in operational costs while significantly enhancing response times, making it a robust solution for optimizing LLM-powered applications. Our experiments demonstrate that GPT Semantic Cache reduces API calls by up to 68.8% across various query categories, with cache hit rates ranging from 61.6% to 68.8%. Additionally, the system achieves high accuracy, with positive hit rates exceeding 97%, confirming the reliability of cached responses. This technique not only reduces operational costs, but also improves response times, enhancing the efficiency of LLM-powered applications.

Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Builds on 2 of its 8 references that are in the map. First posted on arXiv 8 Nov 2024.

Builds on

2 of 8 references.

References · 2

  1. 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 1,006
  2. 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 861

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 9; 2026: 12.

22 papers.

Sort:

By area:

  1. 2025What do Large Language Models Say About Animals? Investigating Risks of Animal Harm in Generated Textcited by 9
  2. 2025SemShareKV: Efficient KVCache Sharing for Semantically Similar Prompts via Token-Level LSH Matchingcited by 6
  3. 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Cachingcited by 4
  4. 2025Advancing Generative Artificial Intelligence and Large Language Models for Demand Side Management with Internet of Electric Vehiclescited by 2
  5. 2025Supporting Dynamic Agentic Workloads: How Data and Agents Interactcited by 2
  6. 2026From Exact Hits to Close Enough: Semantic Caching for LLM Embeddingscited by 1
  7. 2026Beyond Linear LLM Invocation: An Efficient and Effective Semantic Filter Paradigmcited by 1
  8. 2026MemBoost: A Memory-Boosted Framework for Cost-Aware LLM Inferencecited by 1
  9. 2026Closing the Operational Gap in Semantic Cachingcited by 1
  10. 2026LaCache: Robust Semantic Caching for LLM Servingcited by 1
  11. 2024Software Performance Engineering for Foundation Model-Powered Softwarecited by 0
  12. 2025Beyond the model: Key differentiators in large language models and multi-agent servicescited by 0
10 more
  1. 2025ODIA: Oriented Distillation for Inline Acceleration of LLM-based Function Callingcited by 0
  2. 2025TweakLLM: A Routing Architecture for Dynamic Tailoring of Cached Responsescited by 0
  3. 2025MultiFluxAI Enhancing Platform Engineering with Advanced Agent-Orchestrated Retrieval Systemscited by 0
  4. 2025Do Stop Me Now: Detecting Boilerplate Responses with a Single Iterationcited by 0
  5. 2026Semantic Caching and Intent-Driven Context Optimization for Multi-Agent Natural Language to Code Systemscited by 0
  6. 2026Accelerating Local LLMs on Resource-Constrained Edge Devices via Distributed Prompt Cachingcited by 0
  7. 2026From Tensor Buffer to Distributed Memory Hierarchy: A Survey of KV Cache Management for LLM Servingcited by 0
  8. 2026DynBranch: Speculative Subgraph Reuse for Dynamic Agentic LLM Servingcited by 0
  9. 2026Similarity Is Not Validity: Defending LLM Semantic Caches Against Poisoningcited by 0
  10. 2026Semantic Views: Certified Reuse of LLM Labels Across Semantic Queriescited by 0