doc/administration/gitlab_duo/model_selection.md
{{< details >}}
{{< /details >}}
Every GitLab Duo feature has a default large language model (LLM) chosen by GitLab.
GitLab can update this default model to optimize feature performance. Therefore, a feature's model might change without you taking any action.
If you do not want to use the default model for each feature, or have specific requirements, you can choose from an array of other available supported models.
If you select a specific model for a feature, the feature uses that model until you select another.
{{< history >}}
instance_level_model_selection. Enabled by default.instance_level_model_selection removed in GitLab 18.6.{{< /history >}}
You can select a model for a feature that applies to the entire instance. If you don't select a specific model, all GitLab Duo features use the default GitLab model.
[!note] For GitLab Self-Managed instances with an offline license, to change the model for features in the GitLab Duo Agent Platform, you must have the GitLab Duo Agent Platform Self-Hosted add-on.
Prerequisites:
To select a model for a feature: