> ## Documentation Index
> Fetch the complete documentation index at: https://dialnexa.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# LLMs And Conversation Behavior In DialNexa

> Compare DialNexa language models and tune prompts, temperature, fallback behavior, preprocessing, functions, and response quality.

LLMs in DialNexa are the part of a Voice AI call that decides what to say or do next. The selected model reads the prompt, conversation history, dynamic variables, knowledge context, and function definitions, then returns a reply or an action. If the transcript is correct but the answer is wrong, this is where the investigation usually starts.

![DialNexa model selector showing available LLM model options with per-minute INR pricing.](https://mintcdn.com/dialnexa/O6bVvssz6DpTKOa0/images/documentation/screenshots/model-selector-pricing.jpg?fit=max\&auto=format\&n=O6bVvssz6DpTKOa0\&q=85\&s=4393e01cdd14ec3a4432091c546a26ca)

![DialNexa model settings popover showing LLM temperature, fallback LLM, predictive preprocessing, and Prompt Caching.](https://mintcdn.com/dialnexa/fiutZDJOLA6wMZ7K/images/documentation/screenshots/model-settings-prompt-caching.png?fit=max\&auto=format\&n=fiutZDJOLA6wMZ7K\&q=85\&s=da79d741db5a34f5bc05d78f4b1e7dc5)

> [!TIP]
>
> The model is not a mind reader. If the outcome matters, write the instruction and define the field. Vibes are not a configuration format.

## DialNexa LLMs And Conversation Behavior

Your workspace may show a subset of model families depending on what is enabled.

| Model family | Use it when | Validate before production |
| - | - | - |
| OpenAI | You want the safest general-purpose default for prompts, functions, structured outputs, summaries, and post-call extraction. | Function arguments, response format, refusal wording, and behavior on long conversation history. |
| Google and Gemini | You want to compare reasoning, long-context behavior, or direct realtime speech behavior where Gemini Speech to Speech is enabled. | Tool calling, summary consistency, strict instruction following, interruptions, and first audio timing. |
| Groq | You need fast model responses or a low-latency fallback where enabled. | Response length, function behavior, and whether speed still leaves enough reasoning quality. |

For help comparing language models, see the [voice AI provider selection guide](https://dialnexa.com/docs/voice-ai/provider-selection-guide.md). For business-system actions the model can trigger or prepare, start with [using integrations in agents](https://dialnexa.com/docs/dashboard-integrations/using-integrations-in-agents.md).

## GPT-6 Luna And Sarvam 105B Conversations

GPT-6 Luna and Sarvam 105B Conversations are available in every workspace as primary or fallback language models. Sarvam model rows display the Sarvam provider mark. GPT-6 Luna can also appear in the [post-call extraction model selector](https://dialnexa.com/docs/agent-settings/post-call-analysis.md#post-call-extraction-llm).

Use the API [primary model list](https://dialnexa.com/docs/api-reference/v1/llms/list.md) and [fallback model list](https://dialnexa.com/docs/api-reference/v1/llms/fallback.md) to see which models can fill each role.

## What The Model Selector Does

| Behavior | What users should know |
| - | - |
| Default model | New agents try to select GPT-4o Mini when it is available, otherwise the first available non-deleted model. |
| Pricing preview | The model selector can show `₹x.xx/min` beside each model. |
| Fallback pricing preview | Fallback model choices request the applicable INR per-minute rate from the current workspace plan. If the preview is unavailable, verify the charge in Billing after a test call. |
| Published state | Published versions can disable model changes. Edit a draft when comparing models. |
| Provider logos | The selector visually distinguishes OpenAI, Google, and Groq model families. |
| Settings button | The settings popover controls temperature, fallback LLM, fallback delay, and predictive preprocessing. Prompt Caching appears only for workspaces in its limited rollout. |
| Current Time Awareness | The timezone control tells the agent what local time to use for "today," "tomorrow," business hours, and scheduling windows. |

## Speech To Speech Models

Speech to Speech models are different from cascaded text LLMs. They listen and speak directly, so the dashboard hides separate transcriber, voice model, and Audio Cache controls.

| Model path | What to test |
| - | - |
| OpenAI realtime | Interruption handling, function behavior, welcome timing, and whether the voice fits the caller. |
| Gemini 3.1 Flash Live | Gemini voice fit, automatic activity detection, tool calls, voicemail detection, welcome startup behavior, long-call continuity, and the visible INR per-minute pricing preview. |

Use Speech to Speech for latency-sensitive calls where separate control over STT and TTS is less important than natural turn taking. Use cascaded agents when you need more control over the transcriber, voice provider, fallback STT, Audio Cache, and separate provider costs.

## Temperature

The LLM Temperature slider runs from 0 to 1 in the dashboard. Lower values are better for function calls and structured results.

| Call type | Suggested direction |
| - | - |
| Booking, payments, eligibility, compliance, or structured extraction. | Keep temperature low. Stable arguments matter more than colorful phrasing. |
| Support intake or objection handling. | Start low, then test a moderate value only if responses are too stiff. |
| Knowledge-heavy calls. | Keep temperature low until retrieval and answer quality are proven. |
| Regulated scripts. | Keep temperature low and write explicit allowed and disallowed behavior. |

## Fallback LLM

Fallback LLM is a per-agent setting that can start a backup model after a configured delay. New default agent configuration enables fallback where available, uses Gemini 3.1 Flash Lite as the preferred fallback model, and uses a `200 ms` delay unless the draft saves a different value.

If the primary stream ends without usable content before the fallback delay expires, an enabled fallback starts immediately. The configured delay still applies when the primary is running but slow.

The fallback selector loads pricing for the current workspace plan. The displayed rate helps compare models, but the final call charge can include a separate fallback-model component. Review a test call in Billing before applying the configuration to high-volume traffic.

**1. Pick a strong primary model**

Fallback is not a license to choose a weak primary. Start with the model that best follows your instructions.

**2. Enable fallback for latency, not decoration**

Use fallback when model response delay is a real caller problem.

**3. Set the delay**

Start with the `200 ms` default. Lower values make the fallback race sooner, while higher values give the primary model more time to answer first.

**4. Choose the fallback model**

When fallback is enabled and nothing is selected, DialNexa tries to pick Gemini 3.1 Flash Lite as the default fallback where that model is available.

**5. Check call evidence**

Review whether fallback won, whether the response was correct, and whether the user actually felt less delay.

## Tool Calling Compatibility

When an agent has functions or integration tools, both its primary and fallback LLM must support tool calling. The dashboard disables incompatible model choices, and the API rejects a configuration that pairs tools with an unsupported model.

Predictive preprocessing is turned off while tools are configured so a preprocessed reply cannot bypass a required action. For cascaded Single Prompt Agents, removing the final tool restores the normal predictive preprocessing default. Conversational Flow and Speech to Speech agents follow their own pipeline rules.

## Post-Call Extraction Model

The model used during a live call is not always the same model used for summaries and post-call extraction. DialNexa can run completed-call extraction through a text LLM path even when the live agent uses Speech to Speech.

| Scenario | Behavior |
| - | - |
| Post-call extraction model selected | DialNexa uses the configured extraction model for post-call fields. |
| No extraction model selected | DialNexa falls back to the configured text LLM path for follow-up tasks. |
| Speech to Speech live agent | Post-call extraction switches to a text extraction model instead of trying to use the realtime speech provider for structured extraction. |
| Long or nuanced transcripts | Post-call extraction can use more reasoning budget than live turn generation because it runs after the call. |

For field setup, see [Post-Call Analysis](https://dialnexa.com/docs/agent-settings/post-call-analysis.md).

## Current Time Awareness

Use the current-time timezone control when the agent discusses dates, callbacks, business hours, deadlines, or relative time phrases. The selected timezone is saved on the agent and is included in runtime time context so the model can interpret phrases such as "today," "tomorrow," "in 2 hours," or "after 5 PM" consistently.

![DialNexa Current Time Awareness popover showing the agent timezone selector set to Asia Kolkata.](https://mintcdn.com/dialnexa/HOnVBqIHk6o8-0eg/images/documentation/screenshots/agent-current-time-awareness.png?fit=max\&auto=format\&n=HOnVBqIHk6o8-0eg\&q=85\&s=7f66b8de12ca8fd1ceda403f9f55da93)

For workflow follow-up scheduling, Time nodes still use their own resolved timezone path when parsing DateTime post-call analysis fields. See [Workflow Time Nodes](https://dialnexa.com/docs/workflows/time-nodes.md) for callback scheduling behavior.

## Predictive Preprocessing

Predictive preprocessing can pre-generate likely replies between turns for non-flow agents. It is on by default. The toggle is read-only in the dashboard, so contact DialNexa to turn it off. The toggle is not shown for Conversational Flow Agents because flow behavior is explicit node logic.

| Good fit | Poor fit |
| - | - |
| Repeated scripts, reminders, confirmations, and predictable objection paths. | Calls where the next line depends on a custom function result. |
| Agents with stable prompts and low variation between calls. | Agents with many dynamic variables in almost every sentence. |
| Short replies that commonly repeat. | Long exploratory conversations. |

## Prompt Caching

Prompt Caching can reuse a stable OpenAI prompt prefix across live conversation turns to reduce model latency and cost when the same instructions repeat. It is not available to workspaces by default. It is in a limited rollout; contact DialNexa to ask about access.

| Good fit | Poor fit |
| - | - |
| Large, stable prompts used across many similar calls. | Prompts that change often between calls or versions. |
| Campaigns where the same instructions repeat and only caller data changes. | Custom OpenAI-compatible providers that may reject OpenAI-specific cache fields. |
| OpenAI conversation models where cached-token evidence can be reviewed. | Speech to Speech paths or non-OpenAI live model paths. |

DialNexa only sends prompt cache keys to the real OpenAI provider. The key is tied to the agent and version, then sharded by call so busy campaigns do not overload one cache lane. A cache miss only means the request runs normally. It does not change the response content.

When safe, DialNexa keeps the static prompt prefix stable and sends call-specific values in a separate system message. This helps campaigns reuse the same OpenAI prefix even when each call has different recipient values. The restructure is skipped and the prompt runs normally when any of these limits apply:

* The live model path is not OpenAI.
* An active fallback would send the same messages to a non-OpenAI provider.
* The agent is a Conversational Flow Agent.
* The prompt uses unsupported placeholder patterns such as escaped braces, positional placeholders, format specifications, nested fields, or malformed braces.
* A referenced dynamic value is missing, blank, or contains brace characters.
* A call-specific value would collide with runtime system markers such as time or language context.

Skipping the restructure is not an error. It protects prompt meaning and provider compatibility, but that call may not get the same cache benefit.

## Empty Model Response Recovery

For normal cascaded turns, DialNexa treats whitespace-only, punctuation-only, and emoji-only model output as an empty response. It retries a clean empty response once by default without replaying the same response-cache entry. If the retry is also empty, the agent speaks a short request to repeat in the configured language where a localized message is available instead of leaving the caller in silence.

This recovery does not hide a real provider error, and it does not retry after meaningful speech has already started. Function calls also count as meaningful output. Review the recording and latency evidence when the caller hears a repeat request, because the extra model attempt can make that turn slower.

When a tool call is structurally valid but misses a required argument, OpenAI and compatible cascaded model paths speak a specific clarification such as asking for the missing customer phone number. This clarification also works in raw-token text-to-speech mode. If callers still hear a generic repeat loop, inspect the function schema, required field names, and the exact model output in the call evidence.

## Model Problems And First Fixes

> [accordion] The agent does not call functions correctly
>
> Lower temperature, then improve function descriptions, required fields, examples, and error handling. Change model only after the function schema is clear.

> [accordion] The agent gives shallow answers
>
> Check whether knowledge content was retrieved and whether the prompt asks for the right depth. Then compare OpenAI and Google on the same call script.

> [accordion] The agent is slow
>
> Confirm whether delay comes from transcription, model generation, custom functions, text to speech, or telephony. Use fallback LLM only when the model is actually the slow part.

> [accordion] The agent changes behavior between calls
>
> Reduce temperature, tighten instructions, and remove conflicting prompt sections. Then compare models with the same test script.

> [accordion] The agent asks the caller to repeat after a pause
>
> The model may have returned no meaningful text and exhausted its automatic retry. Review the transcript, model provider, fallback settings, and turn latency before changing the prompt.

## How Model Behavior Affects Integrations

When an agent calls a function or prepares data for a workflow, the model is responsible for deciding when the action is appropriate and which values are safe to pass.

| User goal | Model responsibility | Read next |
| - | - | - |
| Book or reschedule something. | Ask for missing fields before calling the booking action. | [Functions](https://dialnexa.com/docs/agent-settings/functions.md), [Google Calendar](https://dialnexa.com/docs/integrations/googlecalendar.md). |
| Update a CRM. | Separate confirmed caller facts from guesses. | [HubSpot](https://dialnexa.com/docs/integrations/hubspot.md), [Salesforce](https://dialnexa.com/docs/integrations/salesforce.md). |
| Send an email or WhatsApp message. | Avoid promising a message before the required recipient and content are known. | [Email with Resend](https://dialnexa.com/docs/dashboard-integrations/email-with-resend.md), [WhatsApp with Wati](https://dialnexa.com/docs/dashboard-integrations/whatsapp-with-wati.md). |
| Escalate a support case. | Summarize the issue, priority, and promised next step without inventing details. | [Zendesk](https://dialnexa.com/docs/integrations/zendesk.md), [Intercom](https://dialnexa.com/docs/integrations/intercom.md), [Slack](https://dialnexa.com/docs/integrations/slack.md). |

## Recap

Choose a language model after defining the call objective and required behavior. Test prompt adherence, latency, fallback behavior, functions, and difficult caller turns before changing live traffic.

## Related Reading

> [card] [Prompts And Welcome Messages](https://dialnexa.com/docs/agents/prompts-and-welcome-messages.md)
>
> Write the instructions the model follows.

> [card] [Functions](https://dialnexa.com/docs/agent-settings/functions.md)
>
> Give the model safe actions.

> [card] [Custom Functions](https://dialnexa.com/docs/agent-settings/custom-functions.md)
>
> Connect actions to your APIs.

> [card] [Provider Selection Guide](https://dialnexa.com/docs/voice-ai/provider-selection-guide.md)
>
> Choose model, voice, and transcriber together.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.