Agent Platform AI models
- Tier: Premium, Ultimate
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
Every GitLab Duo feature uses a default model. GitLab might update default models to optimize performance. For some features, you can select a different model, which persists until you change it.
Default models
This table lists the default model for each feature in the Agent Platform.
| Feature | Model |
|---|---|
| GitLab Duo Agentic Chat | Claude Sonnet 4.6 Vertex |
| Code Review Flow | Claude Sonnet 4.6 Vertex |
| All other agents | Claude Sonnet 4.5 Vertex |
Supported models
This table lists the models you can select for features in the Agent Platform.
| Model | GitLab Duo Agentic Chat | All other agents |
|---|---|---|
| Claude Sonnet 4 | ||
| Claude Sonnet 4 Vertex | ||
| Claude Sonnet 4.5 | ||
| Claude Sonnet 4.5 Vertex | ||
| Claude Sonnet 4.6 | ||
| Claude Haiku 4.5 | ||
| Claude Opus 4.5 | ||
| Claude Opus 4.6 | ||
| Claude Opus 4.7 | ||
| GPT-5 | ||
| GPT-5 Codex | ||
| GPT-5.2 Codex | ||
| GPT-5.3 Codex | ||
| GPT-5 Mini | ||
| GPT-5.2 |
Select a model for a feature
- Offering: GitLab.com
You can select a model for a feature in a top-level group. The model that you select applies to that feature for all child groups and projects.
Prerequisites:
- You have the Owner role for the group.
- The group that you select models for is a top-level group.
- In GitLab 18.3 or later, if you belong to multiple GitLab Duo namespaces, you must assign a default namespace.
To select a model for a feature:
- In the top bar, select Search or go to and find your group.
- In the left sidebar, select Settings > GitLab Duo.
- Select Configure features.
- Go to the GitLab Duo Agent Platform section.
- Select a model from the dropdown list.
- Optional. To apply the model to all features in the section, select Apply to all.
In the IDE, model selection for GitLab Duo Agentic Chat is applied only when the connection type is set to WebSocket.
To specify a model for the GitLab Duo CLI, see select a model.
Troubleshooting
When selecting models other than the default, you might encounter the following issues.
Model is not available
If you are using the default GitLab model for a GitLab Duo AI-native feature, GitLab might change the default model without notifying the user to maintain optimal performance and reliability.
If you have selected a specific model for a GitLab Duo AI-native feature, and that model is not available, there is no automatic fallback. The feature that uses this model is unavailable.
No default GitLab Duo namespace
When using a GitLab Duo feature with a selected model, you might get an error that indicates that you need to set a default GitLab Duo namespace.
This issue occurs when you belong to multiple GitLab Duo namespaces or work on a project locally that does not have a GitLab remote configured.
To resolve this, set a default GitLab Duo namespace.