# Inferencing time question

**URL:** <https://community.pinecone.io/t/inferencing-time-question/278>\
**Category:** General\
**Created:** [February 28, 2022, 7:25pm UTC](https://community.pinecone.io/t/inferencing-time-question/278 "2022-02-28T19:25:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sophiem](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@sophiem](https://community.pinecone.io/u/sophiem)\
**Post date:** [February 28, 2022, 7:25pm UTC](https://community.pinecone.io/t/inferencing-time-question/278/1 "2022-02-28T19:25:47Z")

</div>

Could you tell us more about inferencing time? Say for example we have a database of million of entries, how fast would the query be? As far as I know, transformer based semantic embedding can be quite slow to operate at scale where we have millions or billions of entries to measure similarity on?

---

<div class="post-metadata">

**Author:** ![jamesbriggs](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/jamesbriggs/32/52_2.png) [@jamesbriggs](https://community.pinecone.io/u/jamesbriggs)\
**Post date:** [March 1, 2022, 1:20pm UTC](https://community.pinecone.io/t/inferencing-time-question/278/2 "2022-03-01T13:20:57Z")

</div>

In the past this has been the case, if searching through millions of dense vectors exhaustively (eg checking every possible result) it will take a _very_ long time. Fortunately, this is no longer the case thanks to approximate nearest neighbor (ANN) search. Pinecone makes use of an incredibly fast and scalable ANN algorithm to make search times very fast.

I’d recommend you take a look at the charts in [this article](https://www.pinecone.io/learn/predict-perform-control/), with Pinecone’s P1 pods and 10M indexed vectors, we see p95 query latency of near ~100ms, the latency increase as we increase the number of vectors is very minor from here too (you can see this in the graphs). You can also use the [usage calculator](https://www.pinecone.io/pricing/#estimate) to get an idea for your particular use-case too.

I hope that helps!
