UiPath Documentation
autopilot
latest
false
Autopilot user guide

Configuring an LLM for Autopilot

Configure your own LLM subscription for Autopilot via the AI Trust Layer.

The AI Trust Layer card in the Admin section of your organization allows you to configure your own subscription for the models Autopilot supports.

To configure your own LLM, you need a connection to the following AI providers, depending on the model you want to incorporate:

  • Amazon Bedrock or Amazon Web Services, for Anthropic models
  • Google Vertex, for Gemini models.
    Important:

    To set up a Gemini model, you need to reach out to your designated UiPath technical account manager.

When you select Autopilot as the product for which you want to configure your own LLM, you must select the feature which will use that model:

Generation

Configure your own LLM for generating automations, expressions, or apps in your Studio projects. You need to override all the default models with your own:

  1. Go to your Admin > AI Trust Layer section of your organization.

  2. In the LLM configurations tab, select the tenant where you want to configure your LLM.

  3. Select Add configuration and provide the following properties:

    1. Product - select Autopilot
    2. Feature - select Generation
  4. Provide the Connections Folder.

  5. For every default LLM Name, configure a new Connector and a Connection for your own model.

Configure a different LLM for reading the context of your current page or project and answering questions, explaining automations, or suggesting improvements. The model you configure overrides the existing model. Autopilot uses a primary model for complex tasks and an optional secondary model for simpler, cost-optimized tasks.

  1. Go to your Admin > AI Trust Layer section of your organization.

  2. In the LLM configurations tab, select the tenant where you want to configure your LLM.

  3. Select Add configuration and provide the following properties:

    1. Product - select Autopilot
    2. Feature - select Chat
  4. Provide the Connections Folder.

  5. Configure your new model.

Important:

If you configure both a primary and secondary model, a tooltip displays both model names and confirms the secondary model is used for optimization. If you configure only the primary model, a warning flags the missing secondary configuration, and the primary model handles all tasks — including simpler ones the system would otherwise offload to a lighter secondary model. Leaving the secondary model unconfigured defaults to a UiPath-owned subscription for Automation Cloud organizations, or may limit chat features such as context compacting for Automation Suite organizations.

For details, refer to Setting up an LLM connection.

For the list of models Autopilot supports and their context-window and output-token limits, refer to Supported models and limits.

The Product and Feature you select here (Autopilot > Generation or Autopilot > Chat) determine which LLM configuration applies. Model hub shows the resulting model, provider, region, and status for products like Test Manager, which is non-selectable there — use the steps on this page (or remove the configuration) to change the model. Model hub shows only the outcome and configuration history.

Important:

You are responsible for the lifecycle of any custom LLM configuration you set up here. When the underlying model is deprecated, you are notified at least 30 days in advance, in-app and by email, and must migrate to a replacement before the deprecation date; otherwise requests through that configuration fail.

For details, refer to Model hub and Managing models in Model hub.

  • Generation
  • Chat

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated