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. Model changes come from the GitLab AI Gateway and take effect regardless of your GitLab version, unless otherwise noted.

For some features, you can select a different model, which persists until you change it or GitLab removes the model from the feature.

Default models

This table lists the default model for each feature in the Agent Platform.

FeatureModel
GitLab Duo Agentic ChatClaude Sonnet 5.5 Gemini Enterprise Agent Platform
Code Review Flow1, 2Claude Sonnet 5.5 Gemini Enterprise Agent Platform
Security Review FlowClaude Sonnet 5.5 Gemini Enterprise Agent Platform
Business Logic Security ScanClaude Sonnet 5.5 Gemini Enterprise Agent Platform
Recommend Reviewers FlowClaude Haiku 5.5 Gemini Enterprise Agent Platform
Vulnerability Context FlowClaude Sonnet 5.5 Gemini Enterprise Agent Platform
GitLab Duo DeveloperClaude Sonnet 5.5 Gemini Enterprise Agent Platform
All other agentsClaude Sonnet 5.5 Gemini Enterprise Agent Platform

Supported models

Model availability can vary by subscription and trial status. For information about model availability during trials, see GitLab Duo Agent Platform trials.

Code Review Flow

The availability of separate model settings for Lite and Standard reviews is controlled by a feature flag. For more information, see the history.

For Code Review Flow, different models are available for each review level.

If you have experiment and beta features turned off, only the models in the Lite column apply.

ModelLite (default)3Standard (beta)
Claude Opus 5.5 Gemini Enterprise Agent PlatformNocheck-sm
Claude Sonnet 4.6check-smNo
Claude Sonnet 5check-smNo
Claude Sonnet 5.5check-smNo
Claude Sonnet 5.5 Gemini Enterprise Agent Platformcheck-smcheck-sm
GPT-5.2check-smNo
GPT-5.3 Codexcheck-smNo

Agentic Chat and other features

This table lists the models you can select for Agentic Chat and other features in the Agent Platform. For Code Review Flow, see the previous table.

ModelGitLab Duo
Agentic Chat
Security Review FlowBusiness Logic Security ScanRecommend Reviewers FlowVulnerability Context FlowAll other agents
Claude Fable 54check-smNoNoNoNocheck-sm
Claude Fable 5.14check-smNoNoNoNocheck-sm
Claude Fable 5.24check-smNocheck-smNoNocheck-sm
Claude Mythos 5.14, 5NoNocheck-smNoNoNo
Claude Mythos 5.24, 5NoNocheck-smNoNoNo
Claude Sonnet 4.6check-smcheck-smcheck-smNocheck-smcheck-sm
Claude Sonnet 5check-smcheck-smcheck-smcheck-smNocheck-sm
Claude Sonnet 5.5check-smcheck-smcheck-smcheck-smcheck-smcheck-sm
Claude Haiku 4.5check-smNoNocheck-smNocheck-sm
Claude Haiku 5.5check-smNoNocheck-smcheck-smcheck-sm
Claude Opus 4.5check-smNoNoNoNocheck-sm
Claude Opus 4.6check-smNoNoNoNocheck-sm
Claude Opus 4.7check-smNoNoNoNocheck-sm
Claude Opus 4.8check-smNoNoNoNocheck-sm
Claude Opus 5check-smNoNoNoNocheck-sm
Claude Opus 5.5check-smcheck-smcheck-smNocheck-smcheck-sm
Gemini 3.5 Flashcheck-smNoNoNoNocheck-sm
Gemini 3.6 Flashcheck-smNoNoNoNocheck-sm
Gemini 3.7 Flashcheck-smNoNoNoNocheck-sm
Gemini 3.8 Flashcheck-smNoNoNoNocheck-sm
Gemini 4 Argoncheck-smNoNoNoNocheck-sm
Gemini 4 Carboncheck-smNoNoNoNocheck-sm
Gemini 4 Hydrogencheck-smNoNoNoNocheck-sm
Gemini 4 Neoncheck-smNoNoNoNocheck-sm
GLM 5.3check-smNoNoNoNocheck-sm
GPT-5check-smNoNoNoNocheck-sm
GPT-5.1check-smNoNoNoNocheck-sm
GPT-5.2check-smcheck-smNoNoNocheck-sm
GPT-5 Codexcheck-smNoNoNoNocheck-sm
GPT-5.2 Codexcheck-smNoNoNoNocheck-sm
GPT-5.3 Codexcheck-smcheck-smNoNoNocheck-sm
GPT-5.4 Minicheck-smNoNoNoNocheck-sm
GPT-5.4 Nanocheck-smNoNoNoNocheck-sm
GPT-5.54check-smNoNoNoNocheck-sm
GPT-5.6 Sol4check-smNoNoNoNocheck-sm
GPT-5.6 Terra4check-smNoNoNoNocheck-sm
GPT-5.6 Luna4check-smNoNoNoNocheck-sm
GPT-6 Astra4check-smNoNoNoNocheck-sm
GPT-6 Sol4check-smNoNoNoNocheck-sm
GPT-6 Luna4check-smNoNocheck-smNocheck-sm
GPT-6.1 Sol4check-smNoNoNoNocheck-sm
GPT-6.1 Terra4check-smNoNoNoNocheck-sm
GPT-6.2 Astra4check-smNoNoNoNocheck-sm
GPT-6.2 Sol4check-smNoNoNoNocheck-sm
Kimi K3check-smNoNoNoNocheck-sm
Kimi K3.1 Procheck-smNoNoNoNocheck-sm
MiniMax M3check-smNoNoNoNocheck-sm

