SolePurpose (Frizzy45)
04/17/2026, 9:05 AMAI Evy
04/17/2026, 9:05 AMAI Evy
04/17/2026, 9:05 AMmodel parameter [(1) ]() [(2) ]() :
javascript
model: "gpt-4.1"
The model_temperature parameter controls randomness, with lower values (like 0) being more deterministic—which is recommended for tool calling :
javascript
model_temperature: 0
For voice-specific optimization, Retell AI also offers speech-to-speech models like gpt-realtime-1.5 via the s2s_model parameter . Note that you can only set either model or s2s_model, not both .
The best choice depends on your use case. For complex prompt following and tool calling, gpt-4.1 with low temperature is recommended . For conversational applications prioritizing natural speech patterns, consider the gpt-realtime-1.5 speech-to-speech model .AI Evy
04/17/2026, 9:05 AMAI Evy
04/17/2026, 9:05 AMSolePurpose (Frizzy45)
04/17/2026, 9:06 AMAI Evy
04/17/2026, 9:06 AMAI Evy
04/17/2026, 9:06 AMmodel is not set, it defaults to gpt-4.1 [(1) ]() [(2) ]() . For tool calling, a lower model_temperature value is recommended .
The "best" model depends on your specific needs—intelligence, latency, or cost. Based on the changelog, GPT-5.1 appears to be optimized for natural conversations with improved speed and reliability [(3) ]() .AI Evy
04/17/2026, 9:06 AMAI Evy
04/17/2026, 9:06 AMSolePurpose (Frizzy45)
04/17/2026, 9:07 AMAI Evy
04/17/2026, 9:07 AMAI Evy
04/17/2026, 9:08 AMAI Evy
04/17/2026, 9:08 AMAI Evy
04/17/2026, 9:08 AMSolePurpose (Frizzy45)
04/17/2026, 9:14 AMAI Evy
04/17/2026, 9:14 AMAI Evy
04/17/2026, 9:14 AMjavascript
model_temperature: 0AI Evy
04/17/2026, 9:14 AMmodel_temperature value is recommended [(2) ]() [(3) ]() [(4) ]() . Temperature controls randomness - values between 0.0-0.3 are highly consistent and deterministic, which is best for function calling, data collection, and technical support [(2) ]() .
For appointment booking specifically, the documentation recommends using 0.1-0.3 for accurate data capture .
Cost Optimization:
Prompts up to 3,500 tokens follow the flat rate pricing [(1) ]() . If your prompts exceed this, costs scale proportionally .
The default model when not specified is gpt-4.1 [(3) ]() [(4) ]() .
**AI Evy
04/17/2026, 9:14 AMAI Evy
04/17/2026, 9:14 AMSolePurpose (Frizzy45)
04/17/2026, 9:16 AMAI Evy
04/17/2026, 9:16 AMAI Evy
04/17/2026, 9:16 AMAI Evy
04/17/2026, 9:16 AMAI Evy
04/17/2026, 9:16 AM