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

> Lists the AI models available for agent creation. Returns model identifiers that can be used when creating or updating an agent's configuration.

# List Available Models

For the complete error reference, see [Error Guide](/rest-api/ai-agents-apis/error-codes).


## OpenAPI

````yaml get /ai-agents/agent-builder/agents/available-models
openapi: 3.0.0
info:
  title: AI Agents APIs
  description: API reference for CometChat AI Agents service
  version: '1.0'
servers:
  - url: https://{appId}.api-{region}.cometchat.io/v3
    variables:
      appId:
        default: appId
        description: (Required) App ID
      region:
        enum:
          - us
          - eu
          - in
        default: us
        description: Select Region
security: []
tags:
  - name: ai-agent
    description: ''
paths:
  /ai-agents/agent-builder/agents/available-models:
    get:
      tags:
        - Agent Builder
      summary: List Available Models
      description: >-
        Retrieves the list of AI models available for agents. Use this endpoint
        to discover supported models before creating or updating an agent.


        **Model details:** Each model includes its provider, configuration
        settings, and whether it is the default. The default model is used when
        no model is explicitly specified during agent creation.
      operationId: AgentBuilderController_getAvailableModels
      parameters: []
      responses:
        '200':
          description: List of available AI models
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    model:
                      type: string
                      example: gpt-4o-mini
                    provider:
                      type: string
                      example: openai
                    settings:
                      type: object
                      example: {}
                    default:
                      type: boolean
                      example: false
              example:
                - model: gpt-4o-mini
                  provider: openai
                  settings: {}
                  default: false
                - model: gpt-4o
                  provider: openai
                  settings: {}
                  default: true
                - model: claude-sonnet-4-20250514
                  provider: anthropic
                  settings: {}
                  default: false
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      description: API Key (i.e. Rest API Key from the Dashboard).
      name: apikey
      in: header

````