https://retellai.com/?utm_source=discord&utm_medium=seo logo
Why I am incurring cost for the custom knowledge b...
# ❓・ai-evy-support
a
@AI Evy Why I am incurring cost for the custom knowledge base usage in my agent ?
a
Thanks for tagging me @akshatkapilai2023. I'll look through relevant sources and get back to you shortly.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer You're incurring costs for knowledge base usage because Retell AI charges for knowledge base retrieval during calls [(1) ]() . The pricing structure is $0.005 per minute of knowledge base usage . When your agent is linked to a knowledge base, it automatically retrieves information from the knowledge base before responding during calls [(2) ]() . This retrieval process happens for every response generation, which generates usage costs . The knowledge base retrieval is optimized for real-time use cases and typically adds under 100ms of latency impact . Each workspace includes 10 free knowledge bases, but usage of those knowledge bases during calls is charged at the per-minute rate [(1) ]() . To manage costs, you can adjust the knowledge base settings by configuring the number of chunks retrieved (1-10, default is 3) and similarity threshold (default 0.6) [(2) ]() . Increasing the chunks retrieved gives more context but also increases prompt length and usage costs .
​ To learn more, see the sources I considered: [[1] Simplify Support with Retell AI’s Knowledge Base | Retell AI](https://www.retellai.com/blog/knowledge-base-feature) [[2] Knowledge Base](https://docs.retellai.com/build/knowledge-base) ​