# Implementing semantic cache using Pinecone db

**URL:** <https://community.pinecone.io/t/implementing-semantic-cache-using-pinecone-db/2643>\
**Category:** General\
**Tags:** embeddings, semantic-search, vector-database\
**Created:** [July 12, 2023, 5:00pm UTC](https://community.pinecone.io/t/implementing-semantic-cache-using-pinecone-db/2643 "2023-07-12T17:00:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![retrovrv](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/retrovrv/32/1025_2.png) [@retrovrv](https://community.pinecone.io/u/retrovrv)\
**Post date:** [July 12, 2023, 5:00pm UTC](https://community.pinecone.io/t/implementing-semantic-cache-using-pinecone-db/2643/1 "2023-07-12T17:00:43Z")

</div>

Hello, wanted to share an article on how we built semantic cache using Pinecone to cut costs and latency for models like GPT-4.

The cache stores responses to similar queries, avoiding redundant API calls. We’re seeing 20% cache hit rates, delivering 20x faster responses at no additional cost. (at 10M GPT4 requests a day, that’s $2,700 saved a month)

The article covers:

- Examples of cached queries
- Latency, accuracy benchmarking
- Technical details
- Production use considerations

Hope you find it helpful! Check it out here: [⭐ Reducing LLM Costs & Latency with Semantic Cache](https://blog.portkey.ai/blog/reducing-llm-costs-and-latency-semantic-cache/)

Let me know if you have any questions!

---

<div class="post-metadata">

**Author:** ![ZacharyProser](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/zacharyproser/32/1146_2.png) [@ZacharyProser](https://community.pinecone.io/u/ZacharyProser)\
**Post date:** [May 15, 2024, 5:21pm UTC](https://community.pinecone.io/t/implementing-semantic-cache-using-pinecone-db/2643/2 "2024-05-15T17:21:42Z")

</div>

@retrovrv,

Thanks for the post! 😀
