GitLab Duo Code Suggestions

Web · Windows · Mac · Linux · Self-hosted · Extension · paid plans from $19/mo

Freedom report

Two barsScore 5.7

  • Free tierNo free tier on record
  • Open codeNo open-source code on record
  • Runs widely4 of 6 device platforms
  • DocumentedPlans, terms and facts published

GitLab Duo Code Suggestions completes and generates code within supported editors. It can fill in code blocks, help define function logic, generate tests, and suggest common code such as regular expressions. GitLab lists support for over 14 languages, including C++, C#, Go, Java, JavaScript, Python, Rust, and TypeScript. Supported editors include Visual Studio Code, GitLab Web IDE, Microsoft Visual Studio 2022, JetBrains IDEs, Neovim, and Eclipse. Code Suggestions is available on the GitLab.com Free tier with GitLab Credits and for self-managed GitLab instances through a secure connection to GitLab.com. GitLab says private, non-public customer code stored in GitLab is not used for training and that it does not train generative AI models. Suggestions are scanned to help prevent sensitive information, such as API keys or passwords, from being shared. For Fireworks AI requests, the provider discards inputs and outputs after returning results, except when prompt caching is enabled for Code Suggestions. GitLab warns that high demand may degrade performance or lead to unexpected downtime for its Duo AI features.

Who it is for

It suits developers who want code completion and generation in one of its supported editors. GitLab also lists availability for self-managed instances through a secure connection to GitLab.com.

What is good

  • Supports over 14 programming languages.
  • Works in six listed editors and IDEs.
  • Available on GitLab.com Free with GitLab Credits.
  • Suggestions are scanned for sensitive information.

What to know first

  • Does not provide chat assistance.
  • Does not include a coding agent.
  • High demand may degrade performance or cause downtime.

Freedom251 review

GitLab Duo Code Suggestions: the full review

Code Suggestions focuses on completion and generation in supported editors, with access on the Free tier using GitLab Credits. GitLab notes that availability can be affected by high demand.

Overview

GitLab Duo Code Suggestions is an in-editor coding assistant for developers who want code completion and generation in a range of editors. It suits individuals and teams looking to add help with routine coding work, particularly those already working with GitLab. Its focused scope is the key trade-off: it generates and completes code, but does not offer chat assistance or an autonomous coding agent.

Key features

Code Suggestions can complete code blocks, help shape function logic, generate tests, and propose familiar patterns such as regular expressions. Codebase indexing provides context for those suggestions. This is a useful combination for filling in routine work without changing editors, but it is not a substitute for a conversational assistant: chat assistance, terminal access, and agent mode are absent.

GitLab lists support for over 14 languages, including C++, C#, Go, Java, JavaScript, Python, Rust, and TypeScript. Editors include Visual Studio Code, GitLab Web IDE, Visual Studio 2022 for Windows, JetBrains IDEs, Neovim, and Eclipse. That breadth makes it a plausible fit for varied development teams; developers whose editor is outside that set should not assume compatibility.

Self-managed GitLab instances can use Code Suggestions through a secure connection to GitLab.com. GitLab says private, non-public customer code stored in GitLab is not used as training data and that it does not train generative AI models. For Fireworks AI requests, the provider discards inputs and outputs after returning results, except when prompt caching is enabled for Code Suggestions. Suggestions are scanned to help prevent sensitive information such as passwords or API keys from being shared. GitLab maintains SOC 2 Type 2 reports for GitLab.com and GitLab Dedicated, and ISO/IEC 27001:2022 certification for its SaaS subscriptions, GitLab.com, and GitLab Dedicated. These measures may matter to teams assessing data handling and compliance, but high demand can still cause degraded performance or unexpected downtime for GitLab Duo AI features.

Pricing

Code Suggestions is available on the GitLab.com Free tier using GitLab Credits, making it possible to start without a paid subscription. The Free tier’s access is subject to GitLab Credits, and GitLab warns that service performance can vary with demand.

GitLab Duo Pro costs 19.00 USD per month, billed per user per month. It includes Code Suggestions and organizational controls and is available for SaaS, self-managed, and Dedicated deployments. The per-user billing makes the cost scale with team size; it is the more clearly defined paid step for teams that need organizational controls alongside suggestions.

GitLab Duo Agent Platform has usage-based billing and custom pricing. It is an option for buyers evaluating a broader agent platform, but Code Suggestions itself does not provide agent mode. A free trial is available.

Platforms

Supported environments include extension, Linux, macOS, Windows, web, and self-hosted deployments. The specific editor list spans VS Code, GitLab Web IDE, Visual Studio 2022 for Windows, JetBrains IDEs, Neovim, and Eclipse. Self-managed instances connect securely to GitLab.com rather than keeping the suggestions service entirely local.

Who it's for

Choose Code Suggestions if you want completion and code generation in a supported editor, need a broad selection of languages, or want to use it alongside a self-managed GitLab instance. It is less suitable if your workflow depends on chat-based coding help, terminal operations, or an agent that can act on tasks for you.

Pros and cons

  • Pro: Free-tier access with GitLab Credits offers a low-cost way to use completion and generation.
  • Pro: Codebase indexing, more than 14 listed languages, and a wide editor selection support varied development setups.
  • Pro: GitLab describes training restrictions, sensitive-data scanning, and security certifications relevant to teams with privacy and compliance concerns.
  • Con: No chat assistance, terminal access, or agent mode limits it to a completion-focused role.
  • Con: GitLab warns that high demand can degrade performance or cause unexpected downtime, so availability may be a concern for teams relying on it continuously.
  • Con: Duo Pro is billed per user, and the Agent Platform uses custom, usage-based pricing, so costs may be less attractive for larger teams or buyers needing a predictable Agent Platform price.

Alternatives

For a broader selection of coding tools, browse AI Code Generators. Teams comparing delivery and platform tooling can also explore DevOps Platforms, DevSecOps Platforms, Continuous Integration Software, Mobile CI/CD Software, or Test Flakiness Management Software.

Bitbucket Pipelines is worth considering if you want a free CI option with up to five users, unlimited public and private repositories, and 50 build minutes per month. Buildkite may suit teams looking for a free plan with up to five users, 10 concurrent jobs, and 2,000 Linux vCPU minutes per month. CircleCI is another freemium choice, with a Performance plan starting at 15.00 USD per month and 30,000 credits included free. HyperExecute offers a free plan with 300 minutes of testing, up to two concurrent sessions, and Windows or Linux VMs. Captain is a free OSS option for test-suite partitioning, flaky-test tracking and quarantine, and retrying failed tests. Cypress offers a free Starter plan with 10 users, 500 test results per month, and 100 prompt executions per month. Endform charges 0.01 USD per test minute, with 2,000 free test minutes to start and no monthly minimums. Jenkins is a free alternative for teams seeking CI software.

Verdict

GitLab Duo Code Suggestions is a good fit for developers who want editor-based completion and generation, especially when GitLab is already part of their workflow or self-managed deployment matters. Free-tier access and broad editor support are its strongest reasons to choose it. Look elsewhere if you need an agent, chat-based assistance, terminal access, or more dependable availability under heavy demand.

GitLab Duo Code Suggestions plans and pricing

All plans
GitLab Duo Pro $19/mo per user per month Code Suggestions and organizational controls · available for SaaS, self-managed, and Dedicated about.gitlab.com · 28 Sept 2026
GitLab Duo Agent Platform Not published Usage-based billing docs.gitlab.com · 28 Sept 2026

Compared on AI coding assistants

Free plan
Yes
Agent mode
No

Best GitLab Duo Code Suggestions alternatives

See all 12