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

# List LLM Providers

> Returns a list of available LLM providers

List all available LLM providers. Use the provider's `internal_identifier` with [List LLM Models](/api-reference/v1/misc/list-llm-models) to retrieve available models.

## Response

Returns an array of `LLMProviderItem` objects.

<ResponseField name="id" type="string">
  Provider unique identifier
</ResponseField>

<ResponseField name="name" type="string">
  Provider display name (e.g., "OpenAI", "Anthropic")
</ResponseField>

<ResponseField name="internal_identifier" type="string">
  Internal identifier used in API calls (e.g., `openai`, `anthropic`). Use this value as `model_provider` when creating or updating agents.
</ResponseField>

<ResponseField name="logo" type="string">
  URL to the provider's logo image
</ResponseField>

<ResponseField name="description" type="string">
  Brief description of the provider
</ResponseField>

## Example Request

```bash theme={"dark"}
curl -X GET -H "x-api-key: <your-api-key>" \
  "https://api.xpander.ai/v1/misc/llm_providers"
```

## Notes

* Use the `internal_identifier` value as the `model_provider` field when creating or updating agents
* To see available models for a provider, use [List LLM Models](/api-reference/v1/misc/list-llm-models) with the `internal_identifier`


## OpenAPI

````yaml GET /v1/misc/llm_providers
openapi: 3.1.0
info:
  title: xpander.ai API Service
  description: |2-

        The xpander.ai API Service provides a unified REST API for managing AI agents,
        executing tasks, managing knowledge bases, and integrating with external systems.
        
        Features:
        - Agent Management: Create, update, deploy, and delete AI agents
        - Task Execution: Invoke agents with support for sync, async, and streaming modes
        - Knowledge Bases: Manage knowledge bases and documents for RAG workflows
        - Tools: Discover, connect, and attach tools (connectors, custom functions, MCP servers, sub-agents, workflows) to agents and workflows
        - MCP Integration: Model Context Protocol support for standardized AI interactions
        
        Authentication: All endpoints require authentication via either an API key (`x-api-key`) or an OAuth2 JWT (`Authorization: Bearer <jwt>`).
        
  version: '0.001'
servers:
  - url: https://api.xpander.ai
security: []
paths:
  /v1/misc/llm_providers:
    get:
      tags:
        - API v1
        - Misc
        - LLM Providers
      summary: List Llm Providers
      description: >-
        Returns a list of available LLM providers without their models. Use the
        provider's internal_identifier with GET
        /misc/llm_providers/{provider_identifier}/models to retrieve available
        models.
      operationId: List_LLM_providers_v1_misc_llm_providers_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/LLMProviderItem'
                type: array
                title: Response List Llm Providers V1 Misc Llm Providers Get
      security:
        - APIKeyHeader: []
components:
  schemas:
    LLMProviderItem:
      properties:
        id:
          type: string
          title: Id
          description: Unique identifier for this LLM provider.
        name:
          type: string
          title: Name
          description: >-
            Human-readable display name of the provider (e.g., 'Anthropic',
            'OpenAI').
        internal_identifier:
          type: string
          title: Internal Identifier
          description: >-
            The provider key used in agent configuration. Use this value for the
            agent's model_provider field (e.g., 'anthropic', 'openai',
            'gemini').
        logo:
          type: string
          title: Logo
          description: Logo identifier for the provider's icon.
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Brief description of the provider.
      type: object
      required:
        - id
        - name
        - internal_identifier
        - logo
      title: LLMProviderItem
      description: >-
        Public-facing LLM provider summary (without models).


        Use GET /llm_providers to retrieve this list. To get models for a
        specific

        provider, use GET /llm_providers/{internal_identifier}/models.
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      description: API Key for authentication
      in: header
      name: x-api-key

````