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

# LLM Configuration

> Configure the language model and temperature for your voice agent

## What is LLM Configuration?

The Language Model (LLM) is the brain of your voice agent, powering conversation understanding, response generation, and decision-making. You can choose which model to use and adjust temperature to tune how consistent or varied the responses are.

<Info>
  **Supported LLM Providers:**

  * **OpenAI** — GPT-5, GPT-4.1, GPT-4o (and Mini/Nano variants)
  * **Gemini** — Gemini 2.5 Pro, Gemini 2.5 Flash
  * **DeepMyst** — Voice-optimized GPT-4.1 models
  * **Groq** — OSS models
  * **Custom** — Self-hosted or third-party models via OpenAI-compatible API
</Info>

## Configuration Parameters

**Model Selection**

Choose the model that fits your performance and latency requirements. Nano/Flash variants are faster and cost less; Pro/full variants offer higher reasoning quality.

**Temperature (0.0 – 1.0)**

Controls randomness in responses. Lower values produce more consistent, predictable outputs; higher values produce more varied, natural-sounding responses. Default is 0.2.

<Note>
  For GPT-5 family models (GPT-5, GPT-5-Mini, GPT-5-Nano), temperature is fixed at 1.0 and cannot be changed.
</Note>

## Getting Started

<CardGroup cols={2}>
  <Card title="Single Prompt Agents" href="/agents/single-prompt/configure-settings" icon="browser">
    Configure LLM in the single prompt agent settings.
  </Card>

  <Card title="Set via API" href="/developers/guides/api-integration" icon="code">
    Configure LLM settings programmatically.
  </Card>
</CardGroup>

## Learn More

<CardGroup cols={2}>
  <Card title="Single Prompt Agents" href="/agents/single-prompt/configure-settings">
    Configure LLM for Single Prompt Agents
  </Card>

  <Card title="Flow Agents" href="/agents/flow-agent/global-settings">
    Set LLM parameters in Flow Agents
  </Card>
</CardGroup>