Select a model for a feature

  • Offering: GitLab.com

You can select a model to be the default model for a feature in a top-level group. The model that you select applies to that feature for all child groups and projects.

To set a model for an instance on GitLab Self-Managed or GitLab Dedicated, see model selection.

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.

Select a model for Agentic Chat

To select a model for Agentic Chat:

  1. In the top bar, select Search or go to and find your group.

  2. In the left sidebar, select Settings > GitLab Duo.

  3. Under Model selection, select Manage models.

  4. Go to the GitLab Duo Agentic Chat section.

  5. From the Default model dropdown list, select a model. This model is pinned by default and cannot be changed by users unless you selected the GitLab default model. In that case, all GitLab-managed models are available to users.

  6. Optional. To restrict Agentic Chat to specific models:

    1. Under the Default model dropdown list, select Configure.

    2. In the Available models: Agentic Chat dialog, select the Restrict to specific models checkbox.

    3. Select the models you want Agentic Chat to use. To select every model, select the Select all models checkbox. To clear all selected models, select Clear all models.

      The default model is always available to users and cannot be cleared. To save your changes, you must select at least one model in addition to the default model.

    4. Select Save.

    To restrict Agentic Chat to specific models, you must select a GitLab-managed model as the default model.

The restriction also applies to external agents that use GitLab-managed credentials. It also applies to third-party tools, such as OpenCode, that use a GitLab AI Gateway token. If one of these agents or tools requests a model that is not in the list, the request fails with an HTTP 403 error. Add the models that these agents use to the list. Some agents use more than one model. For example, Claude Code also uses a smaller model for background tasks.

A change to the list applies to new tokens. Existing tokens can stay valid for up to one hour.

Select a model for other agentic features

To select a model for other agentic features:

  1. In the top bar, select Search or go to and find your group.
  2. In the left sidebar, select Settings > GitLab Duo.
  3. Under Model selection, select Manage models.
  4. Find the feature you want to configure under GitLab Duo Agent Platform.
  5. Select a model from the dropdown list to set as the default model.
  6. Optional. To apply a model to multiple features in a section, from the Bulk update dropdown list, select a model. The model applies only to the features it is compatible with.
  7. Optional. To switch all features in a section back to their default models, select Reset to default.

To specify a model for the GitLab Duo CLI, see select a model.

Selecting the right model

For many use cases, starting with a faster, more cost-effective model like Claude Haiku 4.5 or GPT-5.4 Mini can be the optimal approach. For this approach:

  1. Select Claude Haiku 4.5 or GPT-5.4 Mini.
  2. Test your use case thoroughly.
  3. Evaluate if performance meets your requirements.
  4. Upgrade only if necessary for specific capability gaps.

You can use this approach for the following:

  • Exploratory or high-volume tasks
  • Applications with strict latency requirements
  • Cost-sensitive implementations

Removed models

A deprecated model works until GitLab removes it from the feature. To see when GitLab deprecated or removed a model, see the history of supported models.

When GitLab removes a model from a feature, any group or instance that selected the model uses the default model of the feature instead. To use a different model, select it from the dropdown list.

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 GitLab removes a model you selected for a feature, the feature uses its default model. For more information, see removed models.

Frontier models are not available during a trial

If you are using a GitLab Duo Agent Platform trial, you cannot use some frontier models because they are not included in trials.

To resolve this, either:

For more information, see GitLab Duo Agent Platform trials.

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.

Model selection for Agentic Chat in IDEs does not work

When selecting a model for Agentic Chat in your IDE, you might find that model selection does not work.

To resolve this:

  1. Check that the connection type for your IDE is set to WebSocket.
  2. Ask your network administrator to make sure WebSocket traffic to your GitLab instance is allowed.

  1. For GitLab 19.0 or earlier, Code Review Flow uses the default LLM set for GitLab Duo Code Review, the non-agentic version. ↩︎

  2. Lite and Standard reviews use the same default model. ↩︎

  3. In GitLab 19.0 and earlier, Code Review Flow can use only the models available for GitLab Duo Code Review, the non-agentic version. ↩︎

  4. This model is subject to limited vendor-side data retention. ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎

  5. Available only for top-level groups that GitLab has enabled. If this model is not listed for your group, it is not enabled. To request access, contact your GitLab account team. To set up the scan, see business logic scanning. ↩︎ ↩︎