https://retellai.com/?utm_source=discord&utm_medium=seo logo
does retell supprt Retell supports Custom LLM (HTT...
# ❓・ai-evy-support
s
@AI Evy does retell supprt Retell supports Custom LLM (HTTP) and if so where do i go to past in my custom url
a
Thanks for tagging me @solomon32184. I'll look through relevant sources and get back to you shortly.
### Answer Retell AI supports Custom LLM via WebSocket, not HTTP [(1) ]() [(2) ]() [(3) ]() . The integration requires setting up a WebSocket server that communicates with Retell's server [(1) ]() [(2) ]() . To configure your Custom LLM: 1. Set up a WebSocket endpoint on your backend server (e.g.,
wss://yourdomain.com/llm-websocket/{call_id}
) [(2) ]() [(4) ]() 2. **Configure in Retell Dashboard**: Go to your agent settings and select "Custom LLM" option, then paste your WebSocket URL (format:
wss://your-server-websocket-endpoint/{call_id}
) [(3) ]() [(4) ]() 3. **Implement the WebSocket protocol**: Your server needs to handle the specific communication protocol Retell uses, including sending initial responses and handling various event types like
response_required
and
update_only
[(3) ]() The WebSocket endpoint must conform to Retell's LLM WebSocket protocol, where Retell initiates the connection when a call starts . Your server should be prepared to send the first message (which can be an empty response if you want the user to speak first) [(2) ]() [(3) ]() . **Important**: Custom LLM works through the LLM WebSocket and doesn't require any special setting to b
e enabled on your account [(4) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy is Agent Level Webhook URL that
a
Thanks for the follow-up, @solomon32184. I'll get back to you soon.
### Answer The Agent Level Webhook URL is a webhook that you can configure for a specific agent to listen to call events [(1) ]() [(2) ]() . When set, it binds webhook events for that agent to the specified URL and will ignore the account level webhook for that specific agent . Where to configure it: You can set up the Agent Level Webhook through the dashboard's agent detail page [(3) ]() . Alternatively, you can configure it programmatically when creating or updating an agent using the
webhook_url
parameter [(1) ]() [(2) ]() . Key characteristics: - The webhook receives events like
call_started
,
call_ended
, and
call_analyzed
[(3) ]() - You can set it to
null
to remove the webhook URL from the agent [(1) ]() - If an Agent Level Webhook is set, the account level webhook will not be triggered for that agent [(3) ]() - You can also configure
webhook_timeout_ms
(default is 10000ms if not set) [(1) ]() [(2) ]() Example configuration:
Copy code
json
{
  "webhook_url": "<https://webhook-url-here%22,>
  "webhook_timeout_ms": 10000
}
[(1) ]() The webhook endpoint you provide should accept POST requests with JSON data containing the event type and call details [(3) ]() . **
​ To learn more, see the sources I considered: [[1] Create Agent](https://docs.retellai.com/api-references/create-agent) [[2] Update Agent](https://docs.retellai.com/api-references/update-agent) [[3] Setup guide](https://docs.retellai.com/features/register-webhook) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy where do i paste Custom LLM (HTTP)
a
Thanks for the follow-up, @solomon32184. I'll get back to you soon.
### Answer Based on the available sources, Retell AI does not support Custom LLM via HTTP. Retell AI only supports Custom LLM via WebSocket, as I mentioned in my previous response [(1) ]() . There is no option to "paste in" a Custom LLM HTTP URL in Retell AI. The custom function integration you're asking about (from the source provided) is for extending agent capabilities with external APIs, not for replacing the LLM itself . If you need to use a custom LLM, you must: 1. Set up a WebSocket server (not HTTP) 2. Configure it in your agent settings by pasting your WebSocket URL in the format:
wss://your-server-websocket-endpoint/{call_id}
The custom function URL you configure in the dashboard (as described in the source about custom functions) is for tool calling - allowing your agent to call external APIs during conversations - not for replacing the LLM engine itself . If you're looking to integrate an external system or API that your agent can call during conversations, that's what custom functions are for, and you would configure that in the Tools section of your agent settings .
​ To learn more, see the sources I considered: [[1] Integrate any system with custom function](https://docs.retellai.com/build/single-multi-prompt/custom-function) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy WebSocket URL where do i past the WebSocket URL
a
Thanks for the follow-up, @solomon32184. I'll get back to you soon.
### Answer To configure your Custom LLM WebSocket URL in Retell AI, you need to add it in the Dashboard when creating or editing your agent [(1) ]() . Steps to paste your WebSocket URL: 1. Go to your Retell AI Dashboard 2. Navigate to your agent settings 3. Select "Custom LLM" as the LLM option 4. Paste your WebSocket URL in the format:
wss://your_domain_name/llm-websocket/
Important notes: - The URL must use the
wss://
protocol (secure WebSocket) - You can use either your production domain URL or a tool like ngrok for local testing - If testing locally with ngrok, your URL would look like:
wss://xxxxx.ngrok-free.app/llm-websocket/
After adding the URL to the dashboard, you can click "Make a web call" to test your agent . Note: When you add a Custom LLM URL, you cannot edit the prompt in the dashboard because the custom LLM has control of the prompt [(2) ]() .
​ To learn more, see the sources I considered: [[1] Setup WebSocket Server](https://docs.retellai.com/integrate-llm/setup-websocket-server) [[2] Promptring and Custom LLM URL](https://discord.com/channels/1186424376300679209/1223097523011321927) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy i cant find customm llm
a
Thanks for the follow-up, @solomon32184. I'll get back to you soon.
### Answer [(1) ]() , [(2) ]() , [(3) ]() ### Answer To find the Custom LLM option in Retell AI: In the Dashboard: 1. Go to your Retell AI Dashboard 2. Navigate to Agents section 3. Create a new agent or edit an existing one 4. Look for the LLM or Response Engine section in the agent configuration 5. Select "Custom LLM" from the available LLM options [(1) ]() Once you select Custom LLM, you'll see a field where you can paste your WebSocket URL [(1) ]() [(2) ]() . Important: Custom LLM works through the LLM WebSocket and doesn't require any special setting to be enabled on your account [(3) ]() . The option should be available by default in your agent configuration. If you still can't locate it, try: - Looking for "Response Engine" settings in your agent builder - Checking under "Advanced Settings" or "LLM Configuration" - Ensuring you're in the agent edit/create screen (not the general settings) The Custom LLM option allows you to integrate your own LLM by providing a WebSocket URL in the format:
wss://your-server-websocket-endpoint/{call_id}
[(1) ]() [(2) ]() . **
​ To learn more, see the sources I considered: [[1] Custom LLM Overview](https://docs.retellai.com/integrate-llm/overview) [[2] Integrate LLM](https://docs.retellai.com/integrate-llm/integrate-llm) [[3] Custom LLMs](https://discord.com/channels/1186424376300679209/1396099334432489524) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy all i have is Functions Knowledge Base Speech Settings Realtime Transcription Settings Call Settings Post-Call Analysis Security & Fallback Settings Webhook Settings MCPs
a
Thanks for the follow-up, @solomon32184. I'll get back to you soon.
### Answer Based on the sections you're seeing, it appears you're looking at a Single Prompt or Multi-Prompt agent configuration [(1) ]() [(2) ]() [(3) ]() . The Custom LLM option is not available for these agent types [(2) ]() [(3) ]() . Custom LLM is only available when you create a "Custom LLM Agent" type . To use Custom LLM, you need to: 1. Go back to your agent creation screen 2. Select "Custom LLM Agent" as your agent type (not Single Prompt, Multi-Prompt, or Conversation Flow) 3. Only then will you see the option to configure your Custom LLM WebSocket URL The agent types in Retell AI are : - Conversation Flow Agent - for multi-step logic-driven interactions - Single Prompt Agent - for short, one-off interactions - Multi-Prompt Agent - for longer structured conversations - Custom LLM Agent - for bringing your own LLM via WebSocket Since you're seeing settings like Functions, Knowledge Base, Speech Settings, etc., you're currently editing a Single/Multi-Prompt agent, which uses Retell's built-in LLM options (like GPT-4.1, Claude, etc.) [(1) ]() [(4) ]() [(5) ]() , not Custom LLM. **To use Custom LLM**: Create a new agent and specifically choose the "Custom LLM Agent" type at the beginning of agent creation [(2) ](
rsational-ai-phone-system) [(3) ]() .
​ To learn more, see the sources I considered: [[1] Step 2: Configure the basic settings](https://docs.retellai.com/build/single-multi-prompt/configure-basic-settings) [[2] Inside Retell AI | The Conversational AI Platform Behind Scalable AI Phone Systems | Retell AI](https://www.retellai.com/blog/inside-retell-ai-conversational-ai-phone-system) [[3] Inside Retell AI | The Conversational AI Platform Behind Scalable AI Phone Systems | Retell AI](https://www.retellai.com/blog/inside-retell-ai-conversational-ai-phone-system) [[4] Update Agent](https://docs.retellai.com/api-references/update-agent) [[5] Create Agent](https://docs.retellai.com/api-references/create-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.