This topic explains how to create and manage custom models to use in AgentControl.
An AgentControl config is a resource that you create in LaunchDarkly. You can use AgentControl to customize, test, and roll out new large language models (LLMs) within your generative AI applications. Within each config, you define one or more variations. Each variation includes a model configuration and uses messages in completion mode or instructions in agent mode. When you create a variation, you have the option to use a standard model, also called a “global” model, from the list provided by LaunchDarkly.
You can also add your own model and set up its parameters. This is called an AI model configuration. After you create an AI model configuration, you can use it in any variation for any config in your project.
You can set both global models and custom models as restricted, which means that no one in your organization can use those model configurations in any config variations. This lets you effectively limit the models that are available in each LaunchDarkly project.
This topic covers the following topics:
You can create an AI model configuration while either creating a config variation or from the AI model configs tab under Project settings.
To create an AI model configuration from a config variation:
To create an AI model configuration from your Project settings page:
To complete the “Add custom model” dialog:
Enter a Name for your AI model configuration.
Select a Provider.
Enter a Model ID.
Enter the token costs:
The token costs are fixed for each model configuration. If model pricing changes, you must create a new model configuration with the new cost. Then update any config variations that use this model.
(Optional) Click + Add suggested parameters. The menu displays model parameters, their types, and their default values.
model section of the LDAIConfig.(Optional) Click + Add custom parameters.
model.custom section of the LDAIConfig.Click Save.
Here is an example:

To view all of the AI model configurations in a project:
You can filter the list by model type and availability:

You can use the search box to find models by entering all or part of the model name or ID.
You can mark any AI model configuration as restricted, which prevents anyone in your organization from using it in any config variations. This lets you effectively limit the models that are available in each LaunchDarkly project.
To restrict an AI model configuration:
To make an AI model configuration available again, click the three-dot overflow menu and select Make available.
To delete an AI model configuration:
You can only delete custom AI model configurations. You cannot delete the global AI model configs provided by LaunchDarkly.
You cannot delete an AI model configuration if it is currently used in a variation for a config.