Agent LLM Models

An overview of the LLM providers and models you can use with the Voice Agent API.

Defines the LLM (Large Language Model) to be used with your Agent.

📘

You can set your LLM model in the Setting Configuration for your Voice Agent. See the docs for more information.

Supported LLM providers and models

think.provider.typethink.model valuesthink.provider.url valuesthink.provider.headers values
open_aigpt-4o-mininonenone
anthropicclaude-3-haiku-20240307nonenone
groqComing Soon!nonenone
customYOUR_MODEL_NAMEYOUR_LLM_COMPLETIONS_URLArray of Headers to pass with your auth token

Example

{
  "think": {
    "provider": {
      "type": "open_ai"
    },
    "instructions": "this is the LLM System prompt",
    "model": "gpt-4o-mini"
  }
}

Passing a custom LLM through a Cloud Provider

You can pass a custom chat completions URL and headers to set your authorization or api-key etc

{
  "think": {
    "provider": {
      "type": "custom",
      "url": "YOUR_LLM_CHAT_COMPLETIONS_URL",
      "headers": [
        {
          "key": "Authorization",
          "value": "Bearer sk-xxx"
        }
      ]
    },
    "instructions": "this is the LLM System prompt",
    "model": "your-model-name"
  }
}

Azure OpenAI Service

Amazon Bedrock