marvin_17392
10/28/2025, 11:13 AMAI Evy
10/28/2025, 11:13 AMAI Evy
10/28/2025, 11:14 AMs2s_model with the value "gpt-4o-realtime". [(2) ]() [(3) ]() [(4) ]() [(5) ]()
The Realtime API (beta) reduces latency for live interactions, providing near-instantaneous responses for simple tasks. [(1) ]()
However, based on community discussions, the realtime model has some restrictions - it does not support certain features like MCP (Model Context Protocol) , knowledge base integration, and voicemail detection. [(6) ]()
**AI Evy
10/28/2025, 11:14 AMAI Evy
10/28/2025, 11:14 AMmarvin_17392
10/28/2025, 11:16 AMmarvin_17392
10/28/2025, 11:17 AMAI Evy
10/28/2025, 11:17 AMAI Evy
10/28/2025, 11:18 AMs2s_model parameter. [(1) ]() The available Realtime model options are gpt-4o-realtime, gpt-4o-mini-realtime, and gpt-realtime.
You can update your existing LLM using the Update Retell LLM API endpoint:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const llmResponse = await client.llm.update('16b980523634a6dc504898cda492e939', {
start_speaker: 'user',
begin_message: 'Hey I am a virtual assistant calling from Retell Hospital.',
}) ;
console.log(llmResponse.llm_id) ;
To specifically set the Realtime model, you would include the s2s_model parameter in your update request body. Note that you can only set either model (for text LLM) or s2s_model (for speech-to-speech model) , not both.
The Realtime model configuration would look like this in your response:
{
"s2s_model": "gpt-4o-realtime"
}
**AI Evy
10/28/2025, 11:18 AMAI Evy
10/28/2025, 11:18 AMmarvin_17392
10/28/2025, 11:20 AMAI Evy
10/28/2025, 11:20 AMAI Evy
10/28/2025, 11:20 AMs2s_model parameter to use one of the Realtime options. [(1) ]() [(2) ]()
The available Realtime model options are gpt-4o-realtime, gpt-4o-mini-realtime, and gpt-realtime.
When configuring your Retell LLM, you would set the s2s_model field in your request. Note that you can only set either model (for text LLM) or s2s_model (for speech-to-speech model) , not both.
Here's an example of creating a Retell LLM with the Realtime model:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const llmResponse = await client.llm.create({ start_speaker: 'user' }) ;
console.log(llmResponse.llm_id) ;
[(1) ]()
In the response, you would see the s2s_model field set to your chosen Realtime model:
{
"s2s_model": "gpt-4o-realtime"
}
You can also update an existing Retell LLM to use the Realtime model using the Update Retell LLM endpoint with your llm_id. [(2) ]()AI Evy
10/28/2025, 11:20 AMAI Evy
10/28/2025, 11:20 AMmarvin_17392
10/28/2025, 11:27 AMAI Evy
10/28/2025, 11:27 AMAI Evy
10/28/2025, 11:27 AMs2s_model (Realtime model) through the Retell AI dashboard UI without using the API.
The sources I have access to primarily document the API methods for creating and updating Retell LLMs [(1) ]() [(2) ]() , but don't provide details about dashboard-based configuration options for switching to Realtime models.
However, the changelog mentions that the platform has undergone a "full dashboard overhaul" with "a more user-friendly and intuitive agent builder" [(3) ]() , which suggests there may be UI options available in the dashboard.
I'd recommend checking your Retell AI dashboard's agent builder or LLM configuration section to see if there's a model selection dropdown that includes the Realtime options (gpt-4o-realtime, gpt-4o-mini-realtime, or gpt-realtime) .
If you don't see these options in the dashboard, you may need to use the API to update your LLM configuration, or you could reach out to Retell AI support for guidance on dashboard-based configuration.
**AI Evy
10/28/2025, 11:27 AMAI Evy
10/28/2025, 11:27 AMmarvin_17392
10/28/2025, 1:03 PMmarvin_17392
10/28/2025, 1:03 PMAI Evy
10/28/2025, 1:03 PMAI Evy
10/28/2025, 1:04 PMllm_id in the response. [(3) ]() This llm_id can then be referenced when creating or updating your agent to connect it to the LLM you've configured.
So the workflow would be:
1. Create your Retell LLM (with the Realtime model configured via s2s_model)
2. Access your agent settings in the dashboard
3. Select the newly created LLM from the Language Model dropdown
The LLM you create should appear as an option in your agent's model selection interface.
---
**AI Evy
10/28/2025, 1:04 PMAI Evy
10/28/2025, 1:04 PMmarvin_17392
10/28/2025, 1:05 PMAI Evy
10/28/2025, 1:05 PMAI Evy
10/28/2025, 1:06 PMclient.agent.create kept disappearing from the workspace agents dashboard, and the LLM and agent appeared in client.llm.list and client.agent.list but caused errors when trying to create calls.
The issue was eventually resolved - the user mentioned "i just messed up with socket url". This suggests the problem was related to configuration rather than the LLM not being accessible.
Here are some troubleshooting steps:
1. Verify your LLM was created successfully - Check if your LLM appears when you list all LLMs using the API
2. Check your agent configuration - When creating your agent via API, ensure you're properly linking the LLM using the correct llm_id in the response_engine parameter [(2) ]()
3. Refresh your dashboard - Sometimes newly created resources take a moment to appear
4. Check for configuration errors - As mentioned in the community discussion, configuration issues (like incorrect URLs) can cause resources to not display properly [(1) ]()
If the LLM still doesn't appear in your agent settings dropdown after creating it via API, I'd recommend reaching out to Retell AI support for assistance, as this may require account-level troubleshooting.
Would you like me to provide a general answer about common API integration issues, or would you prefer to contact support directly?
**AI Evy
10/28/2025, 1:06 PMAI Evy
10/28/2025, 1:06 PMAI Evy
10/28/2025, 1:11 PMmarvin_17392
10/28/2025, 1:11 PMAI Evy
10/28/2025, 1:11 PMis_published parameter indicates whether the Retell LLM is published. [(1) ]() [(2) ]() When is_published is false, the LLM may not be visible or selectable in your agent settings in the dashboard.
Looking at the agent documentation, agents also have an is_published field that determines their visibility. [(3) ]() [(4) ]() [(5) ]() While the sources don't explicitly state that unpublished LLMs are hidden from the dashboard UI, the pattern suggests that unpublished resources may not appear in selection dropdowns.
Unfortunately, the available sources don't document a specific "Publish Retell LLM" API endpoint similar to the Publish Agent endpoint. [(6) ]() The sources show that when you create or update a Retell LLM, the response includes the is_published field, [(1) ]() [(2) ]() but they don't provide a direct method to change this status.
I don't have documentation showing how to publish an LLM through the dashboard or API. You may need to:
1. Check your dashboard for a publish option for the LLM
2. Contact Retell AI support for guidance on publishing LLMs
Would you like me to provide a general answer about publishing workflows, or would you prefer to reach out to support directly?
---
**AI Evy
10/28/2025, 1:11 PMAI Evy
10/28/2025, 1:11 PMmarvin_17392
10/28/2025, 1:13 PMAI Evy
10/28/2025, 1:13 PMAI Evy
10/28/2025, 1:13 PMAI Evy
10/28/2025, 1:13 PMAI Evy
10/28/2025, 1:13 PM