Retell AI Knowledge Base: How It Works, Sources, Limits and Pricing
Retell AI's knowledge base lets voice and chat agents answer from your own content. You add URLs, files, text, or synced Google Drive, OneDrive and Notion sources, and before every reply the agent retrieves the most relevant chunks. Retrieval generally adds under 100 ms, and the first 10 knowledge bases are free.
Key facts
- Sources: URLs (single pages or every page under a URL path), files, pasted text, and synced Google Drive, OneDrive and Notion content.
- Limits per knowledge base: 500 URLs, 25 files of up to 50 MB each, and 50 text snippets.
- Retrieval runs before every agent reply: 3 chunks by default, similarity threshold 0.6, with the retrieved text added under Related Knowledge Base Contexts.
- Retrieval generally adds under 100 ms of latency.
- Auto-refresh, when enabled, re-fetches URLs and re-syncs changed Google Drive, OneDrive and Notion sources every 24 hours; uploaded files must be re-uploaded.
- The first 10 knowledge bases are free and each additional one is $8 per month; calls with a knowledge base enabled cost an extra $0.005 per minute.
- No prompt changes are needed: a linked knowledge base is searched automatically.
- Chat agents use the same knowledge bases as voice agents.
What is Retell AI's knowledge base?
Retell AI's knowledge base is a collection of your own content, such as webpages, files and text, that a Retell voice or chat agent searches during a conversation and uses as context for its reply. Sources are split into chunks and stored in a vector database, and the agent retrieves the most relevant chunks before each reply. Because the content lives outside the prompt, it can hold policies, catalogs and help articles that would never fit in a prompt, and you can update it without rewriting the agent. Retell says this keeps answers tied to your own policies and reduces hallucinations.
How does the Retell AI knowledge base work on a live call?
Before every agent reply, Retell AI condenses the recent conversation into a short search query, retrieves the closest chunks from the linked knowledge base, and adds them to the LLM prompt. By default it retrieves 3 chunks with a similarity threshold of 0.6, and retrieval generally adds under 100 ms.
- Before the call: each source is split into chunks, embedded and stored in a vector database, then linked to agents.
- During the call, step 1: the caller speaks.
- Step 2: the recent conversation is condensed into a short search query.
- Step 3: the closest chunks are retrieved (3 by default, similarity threshold 0.6).
- Step 4: the chunks are added to the LLM prompt under the heading Related Knowledge Base Contexts.
- Step 5: the agent answers.
What can I add to a Retell AI knowledge base, and what are the limits?
A Retell AI knowledge base accepts URLs, files, pasted text, and synced Google Drive, OneDrive and Notion content. Per knowledge base, the limits are 500 URLs, 25 files of up to 50 MB each, and 50 text snippets. If you need more room, you can create another knowledge base.
- URLs: single pages, or every page under a URL path with auto-crawl; up to 500 URLs per knowledge base.
- Files: PDF, DOCX, Markdown, TXT, HTML, CSV, XLSX, PPTX and more; up to 25 files per knowledge base, 50 MB each.
- Text: snippets you paste or type in the dashboard; up to 50 per knowledge base.
- Google Drive, OneDrive and Notion: docs, Sheets, files and pages synced from a connected account.
How does a Retell AI knowledge base stay up to date?
Retell AI keeps a knowledge base current through auto-refresh. When enabled, it re-fetches your URLs and re-syncs changed Google Drive, OneDrive and Notion sources every 24 hours. If a source can't be refreshed, its existing content is kept. Uploaded files don't sync, so you must re-upload a file after it changes.
- URLs added with auto-crawl on a path are refreshed every 24 hours when auto-refresh is enabled.
- Text snippets are edited directly in the dashboard.
- Uploaded files are replaced by re-uploading them.
How do I set up a knowledge base for a Retell AI agent?
To use a Retell AI knowledge base, create it in the dashboard's Knowledge Base tab, attach it to an agent in the agent editor, and test it. No prompt changes are required, because Retell searches a linked knowledge base automatically before every response. Facts belong in the knowledge base and instructions belong in the agent's prompt.
- Create it: open the Knowledge Base tab, select Add, and pick a source: URL, File, Text, or Google Drive, OneDrive or Notion.
- Add it: in the agent editor, open Knowledge base & memory, select Add and choose your knowledge bases.
- Test it: ask a related question in the test panel; the agent searches the knowledge base on its own.
How do I control what a Retell AI agent answers from its knowledge base?
In Retell AI you control knowledge base answers by tuning retrieval and by instructing the prompt. You can set how many chunks are retrieved and a similarity threshold, add a Knowledge Base Instruction to focus the search, or attach a knowledge base to a single node in a conversation flow.
- Advanced settings in the agent editor set how many chunks to retrieve and how strict matching is.
- A Knowledge Base Instruction focuses the search.
- A knowledge base can be attached to a single node in a conversation flow.
- To stop the agent answering outside the knowledge base, add a prompt instruction to answer only from the context under Related Knowledge Base Contexts and to say so when no related information is found. Retell's knowledge base docs include a sample instruction you can copy.
How much does the Retell AI knowledge base cost, and does it add latency?
Retell AI's first 10 knowledge bases are free, each additional one is $8 per month, and calls with a knowledge base enabled cost an extra $0.005 per minute, whether the agent uses one knowledge base or several. Retrieval is optimized for real-time calls and should generally add under 100 ms of latency.
- Voice agents start from $0.07 per minute under Retell's pay-as-you-go pricing, which starts at $0 with no contract.
- Chat agents start at $0.002 per message.
Can Retell AI chat agents use the same knowledge base as voice agents?
Yes. Retell AI chat agents use the same knowledge bases as voice agents, so a caller and someone chatting on a website or over SMS get answers from the same content. Maintaining one set of sources serves both channels.
How can I see which content a Retell AI agent used on a call?
In Retell AI, open the call in Call History. Every agent turn that used the knowledge base shows a Knowledge Base Retrieval link that lists the exact chunks passed to the LLM for that response, so you can check what the agent retrieved before it answered.
- For production monitoring, Retell AI QA lists knowledge recall among the signals it evaluates, alongside interruptions, transcription errors, latency, tool-call accuracy and transfer success.
- Operators filter calls by agent, date, duration or post-call fields, then set a sampling percentage and weekly maximum, so not every call is necessarily evaluated.
- QA helps review call outcomes; it does not establish a universal success rate for any particular condition.
Frequently asked questions
Can one Retell AI agent use more than one knowledge base?
Yes. An agent can use more than one knowledge base, and you can create additional knowledge bases when one reaches its limits.
How should I write source content so the agent retrieves it accurately?
Retell's docs recommend Markdown with clear headings, short sections and specific names, dates and units, because each chunk is read on its own. Well-structured Markdown retrieves more accurately.
Are there limits on spreadsheets in a Retell AI knowledge base?
Yes. Spreadsheets can have up to 1,000 rows and 50 columns. CSV and XLSX are among the supported file types.