GPT Semantic Cache: Reducing LLM Costs and Latency via Semantic Embedding Caching
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
Built on by
Citing papers per year: 2024: 1; 2025: 9; 2026: 12.
22 papers.
Sort:
By area:
- 2025What do Large Language Models Say About Animals? Investigating Risks of Animal Harm in Generated Textcited by 9
- 2025SemShareKV: Efficient KVCache Sharing for Semantically Similar Prompts via Token-Level LSH Matchingcited by 6
- 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Cachingcited by 4
- 2025Advancing Generative Artificial Intelligence and Large Language Models for Demand Side Management with Internet of Electric Vehiclescited by 2
- 2025Supporting Dynamic Agentic Workloads: How Data and Agents Interactcited by 2
- 2026From Exact Hits to Close Enough: Semantic Caching for LLM Embeddingscited by 1
- 2026Beyond Linear LLM Invocation: An Efficient and Effective Semantic Filter Paradigmcited by 1
- 2026MemBoost: A Memory-Boosted Framework for Cost-Aware LLM Inferencecited by 1
- 2026Closing the Operational Gap in Semantic Cachingcited by 1
- 2026LaCache: Robust Semantic Caching for LLM Servingcited by 1
- 2024Software Performance Engineering for Foundation Model-Powered Softwarecited by 0
- 2025Beyond the model: Key differentiators in large language models and multi-agent servicescited by 0
10 more
- 2025ODIA: Oriented Distillation for Inline Acceleration of LLM-based Function Callingcited by 0
- 2025TweakLLM: A Routing Architecture for Dynamic Tailoring of Cached Responsescited by 0
- 2025MultiFluxAI Enhancing Platform Engineering with Advanced Agent-Orchestrated Retrieval Systemscited by 0
- 2025Do Stop Me Now: Detecting Boilerplate Responses with a Single Iterationcited by 0
- 2026Semantic Caching and Intent-Driven Context Optimization for Multi-Agent Natural Language to Code Systemscited by 0
- 2026Accelerating Local LLMs on Resource-Constrained Edge Devices via Distributed Prompt Cachingcited by 0
- 2026From Tensor Buffer to Distributed Memory Hierarchy: A Survey of KV Cache Management for LLM Servingcited by 0
- 2026DynBranch: Speculative Subgraph Reuse for Dynamic Agentic LLM Servingcited by 0
- 2026Similarity Is Not Validity: Defending LLM Semantic Caches Against Poisoningcited by 0
- 2026Semantic Views: Certified Reuse of LLM Labels Across Semantic Queriescited by 0
- 2026Semantic Views: Certified Reuse of LLM Labels Across Semantic Queries8 Oct 2026
- 2026Similarity Is Not Validity: Defending LLM Semantic Caches Against Poisoning28 Sep 2026
- 2026DynBranch: Speculative Subgraph Reuse for Dynamic Agentic LLM Serving25 Sep 2026
- 2026LaCache: Robust Semantic Caching for LLM Serving3 Aug 2026
- 2026From Tensor Buffer to Distributed Memory Hierarchy: A Survey of KV Cache Management for LLM Serving30 Jun 2026
- 2026Closing the Operational Gap in Semantic Caching18 Jun 2026
- 2026MemBoost: A Memory-Boosted Framework for Cost-Aware LLM Inference27 Mar 2026
- 2026Beyond Linear LLM Invocation: An Efficient and Effective Semantic Filter Paradigm5 Mar 2026
- 2026Accelerating Local LLMs on Resource-Constrained Edge Devices via Distributed Prompt Caching26 Feb 2026
- 2026From Exact Hits to Close Enough: Semantic Caching for LLM Embeddings7 Feb 2026
- 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Caching30 Jan 2026
- 2026Semantic Caching and Intent-Driven Context Optimization for Multi-Agent Natural Language to Code Systems16 Jan 2026
10 more
- 2025Supporting Dynamic Agentic Workloads: How Data and Agents Interact10 Dec 2025
- 2025Do Stop Me Now: Detecting Boilerplate Responses with a Single Iteration26 Oct 2025
- 2025SemShareKV: Efficient KVCache Sharing for Semantically Similar Prompts via Token-Level LSH Matching29 Sep 2025
- 2025MultiFluxAI Enhancing Platform Engineering with Advanced Agent-Orchestrated Retrieval Systems29 Aug 2025
- 2025TweakLLM: A Routing Architecture for Dynamic Tailoring of Cached Responses31 Jul 2025
- 2025ODIA: Oriented Distillation for Inline Acceleration of LLM-based Function Calling10 Jul 2025
- 2025Beyond the model: Key differentiators in large language models and multi-agent services5 May 2025
- 2025What do Large Language Models Say About Animals? Investigating Risks of Animal Harm in Generated Text3 Mar 2025
- 2025Advancing Generative Artificial Intelligence and Large Language Models for Demand Side Management with Internet of Electric Vehicles26 Jan 2025
- 2024Software Performance Engineering for Foundation Model-Powered Software14 Nov 2024
- 2025Beyond the model: Key differentiators in large language models and multi-agent servicescited by 0
- 2025ODIA: Oriented Distillation for Inline Acceleration of LLM-based Function Callingcited by 0
- 2026Semantic Caching and Intent-Driven Context Optimization for Multi-Agent Natural Language to Code Systemscited by 0
- 2026DynBranch: Speculative Subgraph Reuse for Dynamic Agentic LLM Servingcited by 0
- 2026DynBranch: Speculative Subgraph Reuse for Dynamic Agentic LLM Serving25 Sep 2026
- 2026Semantic Caching and Intent-Driven Context Optimization for Multi-Agent Natural Language to Code Systems16 Jan 2026
- 2025ODIA: Oriented Distillation for Inline Acceleration of LLM-based Function Calling10 Jul 2025
- 2025Beyond the model: Key differentiators in large language models and multi-agent services5 May 2025
- 2025SemShareKV: Efficient KVCache Sharing for Semantically Similar Prompts via Token-Level LSH Matchingcited by 6
- 2026LaCache: Robust Semantic Caching for LLM Servingcited by 1
- 2026From Tensor Buffer to Distributed Memory Hierarchy: A Survey of KV Cache Management for LLM Servingcited by 0
- 2026Similarity Is Not Validity: Defending LLM Semantic Caches Against Poisoningcited by 0
- 2026Similarity Is Not Validity: Defending LLM Semantic Caches Against Poisoning28 Sep 2026
- 2026LaCache: Robust Semantic Caching for LLM Serving3 Aug 2026
- 2026From Tensor Buffer to Distributed Memory Hierarchy: A Survey of KV Cache Management for LLM Serving30 Jun 2026
- 2025SemShareKV: Efficient KVCache Sharing for Semantically Similar Prompts via Token-Level LSH Matching29 Sep 2025
- 2025What do Large Language Models Say About Animals? Investigating Risks of Animal Harm in Generated Textcited by 9
- 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Cachingcited by 4
- 2025Advancing Generative Artificial Intelligence and Large Language Models for Demand Side Management with Internet of Electric Vehiclescited by 2
- 2026From Exact Hits to Close Enough: Semantic Caching for LLM Embeddingscited by 1
- 2026Beyond Linear LLM Invocation: An Efficient and Effective Semantic Filter Paradigmcited by 1
- 2026MemBoost: A Memory-Boosted Framework for Cost-Aware LLM Inferencecited by 1
- 2026Closing the Operational Gap in Semantic Cachingcited by 1
- 2024Software Performance Engineering for Foundation Model-Powered Softwarecited by 0
- 2025TweakLLM: A Routing Architecture for Dynamic Tailoring of Cached Responsescited by 0
- 2025MultiFluxAI Enhancing Platform Engineering with Advanced Agent-Orchestrated Retrieval Systemscited by 0
- 2025Do Stop Me Now: Detecting Boilerplate Responses with a Single Iterationcited by 0
- 2026Accelerating Local LLMs on Resource-Constrained Edge Devices via Distributed Prompt Cachingcited by 0
12 most cited of 13 All 13 (JSON)
- 2026Semantic Views: Certified Reuse of LLM Labels Across Semantic Queries8 Oct 2026
- 2026Closing the Operational Gap in Semantic Caching18 Jun 2026
- 2026MemBoost: A Memory-Boosted Framework for Cost-Aware LLM Inference27 Mar 2026
- 2026Beyond Linear LLM Invocation: An Efficient and Effective Semantic Filter Paradigm5 Mar 2026
- 2026Accelerating Local LLMs on Resource-Constrained Edge Devices via Distributed Prompt Caching26 Feb 2026
- 2026From Exact Hits to Close Enough: Semantic Caching for LLM Embeddings7 Feb 2026
- 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Caching30 Jan 2026
- 2025Do Stop Me Now: Detecting Boilerplate Responses with a Single Iteration26 Oct 2025
- 2025MultiFluxAI Enhancing Platform Engineering with Advanced Agent-Orchestrated Retrieval Systems29 Aug 2025
- 2025TweakLLM: A Routing Architecture for Dynamic Tailoring of Cached Responses31 Jul 2025
- 2025What do Large Language Models Say About Animals? Investigating Risks of Animal Harm in Generated Text3 Mar 2025
- 2025Advancing Generative Artificial Intelligence and Large Language Models for Demand Side Management with Internet of Electric Vehicles26 Jan 2025
12 newest of 13 All 13 (JSON)